-
Notifications
You must be signed in to change notification settings - Fork 218
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 support for Python 3.13 #3490
base: main
Are you sure you want to change the base?
Conversation
Python 3.13 has been released on 7 Oct 2024, changelog is at https://docs.python.org/3.13/whatsnew/3.13.html
Still waiting on a few packages upstream to add Python 3.13 support:
|
Also need to revert the changes in 92d5945. |
optional-packages: ' contextily geopandas ipython pyarrow rioxarray sphinx-gallery' | ||
optional-packages: ' contextily geopandas ipython rioxarray sphinx-gallery' |
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.
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.
We can't remove PyArrow in the Python 3.13 job, because we need both pandas<2.2+pyarrow (in Python 3.11) and pandas>=2.2+pyarrow (in Python 3.12 or 3.13) to test the behavior changes in pands 2.2.
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.
I was thinking we could do (after #3606) Python 3.11+pandas=2.1+pyarrow; Python 3.12+pandas=2.2+pyarrow, but anyways, this won't work yet because mamba install
is still complaining about some incompatible depedencies (looks like something on dvc
):
The following packages are incompatible
├─ dvc >=3.56.0 is installable and it requires
| ...
│ └─ scmrepo >=3.3.8,<4 , which requires
│ └─ asyncssh >=2.13.1,<3 , which requires
│ └─ python-gssapi >=1.2.0 with the potential options
│ ├─ python-gssapi [1.6.10|1.6.11|1.6.12|1.6.13|1.6.9] would require
│ │ └─ python_abi 3.6 *_pypy36_pp73, which can be installed (as previously explained);
│ ├─ python-gssapi [1.6.10|1.6.11|...|1.7.0] would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ ├─ python-gssapi [1.6.10|1.6.11|...|1.8.1] would require
│ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ ├─ python-gssapi [1.6.10|1.6.11|...|1.8.3] would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ ├─ python-gssapi [1.6.10|1.6.11|...|1.9.0] would require
│ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ ├─ python-gssapi [1.6.12|1.6.13|...|1.7.3] would require
│ │ └─ python_abi 3.7 *_pypy37_pp73, which can be installed (as previously explained);
│ ├─ python-gssapi [1.7.2|1.7.3|...|1.9.0] would require
│ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ ├─ python-gssapi [1.7.3|1.8.0|1.8.1|1.8.2] would require
│ │ └─ python_abi 3.8 *_pypy38_pp73, which can be installed (as previously explained);
│ ├─ python-gssapi [1.7.3|1.8.0|1.8.1|1.8.2|1.8.3] would require
│ │ ├─ pypy3.9 >=7.3.13 , which can be installed (as previously explained);
│ │ └─ python_abi 3.9 *_pypy39_pp73, which can be installed (as previously explained);
│ ├─ python-gssapi [1.8.2|1.8.3|1.9.0] would require
│ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ ├─ python-gssapi [1.8.2|1.8.3|1.9.0] would require
│ │ └─ python_abi 3.12.* *_cp312, which can be installed (as previously explained);
│ ├─ python-gssapi 1.8.2 would require
│ │ └─ pypy3.8 >=7.3.11 , which can be installed (as previously explained);
│ └─ python-gssapi 1.8.2 would require
│ └─ pypy3.9 >=7.3.11 , which can be installed (as previously explained);
└─ python 3.13** is not installable because there are no viable options
├─ python 3.13.0 conflicts with any installable versions previously reported;
└─ python [3.13.0rc1|3.13.0rc2|3.13.0rc3] would require
└─ _python_rc, which does not exist (perhaps a missing channel).
Wait for conda-forge/python-gssapi-feedstock#32.
@@ -3,7 +3,7 @@ channels: | |||
- conda-forge | |||
- nodefaults | |||
dependencies: | |||
- python=3.12 | |||
- python>=3.10 |
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.
Note that this has changed from python=3.12
to python>=3.10
to folllow SPEC 0 (same with NumPy, pandas and xarray lines below).
Description of proposed changes
Python 3.13 has been released on 7 Oct 2024, changelog is at https://docs.python.org/3.13/whatsnew/3.13.html
Previous PR for Python 3.12 at #2711
Fixes #
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash command is:
/format
: automatically format and lint the code