Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"README.md": "21b6af5d2c11ca92be799a611365291e00be66fee36e0e94876c35ff323358ec",
"pyproject.toml": "41e367adbc95e6d6198626246c8645aa2d156325785209e97f64267a712c5b75",
"pyproject.toml": "0d9158aab01dd1a034aa2bca0a69aa2d247433509c1ebd153b837c95ae79606b",
"src/endpoint_rules_client/__init__.py": "f85901beed783e493475b1ccde6669b030eafa7a9b98f796d9a62e3d584e5286",
"src/endpoint_rules_client/_private/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/endpoint_rules_client/_private/endpoints.py": "f5bec5c0c17f9ec3fab86ea81c1472b1771118e6064f52cbb58cf85d89e09b20",
Expand Down
2 changes: 1 addition & 1 deletion codegen-output-py/endpoint-rules-client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy-test~=0.5.0",
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/aws-json-1-0/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/aws-json-1-1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/aws-query/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/ec2-query/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/my-handwritten-json-model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/my-handwritten-model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/rest-json-1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/rest-xml-with-namespace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/rest-xml/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
2 changes: 1 addition & 1 deletion codegen-output/rpcv2-cbor/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_cbor~=0.5.0",
"smithy_test~=0.5.0"
]
Expand Down
2 changes: 1 addition & 1 deletion codegen-output/rpcv2-json/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ awscrt = [
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"smithy_test~=0.5.0"
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public final class SmithyPythonDependency {
*/
public static final PythonDependency PYTEST_ASYNCIO = new PythonDependency(
"pytest-asyncio",
">=1.3.0,<1.4.0",
">=1.3.0,<2.0.0",
Type.TEST_DEPENDENCY,
false);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "dependency",
"description": "Allow pytest-asyncio 1.x releases up to 2.0 in generated packages' test dependencies."
}
2 changes: 1 addition & 1 deletion packages/smithy-python/src/smithy_python/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def for_group(self, group: DependencyGroup) -> tuple[Dependency, ...]:

PYTEST_ASYNCIO = Dependency(
package="pytest-asyncio",
specifier=">=1.3.0,<1.4.0",
specifier=">=1.3.0,<2.0.0",
group="test",
)
"""Async test support for generated client tests."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def test_endpoint_tests_set_config_and_keyword_arguments(tmp_path: Path) -> None
assert "mark.skip" not in tests
project = (tmp_path / "pyproject.toml").read_text()
assert '"smithy-test~=0.5.0",' in project
assert '"pytest-asyncio>=1.3.0,<1.4.0",' in project
assert '"pytest-asyncio>=1.3.0,<2.0.0",' in project


def test_endpoint_tests_skip_inputs_the_client_cannot_express(tmp_path: Path) -> None:
Expand Down
2 changes: 1 addition & 1 deletion packages/smithy-python/tests/unit/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ def test_runtime_dependency_catalog() -> None:
assert HATCHLING == Dependency("hatchling", "", "build")
assert SMITHY_TEST == Dependency("smithy-test", "~=0.5.0", "test")
assert PYTEST == Dependency("pytest", ">=9.0.3,<10.0.0", "test")
assert PYTEST_ASYNCIO == Dependency("pytest-asyncio", ">=1.3.0,<1.4.0", "test")
assert PYTEST_ASYNCIO == Dependency("pytest-asyncio", ">=1.3.0,<2.0.0", "test")
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = []
[dependency-groups]
test = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"pytest-cov>=6.0.0",
"freezegun>=1.5.1",
]
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading