Repository navigation
chore: prepare Python SDK 3.0.2 release #917
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
4 commits
Select commit
Hold shift + click to select a range
1d70381
chore: prepare Python SDK 3.1.0 release
zhongkechen db37e61
test: reuse wheel verification for version checks
zhongkechen 8494900
fix(testing): require core empty-error preservation
zhongkechen b547e17
chore: prepare Core 3.0.2 release
zhongkechen 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
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
2 changes: 1 addition & 1 deletion
2
...-durable-execution-sdk-python-otel/src/aws_durable_execution_sdk_python_otel/__about__.py
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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # SPDX-FileCopyrightText: 2025-present Amazon.com, Inc. or its affiliates. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| __version__ = "2.0.0" | ||
| __version__ = "2.1.0" |
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
2 changes: 1 addition & 1 deletion
2
...le-execution-sdk-python-testing/src/aws_durable_execution_sdk_python_testing/__about__.py
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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # SPDX-FileCopyrightText: 2025-present Amazon.com, Inc. or its affiliates. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| __version__ = "1.4.0" | ||
| __version__ = "1.4.1" | ||
|
zhongkechen marked this conversation as resolved.
Resolved
|
||
28 changes: 28 additions & 0 deletions
28
packages/aws-durable-execution-sdk-python-testing/tests/package_metadata_test.py
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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| """Protect the Core compatibility boundary for empty-error persistence.""" | ||
|
|
||
| from pathlib import Path | ||
| import tomllib | ||
|
|
||
| from packaging.requirements import Requirement | ||
| import pytest | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("dependency_source", ["runtime", "test"]) | ||
| def test_core_dependency_requires_empty_error_preservation( | ||
| dependency_source: str, | ||
| ) -> None: | ||
| package_root = Path(__file__).resolve().parents[1] | ||
| metadata = tomllib.loads((package_root / "pyproject.toml").read_text()) | ||
| dependencies = { | ||
| "runtime": metadata["project"]["dependencies"], | ||
| "test": metadata["tool"]["hatch"]["envs"]["test"]["dependencies"], | ||
| }[dependency_source] | ||
| requirements = { | ||
| requirement.name: requirement for requirement in map(Requirement, dependencies) | ||
| } | ||
| core = requirements["aws-durable-execution-sdk-python"] | ||
|
|
||
| # These are fixed compatibility fixtures, not the current release versions. | ||
| # Core 3.0.1 loses empty errors on reload; Core 3.0.2 first preserves them. | ||
| assert not core.specifier.contains("3.0.1") | ||
| assert core.specifier.contains("3.0.2") |
2 changes: 1 addition & 1 deletion
2
packages/aws-durable-execution-sdk-python/src/aws_durable_execution_sdk_python/__about__.py
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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # SPDX-FileCopyrightText: 2025-present Amazon.com, Inc. or its affiliates. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| __version__ = "3.0.1" | ||
| __version__ = "3.0.2" |
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.