-
Notifications
You must be signed in to change notification settings - Fork 387
Add python 3.13 support #2658
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
base: main
Are you sure you want to change the base?
Add python 3.13 support #2658
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ classifiers = [ | |
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| ] | ||
| packages = [ | ||
| { include = "pyiceberg" }, | ||
|
|
@@ -66,7 +67,10 @@ pyarrow = { version = ">=17.0.0", optional = true } | |
| google-auth = { version = ">=2.4.0", optional = true } | ||
| pandas = { version = ">=1.0.0,<3.0.0", optional = true } | ||
| duckdb = { version = ">=0.5.0,<2.0.0", optional = true } | ||
| ray = { version = ">=2.10.0,<=2.44.0", optional = true } | ||
| ray = [ | ||
| { version = ">=2.10.0,<3.0.0", python = ">=3.10", optional = true }, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We used to have a wider upper bound of 3.0.0 like this, and the tight upper bound was added as part of: #2071 (comment). I was wondering if you were about to have a single entry since on a clean dep resolve Poetry usually chooses the highest compatible version which should technically work across all python releases. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess this would help people who are stuck on older ray releases. But I can remove it for sure. |
||
| { version = ">=2.45.0", python = ">=3.13", optional = true } | ||
| ] | ||
| python-snappy = { version = ">=0.6.0,<1.0.0", optional = true } | ||
| thrift = { version = ">=0.13.0,<1.0.0", optional = true } | ||
| boto3 = { version = ">=1.24.59", optional = true } | ||
|
|
@@ -343,6 +347,8 @@ markers = [ | |
| # Turns a warning into an error | ||
| filterwarnings = [ | ||
| "error", | ||
| # Python 3.13 sqlite3 module ResourceWarnings for unclosed database connections | ||
| "ignore:unclosed database in <sqlite3.Connection object*:ResourceWarning", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As you seeing this with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thats interesting, we should fix this for the tests There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did try to fix the warnings by closing the database, and some of that is in the PR, but they started breaking other legitimate tests so I ignored it like other projects mostly have (mentioned in the issue linked above) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can fix this as a follow up pr |
||
| ] | ||
|
|
||
| [tool.black] | ||
|
|
||
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.
nit: i dont think we need to add an upperbound limit here