diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 64685cc..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.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..a8fd7c5 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" @@ -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" diff --git a/setup.py b/setup.py index 126fe40..069d4c0 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", @@ -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'}, 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 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