Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
Run test for requirements project.

Uses tox with the ``py311-check-uc`` environment.
files: ^upper-constraints.*txt$
files:
- ^upper-constraints.*txt$
- ^tox.ini
vars:
tox_envlist: py311-check-uc
- job:
Expand All @@ -50,7 +52,9 @@
Run test for requirements project.

Uses tox with the ``py312-check-uc`` environment.
files: ^upper-constraints.*txt$
files:
- ^upper-constraints.*txt$
- ^tox.ini
vars:
tox_envlist: py312-check-uc
- job:
Expand All @@ -60,7 +64,9 @@
Run test for requirements project.

Uses tox with the ``py313-check-uc`` environment.
files: ^upper-constraints.*txt$
files:
- ^upper-constraints.*txt$
- ^tox.ini
vars:
tox_envlist: py313-check-uc

Expand Down
2 changes: 0 additions & 2 deletions .zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
- requirements-tox-babel
- requirements-tox-bindep:
voting: false
- requirements-tox-py310-check-uc
- requirements-tox-py311-check-uc
- requirements-tox-py312-check-uc
- requirements-tox-py313-check-uc
Expand Down Expand Up @@ -74,7 +73,6 @@
- openstack-tox-validate
- requirements-check-self
- requirements-tox-babel
- requirements-tox-py310-check-uc
- requirements-tox-py311-check-uc
- requirements-tox-py312-check-uc
- requirements-tox-py313-check-uc
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ authors = [
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.9"
requires-python = ">=3.11"
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down
15 changes: 5 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ deps =
commands =
stestr run {posargs}

[testenv:py310-check-uc]
basepython = python3.10
skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
[check-uc]
commands = python -m pip install --dry-run -r{toxinidir}/upper-constraints.txt

[testenv:py311-check-uc]
Expand All @@ -25,23 +20,23 @@ skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
commands = {[testenv:py310-check-uc]commands}
commands = {[check-uc]commands}

[testenv:py312-check-uc]
basepython = python3.12
skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
commands = {[testenv:py310-check-uc]commands}
commands = {[check-uc]commands}

[testenv:py313-check-uc]
basepython = python3.13
skip_install = true
# For now we need something due to an issue in the tox_install_sibling_packages
# AnseibleModule
deps = setuptools
commands = {[testenv:py310-check-uc]commands}
commands = {[check-uc]commands}

[testenv:venv]
commands = {posargs}
Expand All @@ -54,7 +49,7 @@ description = Regenerates upper-constraints.txt
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = generate-constraints {posargs: -d denylist.txt -r global-requirements.txt -p python3.9 -p python3.10 -p python3.11 -p python3.12 -p python3.13 > upper-constraints.txt}
commands = generate-constraints {posargs: -d denylist.txt -r global-requirements.txt -p python3.11 -p python3.12 -p python3.13 > upper-constraints.txt}

[testenv:validate]
allowlist_externals =
Expand Down
Loading