-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
patch both xarray and erddapy for pandas 2.0 #426
patch both xarray and erddapy for pandas 2.0 #426
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/core this is ready for review! I'm not sure what is causing the diff in
Looks like some library used in the diff got updated and is "fixing/updating" the comparison there. |
Latest diff:
|
LGTM. How do we decide how far back to go? |
This one will patch all that is less-equal 2023.1.0 and pandas is pinned with if record_name == "xarray" and packaging.version.Version(record["version"]) <= packaging.version.Version("2023.1.0"):
_replace_pin("pandas >=1.3", "pandas >=1.3,<2", deps, record) That is patching This one only patches if record_name == "xarray" and packaging.version.Version(record["version"]) == packaging.version.Version("2023.2.0"):
_replace_pin("pandas >=1.4", "pandas >=1.4,<2", deps, record) |
Usually, upper bounds need to exclude prereleases. There are examples in the patches code of what those look like, usually ending in |
@dcherian you don't publish xarray pre-releases, right? Is that something we need to worry about here? |
I mean the pandas upper bound at |
Not for the versions discussed here. The last one was 2022.06.0 IIRC |
I really hate the treatment pre/dev releases got in PyPI and what that forces us to do :-/ Latest diff:
|
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.
LGTM. Maybe we can add timestamp checks too but for now let's fix the issue.
- a patch is on its way at ioos/erddapy#300 and conda-forge/conda-forge-repodata-patches-feedstock#426
- a patch is on its way at ioos/erddapy#300 and conda-forge/conda-forge-repodata-patches-feedstock#426
Thanks all! |
Checklist
python show_diff.py
and posted the output as part of the PR.