-
-
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 constraints to meta.yaml #212
base: main
Are you sure you want to change the base?
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please rerender |
@h-vetinari or @lithomas1 is there anything that I need to do to get this merged? I would prefer that it gets merged before another pandas version is released so that the run constraints will be added to it. |
I'm not up to date with the extra-installs that pandas offers. The constraints are probably an OK fix, though it reduces the amount of legal environments that pandas can be installed in. Better would be to create equivalent outputs here where e.g. But ultimately you'll have to figure this out with the maintainers of this feedstock, which doesn't include me; I'm just helping out here and there. |
See also pandas-dev/pandas#52490 |
I agree that it will reduce the number of solves, but the ones reduced are only legal until you try to use a pandas function that relies on one of them. My example in issue #187 is sqlalchemy 1.4 and pandas 2.2 This PR will at least align conda-forge with the conda main channel. While subpackages could end up being the long term solution, there does not seem to be consensus around it yet. |
I'm taking a break from pandas maintenance this summer. I'll cycle back to this in a couple weeks, please ping if I don't. |
Looking again, I think this just needs a bump of the build number. (CI is red at the moment, so this wouldn't be mergeable until the next release anyways so maybe the bump is unnecessary and we just wait for the next release) |
I am fine with waiting for the next release, which is why I didn't bump the build number. However, I will defer to your preference, so just let me know what you want me to do. |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
- align with constraints on conda main channel - https://pandas.pydata.org/docs/dev/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
To what extent do we want to add those constraints? This might not be the majority of use cases, but AFAIU adding those constraints would make it impossible to create an environment in such a case? |
It would stop them from using pandas>=2.2 with the older sqlalchemy. They could still use the older versions of pandas. That is a trade-off with this implementation. And while they may be fine if they don't currently use the sqlalchemy integrations in pandas, as soon as they try to (eg |
@lithomas1 Can this get merged? I noticed that 2.2.3 was released without it. |
I think I was happy with the PR the way it is. @jorisvandenbossche |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)Resolves #187
Summary of Changes: