diff --git a/.zuul.yaml b/.zuul.yaml index 88e2cfe45904..e9d616bd32a9 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,34 +1,6 @@ # See https://docs.openstack.org/infra/manual/drivers.html#naming-with-zuul-v3 # for job naming conventions. -- job: - name: nova-tox-functional-py39 - parent: openstack-tox-functional-py39 - description: | - Run tox-based functional tests for the OpenStack Nova project - under cPython version 3.9 with Nova specific irrelevant-files list. - Uses tox with the ``functional-py39`` environment. - - This job also provides a parent for other projects to run the nova - functional tests on their own changes. - required-projects: - # including nova here makes this job reusable by other projects - - openstack/nova - - openstack/placement - irrelevant-files: &functional-irrelevant-files - - ^.*\.rst$ - - ^api-.*$ - - ^doc/(source|test)/.*$ - - ^nova/locale/.*$ - - ^\.pre-commit-config\.yaml$ - - ^releasenotes/.*$ - vars: - # explicitly stating the work dir makes this job reusable by other - # projects - zuul_work_dir: src/opendev.org/openstack/nova - bindep_profile: test py39 - timeout: 3600 - - job: name: nova-tox-functional-py310 parent: openstack-tox-functional-py310 @@ -43,7 +15,13 @@ # including nova here makes this job reusable by other projects - openstack/nova - openstack/placement - irrelevant-files: *functional-irrelevant-files + irrelevant-files: &functional-irrelevant-files + - ^.*\.rst$ + - ^api-.*$ + - ^doc/(source|test)/.*$ + - ^nova/locale/.*$ + - ^\.pre-commit-config\.yaml$ + - ^releasenotes/.*$ vars: # explicitly stating the work dir makes this job reusable by other # projects @@ -809,7 +787,6 @@ - nova-ovs-hybrid-plug - nova-tox-validate-backport: voting: false - - nova-tox-functional-py39 - nova-tox-functional-py310 - nova-tox-functional-py312 - openstack-tox-py312: @@ -837,7 +814,6 @@ gate: jobs: - nova-live-migration - - nova-tox-functional-py39 - nova-tox-functional-py310 - nova-tox-functional-py312 - nova-multi-cell diff --git a/setup.cfg b/setup.cfg index 447fd44f5acc..255a5defcc98 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,7 +10,7 @@ project_urls = Bug Tracker = https://bugs.launchpad.net/nova/ Documentation = https://docs.openstack.org/nova/ Source Code = https://opendev.org/openstack/nova -python_requires = >=3.9 +python_requires = >=3.10 classifiers = Development Status :: 5 - Production/Stable Environment :: OpenStack @@ -20,7 +20,6 @@ classifiers = 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 diff --git a/tox.ini b/tox.ini index d402501920ff..0c5d29535a19 100644 --- a/tox.ini +++ b/tox.ini @@ -53,14 +53,14 @@ commands = env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler' stestr slowest -[testenv:{unit,py3,py39,py310,py311,py312}] +[testenv:{unit,py3,py310,py311,py312}] setenv = {[testenv]setenv} # we do not have any greenlet leaks in unit tests so enforce that # by making greenlet leaks a failure. NOVA_RAISE_ON_GREENLET_LEAK=True -[testenv:functional{,-py39,-py310,-py311,-py312}] +[testenv:functional{,-py310,-py311,-py312}] description = Run functional tests. setenv =