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

Support python >3.11 #12

Open
vkkodali opened this issue Feb 22, 2023 · 3 comments
Open

Support python >3.11 #12

vkkodali opened this issue Feb 22, 2023 · 3 comments

Comments

@vkkodali
Copy link

I am getting the following error when I try to install using the PyPI package:

$ pip install omark
...
  × 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-7w1t_vv2/numba_98834001f5d44d129c594eaf45126ad3/setup.py", line 51, in <module>
          _guard_py_ver()
        File "/tmp/pip-install-7w1t_vv2/numba_98834001f5d44d129c594eaf45126ad3/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.2; only versions >=3.7,<3.11 are supported.
      [end of output]

Is there anything specific that requires the python version to be <3.11? Can the requirements be amended to include python versions above 3.11 as well?

@YanNevers
Copy link
Collaborator

YanNevers commented Feb 23, 2023

Hello @vkkodali.

It appears this is due to Numba, a dependency of OMAmer, not being yet compatible with Python 3.11. It should be fixed with the release of the version 0.57 of Numba. (see numba/numba#8304 for more details).
Unfortunately, we can't amend this requirement since it inherited from a dependency. However, we will keep this issue open until the release of Numba 0.57, which is expected to be happen soon. In the meantime, we recommend using OMArk with earlier versions of Python.

@YanNevers YanNevers reopened this Feb 23, 2023
@vkkodali
Copy link
Author

Thank you @YanNevers
For now, I am able to use python 3.9.16.

@YanNevers
Copy link
Collaborator

Now compatible with Python 3.11.
Compatibility issue with Python 3.12 for the same reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants