-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add run_constrained for optional dependencies #187
Comments
This UserWarning is correct, because you specified numexpr=2.7. Version constraints doesn't apply when installing optional dependencies individually. For example, |
@rootsmusic, I (think I) understand the reason for the warning, what I'm asking here is if it's reasonable to modify the conda package to avoid the warning (basically to prevent the user from being able to build an environment that would emit a warning). |
@rootsmusic It looks like conda-main added the constraints. It would be helpful if conda-forge did as well.
Using conda-main:
As pandas deprecated support for sqlalchemy 1.4 with pandas 2.2.0, only the conda-main solve results in a working environment. https://pandas.pydata.org/docs/dev/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies |
@jefsayshi Will #211 resolve this issue? |
@rootsmusic It doesn't appear that any |
Comment:
Currently, installing
pandas
doesn't constrain the versions of any of the 'optional-dependencies' specified in the project's metadata. This means its easy to find yourself in situations where importingpandas
results in warnings being emitted (slightly contrived example):Is it reasonable to add
requirements/run_constrained
to this recipe to map the version constraints for the optional dependencies?I worry about the scope of this, given that there are ~35 optional dependencies, all with version constraints, and I don't want to burden the maintainers of this feedstock with more grunt work.
The text was updated successfully, but these errors were encountered: