Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install deephaven-core on Python 3.11 #3081

Closed
devinrsmith opened this issue Nov 14, 2022 · 0 comments · Fixed by #3083
Closed

Can't install deephaven-core on Python 3.11 #3081

devinrsmith opened this issue Nov 14, 2022 · 0 comments · Fixed by #3083
Assignees
Labels
bug Something isn't working python
Milestone

Comments

@devinrsmith
Copy link
Member

deephaven-core can't currently be installed on Python 3.11 due to the following error:

$ pip install deephaven-core
Collecting deephaven-core
  Using cached deephaven_core-0.18.0-py3-none-any.whl (105 kB)
Collecting jpy>=0.12.0
  Using cached jpy-0.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (344 kB)
Collecting deephaven-plugin
  Using cached deephaven_plugin-0.3.0-py3-none-any.whl (8.5 kB)
Collecting numpy
  Using cached numpy-1.23.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting pandas
  Using cached pandas-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.0 MB)
Collecting numba
  Using cached numba-0.56.4.tar.gz (2.4 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-qcjzmnyi/numba_af4f93a35e374f3a9575409510fed843/setup.py", line 51, in <module>
          _guard_py_ver()
        File "/tmp/pip-install-qcjzmnyi/numba_af4f93a35e374f3a9575409510fed843/setup.py", line 48, in _guard_py_ver
          raise RuntimeError(msg.format(cur_py, min_py, max_py))
      RuntimeError: Cannot install on Python version 3.11.0; only versions >=3.7,<3.11 are supported.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

This appears to be an issue with our dependency on numba, which doesn't have Python 3.11 support yet, see numba/numba#8304.

@devinrsmith devinrsmith added bug Something isn't working python labels Nov 14, 2022
@devinrsmith devinrsmith added this to the Nov 2022 milestone Nov 14, 2022
@devinrsmith devinrsmith self-assigned this Nov 14, 2022
devinrsmith added a commit to devinrsmith/deephaven-core that referenced this issue Nov 14, 2022
Modifies the dependency on numba for python versions < 3.11

Follow-up deephaven#3082

Fixes deephaven#3081
devinrsmith added a commit that referenced this issue Nov 15, 2022
Modifies the dependency on numba for python versions < 3.11

Follow-up #3082

Fixes #3081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant