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

list oldest-supported-numpy as a build dependency #229

Merged
merged 2 commits into from
Nov 5, 2022
Merged

list oldest-supported-numpy as a build dependency #229

merged 2 commits into from
Nov 5, 2022

Conversation

aryarm
Copy link
Contributor

@aryarm aryarm commented Nov 5, 2022

Hi @chrchang,

Our team uses pgenlib and noticed an intermittent issue when installing it with pip. We've found that a binary incompatibility can occur when the version of numpy used to build pgenlib is newer than the version used when running pgenlib. We think the solution is to list the oldest-supported-numpy package as a build-time dependency instead of numpy.

See the README for oldest-supported-numpy and the numpy documentation for more information on why this is advisable.

See CAST-genomics/haptools#138 for our example instance of a binary incompatibility and a more detailed explanation of our problem in plain terms.

Thank you for reviewing and considering this!

so that we can be compatible with python 3.11
@chrchang chrchang merged commit f5af25f into chrchang:master Nov 5, 2022
@aryarm aryarm deleted the patch-1 branch November 6, 2022 03:36
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

Successfully merging this pull request may close these issues.

2 participants