From 7c499cf8e780834b10aaa6792615941109e4b548 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 09:44:02 +0000 Subject: [PATCH 1/2] Update dependency urllib3 to >=2.7.0, <=2.7.0 [SECURITY] --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8856355..da21fb8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ python_dateutil >= 2.5.3 setuptools >= 21.0.0 -urllib3 >= 1.25.3, <= 2.2.2 +urllib3 >=2.7.0, <=2.7.0 pydantic >= 2 typing-extensions >= 4.7.1 diff --git a/setup.py b/setup.py index fe184de..1901eee 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ VERSION = "0.0.5" PYTHON_REQUIRES = ">=3.9" REQUIRES = [ - "urllib3 >= 1.25.3, <= 2.2.2", + "urllib3 >=2.7.0, <=2.7.0", "python-dateutil", "pydantic >= 2", "typing-extensions >= 4.7.1", From c07c20e0b4e4c1f148de09fe8f26da572c7398b4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 15 Jul 2026 10:43:27 +0000 Subject: [PATCH 2/2] Drop Python support below 3.11 --- .github/workflows/python.yml | 2 +- .gitlab-ci.yml | 8 +------- .travis.yml | 2 -- CLAUDE.md | 2 +- README.md | 3 +-- config.yaml | 2 +- pyproject.toml | 4 ++-- setup.py | 2 +- 8 files changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 729c94d..2c4a084 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a59bd16..a812ffc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,15 +14,9 @@ stages: - pip install -r test-requirements.txt - pytest --cov=actinia_openapi_python_client -pytest-3.9: - extends: .pytest - image: python:3.9-alpine -pytest-3.10: - extends: .pytest - image: python:3.10-alpine pytest-3.11: extends: .pytest image: python:3.11-alpine pytest-3.12: extends: .pytest - image: python:3.11-alpine \ No newline at end of file + image: python:3.12-alpine \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 727cc6f..ddd4013 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.9" - - "3.10" - "3.11" - "3.12" # uncomment the following if needed diff --git a/CLAUDE.md b/CLAUDE.md index 4ab89cd..9bb4530 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -73,4 +73,4 @@ The `test/` tree mirrors the generated code: one `test_*.py` per API class and p ## CI -GitHub Actions (`.github/workflows/python.yml`) runs flake8 + pytest on Python 3.9–3.12 for every push and PR. `.github/workflows/python-publish.yml` builds and publishes to PyPI on a published GitHub release (uses `PYPI_API_TOKEN`). A parallel GitLab CI config (`.gitlab-ci.yml`) runs the same pytest matrix. Supported Python is **3.9+**. +GitHub Actions (`.github/workflows/python.yml`) runs flake8 + pytest on Python 3.11–3.12 for every push and PR. `.github/workflows/python-publish.yml` builds and publishes to PyPI on a published GitHub release (uses `PYPI_API_TOKEN`). A parallel GitLab CI config (`.gitlab-ci.yml`) runs the same pytest matrix. Supported Python is **3.11+**. diff --git a/README.md b/README.md index a7c5908..b2f681a 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https: ## Requirements -Python 3.9+ +Python 3.11+ ## Installation & Usage @@ -409,4 +409,3 @@ Authentication schemes defined for the API: - diff --git a/config.yaml b/config.yaml index 5b4636c..726ea14 100644 --- a/config.yaml +++ b/config.yaml @@ -7,4 +7,4 @@ additionalProperties: packageDescription: Actinia Core Python Client packageUrl: "" packageKeywords: ["actinia", "actinia-core", "python", "client", "grassgis", "gis", "grass", "openplains"] - packageInstallRequires: ["urllib3", "python-dateutil", "pydantic >= 2", "typing-extensions >= 4.7.1"] + packageInstallRequires: ["urllib3 >=2.7.0, <=2.7.0", "python-dateutil", "pydantic >= 2", "typing-extensions >= 4.7.1"] diff --git a/pyproject.toml b/pyproject.toml index f6e4e8b..e3ec710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,9 +10,9 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "Actinia", "GRASS GIS", "GRASS", "GI include = ["actinia_openapi_python_client/py.typed"] [tool.poetry.dependencies] -python = "^3.9" +python = "^3.11" -urllib3 = ">= 1.25.3" +urllib3 = ">=2.7.0, <=2.7.0" python-dateutil = ">=2.8.2" pydantic = ">=2" typing-extensions = ">=4.7.1" diff --git a/setup.py b/setup.py index 1901eee..45501b2 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ # http://pypi.python.org/pypi/setuptools NAME = "actinia-openapi-python-client" VERSION = "0.0.5" -PYTHON_REQUIRES = ">=3.9" +PYTHON_REQUIRES = ">=3.11" REQUIRES = [ "urllib3 >=2.7.0, <=2.7.0", "python-dateutil",