From 2cffc6a290fdd26c269f1053232fd8eb2b778573 Mon Sep 17 00:00:00 2001 From: Grzegorz Biernacki Date: Mon, 19 Oct 2026 16:01:38 +0200 Subject: [PATCH] Release 1.14.1 --- README.md | 4 ++-- VERSION | 2 +- dropbox_sign/__init__.py | 2 +- dropbox_sign/api_client.py | 2 +- dropbox_sign/configuration.py | 2 +- openapi-config.yaml | 2 +- pyproject.toml | 7 +++++-- requirements.txt | 3 ++- setup.py | 5 +++-- templates/README_onlypackage.mustache | 5 +++++ templates/pyproject.mustache | 8 ++++++++ templates/requirements.mustache | 6 ++++++ templates/setup.mustache | 6 ++++++ 13 files changed, 42 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 5192a1b..1b8a872 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Python 3.8+ Install using `pip`: ```shell -python3 -m pip install dropbox-sign==1.14.0 +python3 -m pip install dropbox-sign==1.14.1 ``` Alternatively: @@ -404,6 +404,6 @@ apisupport@hellosign.com This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 3.0.0 -- Package version: 1.14.0 +- Package version: 1.14.1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/VERSION b/VERSION index 850e742..63e799c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.14.0 +1.14.1 diff --git a/dropbox_sign/__init__.py b/dropbox_sign/__init__.py index 0429cc7..3a8c661 100644 --- a/dropbox_sign/__init__.py +++ b/dropbox_sign/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.14.0" +__version__ = "1.14.1" # import apis into sdk package from dropbox_sign.apis import * diff --git a/dropbox_sign/api_client.py b/dropbox_sign/api_client.py index 37146d5..df4328b 100644 --- a/dropbox_sign/api_client.py +++ b/dropbox_sign/api_client.py @@ -89,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "OpenAPI-Generator/1.14.0/python" + self.user_agent = "OpenAPI-Generator/1.14.1/python" self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/dropbox_sign/configuration.py b/dropbox_sign/configuration.py index 3894320..104b5fc 100644 --- a/dropbox_sign/configuration.py +++ b/dropbox_sign/configuration.py @@ -546,7 +546,7 @@ def to_debug_report(self) -> str: "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 3.0.0\n" - "SDK Package Version: 1.14.0".format( + "SDK Package Version: 1.14.1".format( env=sys.platform, pyversion=sys.version ) ) diff --git a/openapi-config.yaml b/openapi-config.yaml index 9ce2d29..533b450 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -5,7 +5,7 @@ additionalProperties: generatorLanguageVersion: ">=3.8" packageName: dropbox_sign projectName: dropbox-sign - packageVersion: 1.14.0 + packageVersion: 1.14.1 sortModelPropertiesByRequiredFlag: true legacyDiscriminatorBehavior: true packageAuthor: Dropbox Sign API Team diff --git a/pyproject.toml b/pyproject.toml index 290209b..f44022a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dropbox_sign" -version = "1.14.0" +version = "1.14.1" description = "Dropbox Sign API" authors = ["Official Python SDK for the Dropbox Sign API "] license = "MIT" @@ -12,7 +12,10 @@ include = ["dropbox_sign/py.typed"] [tool.poetry.dependencies] python = "^3.8" -urllib3 = ">= 1.25.3, < 3.0.0" +urllib3 = [ + { version = ">= 2.8.0, < 3.0.0", python = ">=3.10" }, + { version = ">= 1.25.3, < 3.0.0", python = "<3.10" }, +] python-dateutil = ">= 2.8.2" pydantic = ">= 2" typing-extensions = ">= 4.7.1" diff --git a/requirements.txt b/requirements.txt index 67f7f68..c5d71d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -urllib3 >= 1.25.3, < 3.0.0 +urllib3 >= 2.8.0, < 3.0.0; python_version >= "3.10" +urllib3 >= 1.25.3, < 3.0.0; python_version < "3.10" python_dateutil >= 2.8.2 pydantic >= 2 typing-extensions >= 4.7.1 diff --git a/setup.py b/setup.py index 5d5923b..8ee343b 100644 --- a/setup.py +++ b/setup.py @@ -23,10 +23,11 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "dropbox-sign" -VERSION = "1.14.0" +VERSION = "1.14.1" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ - "urllib3 >= 1.25.3, < 3.0.0", + "urllib3 >= 2.8.0, < 3.0.0; python_version >= '3.10'", + "urllib3 >= 1.25.3, < 3.0.0; python_version < '3.10'", "python-dateutil >= 2.8.2", "pydantic >= 2", "typing-extensions >= 4.7.1", diff --git a/templates/README_onlypackage.mustache b/templates/README_onlypackage.mustache index 2b8bd82..f016676 100644 --- a/templates/README_onlypackage.mustache +++ b/templates/README_onlypackage.mustache @@ -26,7 +26,12 @@ This python library package is generated without supporting files like setup.py To be able to use it, you will need these dependencies in your own package that uses this library: +{{^useCustomTemplateCode}} * urllib3 >= 1.25.3, < 3.0.0 +{{/useCustomTemplateCode}} +{{#useCustomTemplateCode}} +* urllib3 >= 2.8.0, < 3.0.0 (Python 3.10+) or >= 1.25.3, < 3.0.0 (Python 3.8 and 3.9) +{{/useCustomTemplateCode}} * python-dateutil >= 2.8.2 {{#asyncio}} * aiohttp >= 3.8.4 diff --git a/templates/pyproject.mustache b/templates/pyproject.mustache index 8dab7de..5539d14 100644 --- a/templates/pyproject.mustache +++ b/templates/pyproject.mustache @@ -12,7 +12,15 @@ include = ["{{packageName}}/py.typed"] [tool.poetry.dependencies] python = "^3.8" +{{^useCustomTemplateCode}} urllib3 = ">= 1.25.3, < 3.0.0" +{{/useCustomTemplateCode}} +{{#useCustomTemplateCode}} +urllib3 = [ + { version = ">= 2.8.0, < 3.0.0", python = ">=3.10" }, + { version = ">= 1.25.3, < 3.0.0", python = "<3.10" }, +] +{{/useCustomTemplateCode}} python-dateutil = ">= 2.8.2" {{#asyncio}} aiohttp = ">= 3.8.4" diff --git a/templates/requirements.mustache b/templates/requirements.mustache index 82746ec..ee1e9ef 100644 --- a/templates/requirements.mustache +++ b/templates/requirements.mustache @@ -1,4 +1,10 @@ +{{^useCustomTemplateCode}} urllib3 >= 1.25.3, < 3.0.0 +{{/useCustomTemplateCode}} +{{#useCustomTemplateCode}} +urllib3 >= 2.8.0, < 3.0.0; python_version >= "3.10" +urllib3 >= 1.25.3, < 3.0.0; python_version < "3.10" +{{/useCustomTemplateCode}} python_dateutil >= 2.8.2 {{#asyncio}} aiohttp >= 3.8.4 diff --git a/templates/setup.mustache b/templates/setup.mustache index be7880b..1c43596 100644 --- a/templates/setup.mustache +++ b/templates/setup.mustache @@ -17,7 +17,13 @@ NAME = "{{{projectName}}}" VERSION = "{{packageVersion}}" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ +{{^useCustomTemplateCode}} "urllib3 >= 1.25.3, < 3.0.0", +{{/useCustomTemplateCode}} +{{#useCustomTemplateCode}} + "urllib3 >= 2.8.0, < 3.0.0; python_version >= '3.10'", + "urllib3 >= 1.25.3, < 3.0.0; python_version < '3.10'", +{{/useCustomTemplateCode}} "python-dateutil >= 2.8.2", {{#asyncio}} "aiohttp >= 3.8.4",