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

problem with specific version of numpy #5

Open
Petr-Hlavenka opened this issue May 2, 2022 · 1 comment
Open

problem with specific version of numpy #5

Petr-Hlavenka opened this issue May 2, 2022 · 1 comment

Comments

@Petr-Hlavenka
Copy link

Setup.py specifies exact version of numpy.

'numpy==1.19.5'

is there a strong reason why? It causes problems with the conflict resolution and cannot be installed on python 3.10+ because that is not compatible with the numpy-1.19.5 at all.

Can we have instead this boundary?

'numpy>=1.19.5'
@sgoadhouse
Copy link
Owner

The reason for exactly 1.19.5 being specified is that I was attempting to maintain minimal support for python 3.6 as pyvisa does. It appears that numpy > 1.19.5 is not compatible with python 3.6 & 3.7 but if you specify >=1.19.5 and it is python 3.6, the latest numpy will attempt to be installed and it will fail.

However, I discovered that I can specify ==1.19.5 for python <3.8 and >=1.19.5 for python >= 3.8, which is what I did.

I also fixed an issue where I specified pyvisa-py>=0.5.1 but 0.5.1 has since been yanked since I last edited this and produces warnings/errors when installing. That should be fixed now by specifying pyvisa-py>=0.5.2.

Try it out and let me know how it works.

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