Skip to content
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

Test Python 3.13 in CI #481

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
env:
PYTHON: ${{ matrix.python-version }}
steps:
Expand Down
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
Expand All @@ -46,7 +47,8 @@ dependencies = [
"opentelemetry-instrumentation >= 0.41b0",
"rich >= 13.4.2",
"protobuf >= 4.23.4",
"typing-extensions >= 4.1.0",
'typing-extensions>=4.1.0; python_version < "3.13"',
'typing-extensions>=4.12.2; python_version >= "3.13"',
Comment on lines +50 to +51
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Becase typing-extensions < 4.12.2 doesn't support 3.13

"tomli >= 2.0.1; python_version < '3.11'",
"executing >= 2.0.1",
]
Expand Down Expand Up @@ -95,7 +97,7 @@ dev-dependencies = [
"pytest-pretty",
"pydantic @ git+https://github.com/pydantic/pydantic",
"requests",
"sqlalchemy",
"sqlalchemy; python_version < '3.13'",
"pandas>=2.1.2; python_version >= '3.9'",
"pandas; python_version < '3.9'",
"attrs",
Expand Down Expand Up @@ -129,7 +131,8 @@ dev-dependencies = [
"coverage[toml]>=7.5.0",
"psycopg[binary]",
"psycopg2-binary",
"asyncpg",
# Re when we can support for 3.13, see: https://github.com/MagicStack/asyncpg/issues/1181
"asyncpg; python_version < '3.13'",
"pymysql",
"cryptography",
"cloudpickle>=3.0.0",
Expand All @@ -140,7 +143,8 @@ dev-dependencies = [
"testcontainers>3.7.1; python_version >= '3.9'",
"testcontainers==3.7.1; python_version < '3.9'",
"mysql-connector-python~=8.0",
"pyarrow>=17.0.0",
# Upgrade blocked by https://github.com/apache/arrow/issues/43519
"pyarrow>=17.0.0; python_version < '3.13'",
# It looks like numpy didn't use to have `requires-python`, so we need to specify the version.
"numpy>=2.0; python_version >= '3.9' and python_version < '3.12'",
"numpy<1.24.4; python_version < '3.9'",
Expand Down
Loading