You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds support for Python 3.13 in the package metadata. There
were no code changes required.
As usual, we had to add some constraints to our dependencies directly.
Namely:
- `pyarrow` only supports Python 3.13 from v18.0.0 onwards
- `typing-extensions ` only supports Python 3.13 from v4.12.0 onwards
Direct dependencies are hard enforced by pip when installing the
package, and users won't be able to install if their project requires
an older version.
Additionally, I had to add constraints to two transitive dependencies:
- `frozenlist` only supports Python 3.13 from v1.5.0 onwards
- `importlib-resources` only supports Python 3.13 from v6.0.0 onwards
Transitive dependencies are NOT envorced by pip when installing the
package, and users need to manually add constraints to them. This is not
our problem: it's a problem with the dependency spec of downstream
packages. This is why our `constraints/` folder exists.
All unit/integration tests are passing.
Copy file name to clipboardExpand all lines: constraints/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@
2
2
3
3
All files in this directory specify transitive dependency constraints for usage in our test environments. The files in this directory are _not_ shipped with the package, and users should specify those constraints themselves, according to what works in their own system. Learn more about pip constraints [here](https://pip.pypa.io/en/stable/user_guide/#constraints-files).
4
4
5
-
This is useful for specifying different minimum versions of a package for Python 3.12 and 3.9, since older versions might not support the newest Python and vice-versa.
5
+
This is useful for specifying different minimum versions of a package for Python 3.13 and 3.9, since older versions might not support the newest Python and vice-versa.
6
6
7
7
For direct dependencies, we solve this by using the `python_version`[environment marker](https://peps.python.org/pep-0508/#environment-markers) in our dependencies.
0 commit comments