-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
bad conda solve with pandas 2 #7716
Comments
We need to do a repodata patch for the current xarray. I'll get to it soon. |
@dcherian do you mind taking a look at conda-forge/conda-forge-repodata-patches-feedstock#426? Please check the versions patched and the applied patch! Thanks! |
Do we have a plan to support pandas 2? |
The cftime-related ones are still pandas related, but hopefully should be straightforward to address. |
CI says these are the tests we'd need to fix:
Edit: one more on windows:
Edit2: the doctests also fail:
|
Eagerly awaiting a resolution to this, as the newest Pyleoclim release will be requiring pandas >=2.0, which will make it incompatible with xarray as things stand. |
Chiming in from the pandas side on those failures, I think they are all expected https://pandas.pydata.org/docs/whatsnew/v2.0.0.html namely
|
In that case it could be reasonable to mimic the pattern in test_groupby and mark the failing tests with a |
Yes they are. We just haven't had the time to fix things. |
For For And finally, I'm not sure what to do with |
Should be fixed with the various repodata patches |
I'm still running into this today when using only conda-forge
When I add defaults the problem goes away channels:
- conda-forge
- defaults |
can you share a bit more about the environment you're trying to create? Is that by chance a |
This was the environment, solved on M1 Mac name: coiled
channels:
- conda-forge
- defaults
dependencies:
- python==3.10
- dask
- dask-ml
- coiled
- pyarrow
- s3fs
- matplotlib
- ipykernel
- dask-labextension
- xgboost
- pandas=2
- optuna
- xarray
- geogif
- zarr
- pip
- pip:
- git+https://github.com/optuna/optuna I can try to minify this in a bit, although I'm on airport wifi right now, and it has started to kick me off, I suspect due to these sorts of activities. |
I'm on a train wifi, so not really better. However, I think this is because |
That makes sense. Just following up, but this fails today: name: test-1
channels:
- conda-forge
dependencies:
- xarray
- pandas=2 It sounds like this will work itself out though and no further work here needs to be done (unless someone wants to go press some green buttons on conda-forge somewhere) |
What happened?
Pandas 2 is out.
We have a
pandas<2
pin for our latest release, butmamba
is now returningxarray=2023.1.0
andpandas=2.0
which is making cf-xarray and flox tests fail.It looks like any project that tests
resample
without pinning pandas will fail.I opened the issue here for visibility. It seems we might need a repodata patch to disallow
pandas<2
?cc @ocefpaf
What did you expect to happen?
No response
Minimal Complete Verifiable Example
No response
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
The text was updated successfully, but these errors were encountered: