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

packaging not listed in requirements.txt #106

Closed
douglasgscofield opened this issue Aug 18, 2023 · 2 comments
Closed

packaging not listed in requirements.txt #106

douglasgscofield opened this issue Aug 18, 2023 · 2 comments
Labels
dependencies Pull requests that update a dependency file fixed in dev Issue resolved but not released yet

Comments

@douglasgscofield
Copy link

I'm installing IsoQuant as part of a module system on a large HPC cluster, and I use virtualenv (not conda) to isolate python dependencies. pyfaidx uses from packaging.version import Version to check the Biopython version, and while this is part of a standard python installation (and would be within a conda environment populated with a python) it is not installed within a virtualenv populated by pip3 install -r requirements.txt. This results in an error cascade that ends with

ImportError: BioPython >= 1.73 must be installed to read block gzip files.

because pyfaidx cannot check the Biopython version installed within the virtualenv.

Ideally should be marked as a dependency by pyfaidx, but adding it to IsoQuant's requirement.txt here solves the problem as well.

@andrewprzh
Copy link
Collaborator

Dear @douglasgscofield

Thanks for the report -- will add!

Best
Andrey

@andrewprzh andrewprzh added the dependencies Pull requests that update a dependency file label Aug 18, 2023
@andrewprzh andrewprzh added the fixed in dev Issue resolved but not released yet label Aug 31, 2023
@andrewprzh
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file fixed in dev Issue resolved but not released yet
Projects
None yet
Development

No branches or pull requests

2 participants