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

setuptools and use_2to3 #599

Closed
jeramiahsmith opened this issue Nov 12, 2021 · 4 comments
Closed

setuptools and use_2to3 #599

jeramiahsmith opened this issue Nov 12, 2021 · 4 comments

Comments

@jeramiahsmith
Copy link

Wanted to bring up a minor issues with completing an install of the precompiled binary. It looks like an upgrade of setuptools lost compatibility with some code involving " use_2to3 " using the default version that's installed by pip. changing to setuptools==57 seems to fix the issue though.

@glennhickey
Copy link
Collaborator

Yeah, thanks. I guess we should probably document this better -- we've had to make a similar change in our CI scripts here
https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/.gitlab-ci.yml#L28-L32

I think this is on the Toil side (@adamnovak ?) but, if I'm not mistaken, only seems to affect some buggy Python versions?

@jeramiahsmith
Copy link
Author

jeramiahsmith commented Nov 12, 2021 via email

@adamnovak
Copy link
Collaborator

I'm not sure what the issue is on the Toil side here. On Ubuntu 20.04, using the system Python 3.8, doing virtualenv --python python3 venv, . venv/bin/activate, and pip install toil produces an apparently-working Toil for me (although it does complain that some of the dependencies' dependencies conflict, which is tracked in DataBiosphere/toil#3889).

It looks like use_2to3 is dead on purpose and will never work again; is there a package in the Toil dependency tree that needs it that Cactus wants us to rip out?

@glennhickey
Copy link
Collaborator

This should be fixed in the latest release, which uses a newer python/toil. Please open again if it isn't.

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

3 participants