Drop pbr version ceiling and add py39 testing

- Ceiling of pbr version can create installation conflicts with pip.
- Fixes tox default env list to be python version agnostic
- Updated template to use newer jobs (include testing with newer python)

Bug: #1921679
Change-Id: Ifd0d2f810799992faa1db41b80bf93bc97d5d19d
This commit is contained in:
Sorin Sbarnea 2021-03-29 13:13:16 +01:00 committed by Sorin Sbârnea
parent d072a79acf
commit c69ead8b45
8 changed files with 9 additions and 7 deletions

View File

@ -17,7 +17,7 @@ else
# envvars # envvars
$OS_APPLY_CONFIG_VENV_DIR/bin/pip install -U 'setuptools>=1.0' $OS_APPLY_CONFIG_VENV_DIR/bin/pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr. # bug #1293812 : Avoid easy_install triggering on pbr.
$OS_APPLY_CONFIG_VENV_DIR/bin/pip install -U 'pbr>=0.11,<2.0' $OS_APPLY_CONFIG_VENV_DIR/bin/pip install -U 'pbr>=0.11'
$OS_APPLY_CONFIG_VENV_DIR/bin/pip install -U os-apply-config $OS_APPLY_CONFIG_VENV_DIR/bin/pip install -U os-apply-config
fi fi

View File

@ -15,7 +15,7 @@ else
# downloading from pypi using http_proxy and https_proxy # downloading from pypi using http_proxy and https_proxy
$OS_COLLECT_CONFIG_VENV_DIR/bin/pip install -U 'setuptools>=1.0' $OS_COLLECT_CONFIG_VENV_DIR/bin/pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr. # bug #1293812 : Avoid easy_install triggering on pbr.
$OS_COLLECT_CONFIG_VENV_DIR/bin/pip install -U 'pbr>=0.11,<2.0' $OS_COLLECT_CONFIG_VENV_DIR/bin/pip install -U 'pbr>=0.11'
$OS_COLLECT_CONFIG_VENV_DIR/bin/pip install -U os-collect-config $OS_COLLECT_CONFIG_VENV_DIR/bin/pip install -U os-collect-config
fi fi

View File

@ -17,7 +17,7 @@ else
# envvars # envvars
$OS_NET_CONFIG_VENV_DIR/bin/pip install -U 'setuptools>=1.0' $OS_NET_CONFIG_VENV_DIR/bin/pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr. # bug #1293812 : Avoid easy_install triggering on pbr.
$OS_NET_CONFIG_VENV_DIR/bin/pip install -U 'pbr>=0.11,<2.0' $OS_NET_CONFIG_VENV_DIR/bin/pip install -U 'pbr>=0.11'
$OS_NET_CONFIG_VENV_DIR/bin/pip install -U os-net-config $OS_NET_CONFIG_VENV_DIR/bin/pip install -U os-net-config
fi fi

View File

@ -21,7 +21,7 @@ else
/opt/stack/venvs/os-refresh-config/bin/pip install -U pip /opt/stack/venvs/os-refresh-config/bin/pip install -U pip
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'setuptools>=1.0' /opt/stack/venvs/os-refresh-config/bin/pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr. # bug #1293812 : Avoid easy_install triggering on pbr.
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'pbr>=0.11,<2.0' /opt/stack/venvs/os-refresh-config/bin/pip install -U 'pbr>=0.11'
/opt/stack/venvs/os-refresh-config/bin/pip install -U os-refresh-config /opt/stack/venvs/os-refresh-config/bin/pip install -U os-refresh-config
fi fi

View File

@ -38,7 +38,7 @@ function python_install() {
pip install -U 'setuptools>=1.0' pip install -U 'setuptools>=1.0'
# bug #1293812 : Avoid easy_install triggering on pbr. # bug #1293812 : Avoid easy_install triggering on pbr.
pip install -U 'pbr>=0.11,<2.0' pip install -U 'pbr>=0.11'
if [ -n "$reqs" ] ; then if [ -n "$reqs" ] ; then
# Install requirements off source repo if the install type # Install requirements off source repo if the install type

View File

@ -21,6 +21,8 @@ classifier =
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[files] [files]
data_files = data_files =

View File

@ -1,7 +1,7 @@
[tox] [tox]
minversion = 2.0 minversion = 2.0
skipsdist = True skipsdist = True
envlist = pep8,py37 envlist = pep8,py
[testenv] [testenv]
basepython = python3 basepython = python3

View File

@ -1,7 +1,7 @@
- project: - project:
templates: templates:
- tripleo-buildimage-jobs - tripleo-buildimage-jobs
- openstack-python3-victoria-jobs - openstack-python3-wallaby-jobs
- release-notes-jobs-python3 - release-notes-jobs-python3
post: post:
jobs: jobs: