diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 69eb19a..511722b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.20.0" + ".": "1.20.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 7a06e22..85c7c65 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 90 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-b0b2bad50557aa0fe95d42cd97c6b45e8c45f6f257950048545faafafc851a17.yml openapi_spec_hash: 4e26fcff8efa06e31f3b2bfc191a7006 -config_hash: 2b42d138d85c524e65fa7e205d36cc4a +config_hash: 32503026a45db991d0d102f25af40a77 diff --git a/CHANGELOG.md b/CHANGELOG.md index f1ce604..b9a12e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.20.1 (2026-02-24) + +Full Changelog: [v1.20.0...v1.20.1](https://github.com/knocklabs/knock-python/compare/v1.20.0...v1.20.1) + +### Chores + +* **internal:** make `test_proxy_environment_variables` more resilient to env ([8a10ea7](https://github.com/knocklabs/knock-python/commit/8a10ea7436198b9016d7b9a7e2172372894baeaf)) + ## 1.20.0 (2026-02-23) Full Changelog: [v1.19.0...v1.20.0](https://github.com/knocklabs/knock-python/compare/v1.19.0...v1.20.0) diff --git a/pyproject.toml b/pyproject.toml index d2dc196..2296606 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "knockapi" -version = "1.20.0" +version = "1.20.1" description = "The official Python library for the knock API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/knockapi/_version.py b/src/knockapi/_version.py index 2b28f91..1b3728b 100644 --- a/src/knockapi/_version.py +++ b/src/knockapi/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "knockapi" -__version__ = "1.20.0" # x-release-please-version +__version__ = "1.20.1" # x-release-please-version diff --git a/tests/test_client.py b/tests/test_client.py index f3c43ac..64142ac 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -974,8 +974,14 @@ def retry_handler(_request: httpx.Request) -> httpx.Response: def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None: # Test that the proxy environment variables are set correctly monkeypatch.setenv("HTTPS_PROXY", "https://example.org") - # Delete in case our environment has this set + # Delete in case our environment has any proxy env vars set monkeypatch.delenv("HTTP_PROXY", raising=False) + monkeypatch.delenv("ALL_PROXY", raising=False) + monkeypatch.delenv("NO_PROXY", raising=False) + monkeypatch.delenv("http_proxy", raising=False) + monkeypatch.delenv("https_proxy", raising=False) + monkeypatch.delenv("all_proxy", raising=False) + monkeypatch.delenv("no_proxy", raising=False) client = DefaultHttpxClient() @@ -1909,8 +1915,14 @@ async def test_get_platform(self) -> None: async def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None: # Test that the proxy environment variables are set correctly monkeypatch.setenv("HTTPS_PROXY", "https://example.org") - # Delete in case our environment has this set + # Delete in case our environment has any proxy env vars set monkeypatch.delenv("HTTP_PROXY", raising=False) + monkeypatch.delenv("ALL_PROXY", raising=False) + monkeypatch.delenv("NO_PROXY", raising=False) + monkeypatch.delenv("http_proxy", raising=False) + monkeypatch.delenv("https_proxy", raising=False) + monkeypatch.delenv("all_proxy", raising=False) + monkeypatch.delenv("no_proxy", raising=False) client = DefaultAsyncHttpxClient()