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

ubuntu-22.04-python3 #37

Open
ahmadhussein7 opened this issue Dec 19, 2023 · 1 comment
Open

ubuntu-22.04-python3 #37

ahmadhussein7 opened this issue Dec 19, 2023 · 1 comment

Comments

@ahmadhussein7
Copy link

it is not working, I got this error:

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Coral is currently compatible only with Python 2.
[end of output]

@cgevans
Copy link

cgevans commented Dec 19, 2023

For some reason, I have this repository watched for messages.

As the message states, Coral only works with Python 2, and you're running Python 3.

Out of curiosity, I did play around a bit with the code to see how difficult it would be to update it. The Python2→3 situation doesn't seem that bad. Generally:

  • 2to3 gets a lot of the code to import.
  • The cython extension just needs to have a more recent cython run on it, then it compiles.
  • nosetests/nose no longer works with python ≥3.12, and replacing this is potentially a nuisance.
  • biopython made a number of backwards-incompatible changes.
  • there are probably other backward-incompatible library changes.

The quick results of my playing around are in https://github.com/cgevans/coral/tree/python3 . If someone wanted to spend some time updating this for Python 3, it probably wouldn't be that difficult.

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