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

Setting specific package versions may not be the best idea. #47

Open
aramirezreyes opened this issue Apr 20, 2022 · 2 comments · May be fixed by #49
Open

Setting specific package versions may not be the best idea. #47

aramirezreyes opened this issue Apr 20, 2022 · 2 comments · May be fixed by #49
Assignees
Labels
bug Something isn't working

Comments

@aramirezreyes
Copy link

Currently setup.py shows:

    install_requires=[
        "xarray==2022.3.0",
        "numba==0.55.1",
        "numpy==1.22.3",
    ],

Unfortunately this will most certainly conflict with existing environments. For example #44. A more sensible option would be to specify compatible versions using ">=" instead of "==".

@aramirezreyes aramirezreyes linked a pull request Apr 20, 2022 that will close this issue
dgilford added a commit that referenced this issue Aug 10, 2022
Ensure that the requirements are equal or greater than, following suggestion in #47
@dgilford
Copy link
Owner

dgilford commented Aug 10, 2022

Hi @aramirezreyes ! Thanks for this idea. I've incorporated it into the most recent fix for this installation problem. Please see the commit at 36b4164. Would you be willing to test on your end to check that it works?

@burlen
Copy link

burlen commented Sep 30, 2022

I had this problem too. we work around by telling pip --no-dependencies when installing tcpyPI. In our case we are currently using numpy 1.19. tcpyPI seems to work fine with that version of numpy. We use numba 0.53.1 (no reason except that was current when we wrote the install script). We do not use xarray. I wonder what specifically do you need from numpy version 1.22.3? Would it be possible to relax the numpy version requirement slightly? If there is no specific features from numpy/numba then removing the version number will increase compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants