Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for Python 3.14 beta#4825

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Bibo-Joshi merged 11 commits intomasterfrom3.14
Jun 19, 2025
Merged

Add support for Python 3.14 beta#4825

Bibo-Joshi merged 11 commits intomasterfrom3.14
Jun 19, 2025

Conversation

harshil21
Copy link
Member

Also adds pytz to the test dependency group since it was impossible to run the test suite without it.

Tested locally with uv's python 3.14, and with JIT enabled. Also confirmed that test official passes on 3.14 with the changes to annotations.

@harshil21harshil21 added the 🔗 pythonrelated technology: python labelJun 13, 2025
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for Python 3.14 beta by updating configuration files and dependency lists, ensuring compatibility with the latest version. Key changes include updating the pytest distributed execution option in the tests documentation, modifying dependency definitions in pyproject.toml to include Python 3.14–specific variants (including a temporary pydantic dependency and retaining pytz for testing), and updating the GitHub workflow to include a Python 3.14 beta version in the testing matrix.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

FileDescription
tests/README.rstUpdated pytest-xdist option from "--dist=loadgroup" to "--dist=worksteal".
pyproject.tomlAdded Python 3.14 classifier and adjusted dependency definitions for new version support.
.github/workflows/unit_tests.ymlIncluded Python 3.14 beta in the test matrix and removed manual installation of pytz.
Comments suppressed due to low confidence (3)

tests/README.rst:45

  • [nitpick] Ensure that the use of '--dist=worksteal' is supported by the installed version of pytest-xdist and that any relevant documentation is updated accordingly.
$ pytest -n auto --dist=worksteal

pyproject.toml:116

  • [nitpick] Consider clarifying this comment to indicate that pytz is retained solely for backward compatibility in testing, helping users understand its role despite deprecation elsewhere.
# We've deprecated support pytz, but we still need it for testing that it works with the library.

.github/workflows/unit_tests.yml:64

  • After removing the manual installation of pytz, please verify that all testing environments receive the correct dependencies so tests relying on pytz pass reliably.
# need to manually install pytz here, because it's no longer in the optional reqs

Copy link
Member

@Bibo-JoshiBibo-Joshi left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@Bibo-JoshiBibo-Joshi merged commitb15507f intomasterJun 19, 2025
31 checks passed
@Bibo-JoshiBibo-Joshi deleted the 3.14 branchJune 19, 2025 18:18
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 27, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

@Bibo-JoshiBibo-JoshiBibo-Joshi approved these changes

Assignees
No one assigned
Labels
🔗 pythonrelated technology: python
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@harshil21@Bibo-Joshi

[8]ページ先頭

©2009-2025 Movatter.jp