-
Notifications
You must be signed in to change notification settings - Fork 143
Support python 3.14 and deprecate python 3.9 #885
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
246956a
Set python test matrix to 3.14 to validate new version behavior
tconley1428 513c82b
Set python test matrix to 3.14 to validate new version behavior
tconley1428 47524f1
Set python test matrix to 3.14 to validate new version behavior
tconley1428 1d67642
Set python test matrix to 3.14 to validate new version behavior
tconley1428 5fb5223
Set ABI3 compat
tconley1428 73cf6b1
Merge branch 'main' into python_314_ci
tconley1428 c04bab9
Update ci.yml
tconley1428 ffe4c74
Merge remote-tracking branch 'origin/main' into python_314_ci
tconley1428 e690433
Update dependencies and skip litellm
tconley1428 9f1bb2c
Merge remote-tracking branch 'origin/main' into python_314_ci
tconley1428 25c1d48
Ignore new mypy errors
tconley1428 6fc134a
Formatting
tconley1428 06f867f
Fix runtime error with linecache changes
tconley1428 5de0afa
Fix type suppressions
tconley1428 176463f
Fix test
tconley1428 ccfe001
Merge remote-tracking branch 'origin/main' into python_314_ci
tconley1428 adcc6a6
Replace standard CI runs
tconley1428 4041c42
Remove 3.9 checks
tconley1428 6d763b8
Move proto generation to python 3.10
tconley1428 926898e
Remove commented out test matrix
tconley1428 c4b66ab
Update tests/contrib/openai_agents/test_openai.py
tconley1428 22cbbde
AI assisted conversion of typing imports
tconley1428 dfa82e8
Temp run build_binaries to validate
tconley1428 31a882d
Revert "AI assisted conversion of typing imports"
tconley1428 62c406b
Keep cibuildwheel change
tconley1428 7b1d773
Merge branch 'main' into python_314_ci
tconley1428 c6e1ffc
Bump py03 compat
tconley1428 ffc9b64
Remove build binaries
tconley1428 bb581ea
Removed PR trigger from the wrong run
tconley1428 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name = "temporalio" | |
| version = "1.18.1" | ||
| description = "Temporal.io Python SDK" | ||
| authors = [{ name = "Temporal Technologies Inc", email = "[email protected]" }] | ||
| requires-python = ">=3.9" | ||
| requires-python = ">=3.10" | ||
| readme = "README.md" | ||
| license = { file = "LICENSE" } | ||
| keywords = ["temporal", "workflow"] | ||
|
|
@@ -21,8 +21,7 @@ opentelemetry = ["opentelemetry-api>=1.11.1,<2", "opentelemetry-sdk>=1.11.1,<2"] | |
| pydantic = ["pydantic>=2.0.0,<3"] | ||
| openai-agents = [ | ||
| "openai-agents>=0.3,<0.4", | ||
| "eval-type-backport>=0.2.2; python_version < '3.10'", | ||
| "mcp>=1.9.4, <2; python_version >= '3.10'", | ||
| "mcp>=1.9.4, <2", | ||
| ] | ||
|
|
||
| [project.urls] | ||
|
|
@@ -35,7 +34,7 @@ Documentation = "https://docs.temporal.io/docs/python" | |
| dev = [ | ||
| "cibuildwheel>=2.22.0,<3", | ||
| "grpcio-tools>=1.48.2,<2", | ||
| "mypy==1.4.1", | ||
| "mypy==1.18.2", | ||
| "mypy-protobuf>=3.3.0,<4", | ||
| "psutil>=5.9.3,<6", | ||
| "pydocstyle>=6.3.0,<7", | ||
|
|
@@ -51,7 +50,8 @@ dev = [ | |
| "pytest-cov>=6.1.1", | ||
| "httpx>=0.28.1", | ||
| "pytest-pretty>=1.3.0", | ||
| "openai-agents[litellm]>=0.3,<0.4", | ||
| "openai-agents>=0.3,<0.4; python_version >= '3.14'", | ||
| "openai-agents[litellm]>=0.3,<0.4; python_version < '3.14'", | ||
| "googleapis-common-protos==1.70.0", | ||
| ] | ||
|
|
||
|
|
@@ -112,7 +112,7 @@ filterwarnings = [ | |
|
|
||
| [tool.cibuildwheel] | ||
| before-all = "pip install protoc-wheel-0" | ||
| build = "cp39-win_amd64 cp39-manylinux_x86_64 cp39-manylinux_aarch64 cp39-macosx_x86_64 cp39-macosx_arm64" | ||
| build = "cp310-win_amd64 cp310-manylinux_x86_64 cp310-manylinux_aarch64 cp310-macosx_x86_64 cp310-macosx_arm64" | ||
| build-verbosity = 1 | ||
|
|
||
| [tool.cibuildwheel.macos] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.