From 963e1af63f16dc357257852af368dbb0fe2fab20 Mon Sep 17 00:00:00 2001 From: Tejashree-RS Date: Mon, 13 Jul 2026 16:27:34 +0530 Subject: [PATCH 1/4] Updated min python version --- .github/workflows/python.yml | 2 +- README.md | 2 ++ pyproject.toml | 2 +- setup.py | 2 +- src/anycast/README.md | 2 +- src/cloud_discovery/README.md | 2 +- src/dfp/README.md | 2 +- src/dns_config/README.md | 2 +- src/dns_data/README.md | 2 +- src/dtc/README.md | 2 +- src/fw/README.md | 2 +- src/infra_mgmt/README.md | 2 +- src/infra_provision/README.md | 2 +- src/ipam/README.md | 2 +- src/ipam_federation/README.md | 2 +- src/keys/README.md | 2 +- src/redirect/README.md | 2 +- src/upgrade_policy/README.md | 2 +- 18 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 64685cc..2c4a9e2 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12","3.13","3.14"] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 32ac190..511f64c 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ The following Infoblox APIs are supported: ## Installation +Minimum supported Python version: **3.10**. + To install the Universal DDI Python Client, use the following command: ```bash diff --git a/pyproject.toml b/pyproject.toml index 7d98923..3083fe4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ packages = [ ] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.10" urllib3 = ">= 2.2.2" python-dateutil = ">=2.8.2" diff --git a/setup.py b/setup.py index 126fe40..fd17c82 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ # http://pypi.python.org/pypi/setuptools NAME = "universal-ddi-python-client" VERSION = "0.1.1" -PYTHON_REQUIRES = ">=3.7" +PYTHON_REQUIRES = ">=3.10" REQUIRES = [ "urllib3 >= 2.2.2", "python-dateutil", diff --git a/src/anycast/README.md b/src/anycast/README.md index 8b16378..c282522 100644 --- a/src/anycast/README.md +++ b/src/anycast/README.md @@ -10,7 +10,7 @@ The `anycast` package is automatically generated by the [OpenAPI Generator](http ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/cloud_discovery/README.md b/src/cloud_discovery/README.md index 14a67fa..e88017f 100644 --- a/src/cloud_discovery/README.md +++ b/src/cloud_discovery/README.md @@ -10,7 +10,7 @@ The `cloud_discovery` package is automatically generated by the [OpenAPI Generat ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/dfp/README.md b/src/dfp/README.md index b7a58c3..7c4ad1a 100644 --- a/src/dfp/README.md +++ b/src/dfp/README.md @@ -10,7 +10,7 @@ The `dfp` package is automatically generated by the [OpenAPI Generator](https:// ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/dns_config/README.md b/src/dns_config/README.md index d36d5d9..432c516 100644 --- a/src/dns_config/README.md +++ b/src/dns_config/README.md @@ -10,7 +10,7 @@ The `dns_config` package is automatically generated by the [OpenAPI Generator](h ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/dns_data/README.md b/src/dns_data/README.md index c72cc13..d5892cf 100644 --- a/src/dns_data/README.md +++ b/src/dns_data/README.md @@ -10,7 +10,7 @@ The `dns_data` package is automatically generated by the [OpenAPI Generator](htt ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/dtc/README.md b/src/dtc/README.md index a5109b0..783459c 100644 --- a/src/dtc/README.md +++ b/src/dtc/README.md @@ -10,7 +10,7 @@ The `dtc` package is automatically generated by the [OpenAPI Generator](https:// ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/fw/README.md b/src/fw/README.md index 3d7da61..e558ff6 100644 --- a/src/fw/README.md +++ b/src/fw/README.md @@ -10,7 +10,7 @@ The `fw` package is automatically generated by the [OpenAPI Generator](https://o ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/infra_mgmt/README.md b/src/infra_mgmt/README.md index f69c8b5..70f1747 100644 --- a/src/infra_mgmt/README.md +++ b/src/infra_mgmt/README.md @@ -73,7 +73,7 @@ The `infra_mgmt` package is automatically generated by the [OpenAPI Generator](h ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/infra_provision/README.md b/src/infra_provision/README.md index 71452e4..446e5ec 100644 --- a/src/infra_provision/README.md +++ b/src/infra_provision/README.md @@ -10,7 +10,7 @@ The `infra_provision` package is automatically generated by the [OpenAPI Generat ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/ipam/README.md b/src/ipam/README.md index 278899a..f72be3f 100644 --- a/src/ipam/README.md +++ b/src/ipam/README.md @@ -10,7 +10,7 @@ The `ipam` package is automatically generated by the [OpenAPI Generator](https:/ ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/ipam_federation/README.md b/src/ipam_federation/README.md index bb3372b..82f071e 100644 --- a/src/ipam_federation/README.md +++ b/src/ipam_federation/README.md @@ -10,7 +10,7 @@ The `ipam_federation` package is automatically generated by the [OpenAPI Generat ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/keys/README.md b/src/keys/README.md index 21d9fde..bbd81bc 100644 --- a/src/keys/README.md +++ b/src/keys/README.md @@ -10,7 +10,7 @@ The `keys` package is automatically generated by the [OpenAPI Generator](https:/ ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/redirect/README.md b/src/redirect/README.md index b5a69ba..9b98195 100644 --- a/src/redirect/README.md +++ b/src/redirect/README.md @@ -10,7 +10,7 @@ The `redirect` package is automatically generated by the [OpenAPI Generator](htt ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage diff --git a/src/upgrade_policy/README.md b/src/upgrade_policy/README.md index 2752c58..7632db7 100644 --- a/src/upgrade_policy/README.md +++ b/src/upgrade_policy/README.md @@ -10,7 +10,7 @@ The `upgrade_policy` package is automatically generated by the [OpenAPI Generato ## Requirements. -Python 3.7+ +Python 3.10+ ## Installation & Usage From fe16fa814561cba509b77f0de3d473e5b750936c Mon Sep 17 00:00:00 2001 From: Tejashree-RS Date: Mon, 13 Jul 2026 16:36:17 +0530 Subject: [PATCH 2/4] Fix pytest compatibility with Python 3.12+ --- test-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 8e6d8cb..038bf03 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ -pytest~=7.1.3 +pytest>=8.1.0 pytest-cov>=2.8.1 pytest-randomly>=3.12.0 mypy>=1.4.1 From 63d9188cf1c441dac6d3e76545c6ff5085f83e7c Mon Sep 17 00:00:00 2001 From: Tejashree-RS Date: Mon, 13 Jul 2026 16:48:19 +0530 Subject: [PATCH 3/4] addressed review comments --- .github/workflows/python.yml | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 2c4a9e2..dd4460a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12","3.13","3.14"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v3 diff --git a/setup.py b/setup.py index fd17c82..069d4c0 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ author="Infoblox", url="https://github.com/infobloxopen/universal-ddi-python-client", keywords = ["Infoblox", "Universal", "DDI", "OpenAPI-Generator"], + python_requires=PYTHON_REQUIRES, install_requires=REQUIRES, packages=find_packages('src', exclude=["test", "tests"]), package_dir={'': 'src'}, From 986967ca6a8d933e610e73d6b489ae6fe496aa81 Mon Sep 17 00:00:00 2001 From: Tejashree-RS Date: Mon, 13 Jul 2026 16:54:50 +0530 Subject: [PATCH 4/4] Align pytest version in pyproject.toml with test-requirements.txt (>=8.1.0) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3083fe4..a8fd7c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ pydantic = ">=2" typing-extensions = ">=4.7.1" [tool.poetry.dev-dependencies] -pytest = ">=7.2.1" +pytest = ">=8.1.0" tox = ">=3.9.0" flake8 = ">=4.0.0" types-python-dateutil = ">=2.8.19.14"