From d22611a2fee8c4c2f91a0dbc8dbfd0575acf0547 Mon Sep 17 00:00:00 2001 From: Justin Van Patten Date: Wed, 26 Aug 2020 09:31:08 -0700 Subject: [PATCH 1/3] Bump python requests version dependency This library guarantees compatibility between minor version updates. --- CHANGELOG.md | 1 + provider/pkg/gen/schema.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fe889fd5a..97a285aa86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Add type annotations to Python SDK for API Extensions, Helm, Kustomize, and YAML. (https://github.com/pulumi/pulumi-kubernetes/pull/1259) - Update k8s package deps to v0.18.8. (https://github.com/pulumi/pulumi-kubernetes/pull/1265) - Move back to upstream json-patch module. (https://github.com/pulumi/pulumi-kubernetes/pull/1266) +- Bump python requests version dependency. (https://github.com/pulumi/pulumi-kubernetes/pull/1274) ## 2.4.3 (August 14, 2020) diff --git a/provider/pkg/gen/schema.go b/provider/pkg/gen/schema.go index c27ad3153b..c7efc27fd6 100644 --- a/provider/pkg/gen/schema.go +++ b/provider/pkg/gen/schema.go @@ -256,7 +256,7 @@ Use the navigation below to see detailed documentation for each of the supported pkg.Language["python"] = rawMessage(map[string]interface{}{ "requires": map[string]string{ "pulumi": ">=2.0.0,<3.0.0", - "requests": ">=2.21.0,<2.22.0", + "requests": ">=2.21,<3.0", "pyyaml": ">=5.1,<5.2", }, "moduleNameOverrides": modToPkg, From 5101093e504922bd982774c2281848914024271a Mon Sep 17 00:00:00 2001 From: Levi Blackstone Date: Wed, 26 Aug 2020 10:39:13 -0600 Subject: [PATCH 2/3] Build changes --- provider/cmd/pulumi-resource-kubernetes/schema.json | 2 +- sdk/python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/cmd/pulumi-resource-kubernetes/schema.json b/provider/cmd/pulumi-resource-kubernetes/schema.json index 83957a2c72..2282660d4f 100644 --- a/provider/cmd/pulumi-resource-kubernetes/schema.json +++ b/provider/cmd/pulumi-resource-kubernetes/schema.json @@ -37760,7 +37760,7 @@ "requires": { "pulumi": "\u003e=2.0.0,\u003c3.0.0", "pyyaml": "\u003e=5.1,\u003c5.2", - "requests": "\u003e=2.21.0,\u003c2.22.0" + "requests": "\u003e=2.21,\u003c3.0" } } } diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 649759e828..525a16e34c 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -55,7 +55,7 @@ def readme(): 'parver>=0.2.1', 'pulumi>=2.0.0,<3.0.0', 'pyyaml>=5.1,<5.2', - 'requests>=2.21.0,<2.22.0', + 'requests>=2.21,<3.0', 'semver>=2.8.1' ], zip_safe=False) From c3e3588b2fa6f235c299587a7fd253334e690930 Mon Sep 17 00:00:00 2001 From: Levi Blackstone Date: Wed, 26 Aug 2020 16:32:12 -0600 Subject: [PATCH 3/3] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90083d4512..4cf24e0d43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### Improvements - Switch Helm v3 logic to use native library. (https://github.com/pulumi/pulumi-kubernetes/pull/1263) +- Bump python requests version dependency. (https://github.com/pulumi/pulumi-kubernetes/pull/1274) ## 2.5.0 (August 26, 2020) @@ -13,7 +14,6 @@ - Add type annotations to Python SDK for API Extensions, Helm, Kustomize, and YAML. (https://github.com/pulumi/pulumi-kubernetes/pull/1259) - Update k8s package deps to v0.18.8. (https://github.com/pulumi/pulumi-kubernetes/pull/1265) - Move back to upstream json-patch module. (https://github.com/pulumi/pulumi-kubernetes/pull/1266) -- Bump python requests version dependency. (https://github.com/pulumi/pulumi-kubernetes/pull/1274) ## 2.4.3 (August 14, 2020)