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

feat: add support for Python 3.13 #3850

Merged
merged 40 commits into from
Jan 8, 2025
Merged

feat: add support for Python 3.13 #3850

merged 40 commits into from
Jan 8, 2025

Conversation

cofin
Copy link
Member

@cofin cofin commented Nov 9, 2024

Description

This PR implements support for Python 3.13.

Note

  • Python 3.8 continues to be supported with the existing msgspec implementation, while all other versions prefer the pre-built litestar wheels.
  • There are no Python 3.13 prebuilt wheels for psycopg[binary]. If you rely on this for development, you'll need to have the postgres development libraries installed
  • picologging does not currently support Python 3.13. These tests are skipped automatically.
  • uses an updated pytest-asyncio. Once the branch has been merged upstream, we can remove this test dependency.
  • Running make install will still install using Python 3.12. This is done to ensure we don't get additional bug reports due to build dependencies missing. If you want to use python 3.13, run uv sync --all-extras --dev --python 3.13

Closes

@github-actions github-actions bot added area/ci This PR involves changes to the CI/Infra area/dependencies This PR involves changes to the dependencies size: small type/feat pr/internal labels Nov 9, 2024
@cofin cofin marked this pull request as ready for review December 15, 2024 17:27
@cofin cofin requested review from a team as code owners December 15, 2024 17:27
@cofin cofin changed the title feat: 3.13 testing feat: add support for Python 3.13 Dec 15, 2024
@github-actions github-actions bot added area/docs This PR involves changes to the documentation area/logging size: medium and removed size: small labels Dec 15, 2024
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
tests/helpers.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
@cofin
Copy link
Member Author

cofin commented Dec 30, 2024

Breaking off a few smaller PRs that are unrelated but caused errors based on linting and environment updates.

#3918 #3917 #3916

@github-actions github-actions bot added size: small and removed size: medium area/logging area/docs This PR involves changes to the documentation labels Dec 30, 2024
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.34%. Comparing base (2fb6f6b) to head (592ad1e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3850   +/-   ##
=======================================
  Coverage   98.34%   98.34%           
=======================================
  Files         347      347           
  Lines       15727    15727           
  Branches     1738     1738           
=======================================
  Hits        15467    15467           
  Misses        124      124           
  Partials      136      136           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pyproject.toml Show resolved Hide resolved
@cofin
Copy link
Member Author

cofin commented Jan 5, 2025

For reference on the pytest-asyncio issues, please see this PR

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Copy link

sonarqubecloud bot commented Jan 8, 2025

Copy link

github-actions bot commented Jan 8, 2025

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3850

@cofin cofin merged commit f1f4c37 into main Jan 8, 2025
28 checks passed
@cofin cofin deleted the msgspec-13 branch January 8, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci This PR involves changes to the CI/Infra area/dependencies This PR involves changes to the dependencies pr/internal size: small type/feat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants