From 0c07997383913ce8c6f0c81e3d67925326f75a36 Mon Sep 17 00:00:00 2001 From: Lucas McDonald Date: Mon, 6 Jan 2025 12:57:50 -0800 Subject: [PATCH] chore(Python): Restrict poetry-core to <2.0.0 (#757) --- TestModels/Aggregate/runtimes/python/pyproject.toml | 2 +- TestModels/CodegenPatches/runtimes/python/pyproject.toml | 2 +- TestModels/Constraints/runtimes/python/pyproject.toml | 2 +- TestModels/Constructor/runtimes/python/pyproject.toml | 2 +- TestModels/Dependencies/runtimes/python/pyproject.toml | 2 +- TestModels/Documentation/runtimes/python/pyproject.toml | 2 +- TestModels/Errors/runtimes/python/pyproject.toml | 2 +- TestModels/Extendable/runtimes/python/pyproject.toml | 2 +- TestModels/Extern/runtimes/python/pyproject.toml | 2 +- TestModels/LanguageSpecificLogic/runtimes/python/pyproject.toml | 2 +- TestModels/LocalService/runtimes/python/pyproject.toml | 2 +- TestModels/MultipleModels/runtimes/python/pyproject.toml | 2 +- TestModels/Positional/runtimes/python/pyproject.toml | 2 +- TestModels/Refinement/runtimes/python/pyproject.toml | 2 +- TestModels/Resource/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleBlob/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleBoolean/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleDouble/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleEnum/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleEnumV2/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleInteger/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleLong/runtimes/python/pyproject.toml | 2 +- .../SimpleTypes/SimpleString/runtimes/python/pyproject.toml | 2 +- TestModels/Union/runtimes/python/pyproject.toml | 2 +- TestModels/aws-sdks/ddb/runtimes/python/pyproject.toml | 2 +- TestModels/aws-sdks/ddbv2/runtimes/python/pyproject.toml | 2 +- TestModels/aws-sdks/kms/runtimes/python/pyproject.toml | 2 +- TestModels/aws-sdks/kmsv2/runtimes/python/pyproject.toml | 2 +- TestModels/aws-sdks/s3/runtimes/python/pyproject.toml | 2 +- .../StandardLibrary/runtimes/python/pyproject.toml | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/TestModels/Aggregate/runtimes/python/pyproject.toml b/TestModels/Aggregate/runtimes/python/pyproject.toml index c316e7f0d9..df6c01c315 100644 --- a/TestModels/Aggregate/runtimes/python/pyproject.toml +++ b/TestModels/Aggregate/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ smithy-dafny-standard-library = {path = "../../../dafny-dependencies/StandardLib pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/CodegenPatches/runtimes/python/pyproject.toml b/TestModels/CodegenPatches/runtimes/python/pyproject.toml index 929dc8a477..708e2e1e90 100644 --- a/TestModels/CodegenPatches/runtimes/python/pyproject.toml +++ b/TestModels/CodegenPatches/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Constraints/runtimes/python/pyproject.toml b/TestModels/Constraints/runtimes/python/pyproject.toml index d915072fee..e2458d4012 100644 --- a/TestModels/Constraints/runtimes/python/pyproject.toml +++ b/TestModels/Constraints/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Constructor/runtimes/python/pyproject.toml b/TestModels/Constructor/runtimes/python/pyproject.toml index 26cbf173cd..4891490393 100644 --- a/TestModels/Constructor/runtimes/python/pyproject.toml +++ b/TestModels/Constructor/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ smithy-dafny-standard-library = { path = "../../../dafny-dependencies/StandardLi pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Dependencies/runtimes/python/pyproject.toml b/TestModels/Dependencies/runtimes/python/pyproject.toml index 7bfcba1cec..063e72c51b 100644 --- a/TestModels/Dependencies/runtimes/python/pyproject.toml +++ b/TestModels/Dependencies/runtimes/python/pyproject.toml @@ -26,5 +26,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Documentation/runtimes/python/pyproject.toml b/TestModels/Documentation/runtimes/python/pyproject.toml index 86ce0d31f1..f17173173b 100644 --- a/TestModels/Documentation/runtimes/python/pyproject.toml +++ b/TestModels/Documentation/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Errors/runtimes/python/pyproject.toml b/TestModels/Errors/runtimes/python/pyproject.toml index 58de6999a2..599ac40177 100644 --- a/TestModels/Errors/runtimes/python/pyproject.toml +++ b/TestModels/Errors/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Extendable/runtimes/python/pyproject.toml b/TestModels/Extendable/runtimes/python/pyproject.toml index 3dda156150..b548822104 100644 --- a/TestModels/Extendable/runtimes/python/pyproject.toml +++ b/TestModels/Extendable/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Extern/runtimes/python/pyproject.toml b/TestModels/Extern/runtimes/python/pyproject.toml index f04a9d3eb5..b2933305db 100644 --- a/TestModels/Extern/runtimes/python/pyproject.toml +++ b/TestModels/Extern/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/LanguageSpecificLogic/runtimes/python/pyproject.toml b/TestModels/LanguageSpecificLogic/runtimes/python/pyproject.toml index f822669abd..670cd1925c 100644 --- a/TestModels/LanguageSpecificLogic/runtimes/python/pyproject.toml +++ b/TestModels/LanguageSpecificLogic/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/LocalService/runtimes/python/pyproject.toml b/TestModels/LocalService/runtimes/python/pyproject.toml index 54bc084e09..79ab5971b5 100644 --- a/TestModels/LocalService/runtimes/python/pyproject.toml +++ b/TestModels/LocalService/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/MultipleModels/runtimes/python/pyproject.toml b/TestModels/MultipleModels/runtimes/python/pyproject.toml index e4b6f438bc..abcace4cdf 100644 --- a/TestModels/MultipleModels/runtimes/python/pyproject.toml +++ b/TestModels/MultipleModels/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Positional/runtimes/python/pyproject.toml b/TestModels/Positional/runtimes/python/pyproject.toml index 2880a0bb5f..a17263ebac 100644 --- a/TestModels/Positional/runtimes/python/pyproject.toml +++ b/TestModels/Positional/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Refinement/runtimes/python/pyproject.toml b/TestModels/Refinement/runtimes/python/pyproject.toml index 241e642020..30898e31e5 100644 --- a/TestModels/Refinement/runtimes/python/pyproject.toml +++ b/TestModels/Refinement/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Resource/runtimes/python/pyproject.toml b/TestModels/Resource/runtimes/python/pyproject.toml index a01ce737bc..2c60614763 100644 --- a/TestModels/Resource/runtimes/python/pyproject.toml +++ b/TestModels/Resource/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleBlob/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleBlob/runtimes/python/pyproject.toml index c94ead4a44..b56b2657e1 100644 --- a/TestModels/SimpleTypes/SimpleBlob/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleBlob/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleBoolean/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleBoolean/runtimes/python/pyproject.toml index 3c57673d34..eaab1ffa37 100644 --- a/TestModels/SimpleTypes/SimpleBoolean/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleBoolean/runtimes/python/pyproject.toml @@ -20,5 +20,5 @@ smithy-dafny-standard-library = {path = "../../../../dafny-dependencies/Standard pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleDouble/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleDouble/runtimes/python/pyproject.toml index ac6f9f5a84..3530acec4e 100644 --- a/TestModels/SimpleTypes/SimpleDouble/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleDouble/runtimes/python/pyproject.toml @@ -21,6 +21,6 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleEnum/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleEnum/runtimes/python/pyproject.toml index 53581c761f..2d34d7726c 100644 --- a/TestModels/SimpleTypes/SimpleEnum/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleEnum/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleEnumV2/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleEnumV2/runtimes/python/pyproject.toml index c7fa254f4c..9d6cc1bb91 100644 --- a/TestModels/SimpleTypes/SimpleEnumV2/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleEnumV2/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleInteger/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleInteger/runtimes/python/pyproject.toml index 98f5aa44ed..89a7e5e8c7 100644 --- a/TestModels/SimpleTypes/SimpleInteger/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleInteger/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleLong/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleLong/runtimes/python/pyproject.toml index 9d733cf0b2..04d0901052 100644 --- a/TestModels/SimpleTypes/SimpleLong/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleLong/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/SimpleTypes/SimpleString/runtimes/python/pyproject.toml b/TestModels/SimpleTypes/SimpleString/runtimes/python/pyproject.toml index fee31428d2..463ad9d797 100644 --- a/TestModels/SimpleTypes/SimpleString/runtimes/python/pyproject.toml +++ b/TestModels/SimpleTypes/SimpleString/runtimes/python/pyproject.toml @@ -21,5 +21,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/Union/runtimes/python/pyproject.toml b/TestModels/Union/runtimes/python/pyproject.toml index 1c0ca68453..bbe2e615c9 100644 --- a/TestModels/Union/runtimes/python/pyproject.toml +++ b/TestModels/Union/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/aws-sdks/ddb/runtimes/python/pyproject.toml b/TestModels/aws-sdks/ddb/runtimes/python/pyproject.toml index 3cefaceda4..c1995a89e5 100644 --- a/TestModels/aws-sdks/ddb/runtimes/python/pyproject.toml +++ b/TestModels/aws-sdks/ddb/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/aws-sdks/ddbv2/runtimes/python/pyproject.toml b/TestModels/aws-sdks/ddbv2/runtimes/python/pyproject.toml index 3cefaceda4..c1995a89e5 100644 --- a/TestModels/aws-sdks/ddbv2/runtimes/python/pyproject.toml +++ b/TestModels/aws-sdks/ddbv2/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/aws-sdks/kms/runtimes/python/pyproject.toml b/TestModels/aws-sdks/kms/runtimes/python/pyproject.toml index 87e062b899..db5a61b9a4 100644 --- a/TestModels/aws-sdks/kms/runtimes/python/pyproject.toml +++ b/TestModels/aws-sdks/kms/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/aws-sdks/kmsv2/runtimes/python/pyproject.toml b/TestModels/aws-sdks/kmsv2/runtimes/python/pyproject.toml index 87e062b899..db5a61b9a4 100644 --- a/TestModels/aws-sdks/kmsv2/runtimes/python/pyproject.toml +++ b/TestModels/aws-sdks/kmsv2/runtimes/python/pyproject.toml @@ -22,5 +22,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/aws-sdks/s3/runtimes/python/pyproject.toml b/TestModels/aws-sdks/s3/runtimes/python/pyproject.toml index d76d1df845..d1face08c1 100644 --- a/TestModels/aws-sdks/s3/runtimes/python/pyproject.toml +++ b/TestModels/aws-sdks/s3/runtimes/python/pyproject.toml @@ -19,5 +19,5 @@ smithy-dafny-standard-library = {path = "../../../../dafny-dependencies/Standard pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/TestModels/dafny-dependencies/StandardLibrary/runtimes/python/pyproject.toml b/TestModels/dafny-dependencies/StandardLibrary/runtimes/python/pyproject.toml index 6edb11b837..c5d2a0ff18 100644 --- a/TestModels/dafny-dependencies/StandardLibrary/runtimes/python/pyproject.toml +++ b/TestModels/dafny-dependencies/StandardLibrary/runtimes/python/pyproject.toml @@ -18,5 +18,5 @@ DafnyRuntimePython = "^4.7.0" pytest = "^7.4.0" [build-system] -requires = ["poetry-core"] +requires = ["poetry-core<2.0.0"] build-backend = "poetry.core.masonry.api"