aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-09-09 14:46:39 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2024-09-09 17:30:04 +0200
commitad0606305e38e953bc18f150121113a3c2ed5881 (patch)
tree8454c06f8c699c3c19bbb2b83bffa86c20acb2a9
parent2e48e71af3560382c63a9f5f1bf8b58131cb1b9b (diff)
Upgrade tox to py312
Change-Id: I60e306fb42ac6b4a779908477e7bb37eb95c3e15 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit be4e782b2bb228c865b7f1640a904d099e1f0261)
-rw-r--r--tox.ini4
-rw-r--r--upper-constraints.txt29
2 files changed, 9 insertions, 24 deletions
diff --git a/tox.ini b/tox.ini
index 2e53fa77..585b094c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pep8,pylint,yamllint,bashate,py310,bandit,perm
+envlist = pep8,pylint,yamllint,bashate,py312,bandit,perm
[testenv]
usedevelop = True
@@ -44,7 +44,7 @@ commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
[testenv:perm]
basepython = python3.12
allowlist_externals = bash
-path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/pres/reveal.js/*' -not -path './elements/functest-kubernetes/install.d/*'
+path=. -prune -not -path './.tox/*' -not -path './.git/*' -not -path './doc/pres/reveal.js/*' -not -path './elements/functest-kubernetes/install.d/*'
commands =
bash -c "\
find {[testenv:perm]path} \( -type f -not -perm 644 -o -type d -not -perm 755 \) \
diff --git a/upper-constraints.txt b/upper-constraints.txt
index c0aafa98..3ac73e1e 100644
--- a/upper-constraints.txt
+++ b/upper-constraints.txt
@@ -1,24 +1,9 @@
-git+https://gerrit.opnfv.org/gerrit/functest#egg=functest
-git+https://github.com/collivier/cloudify-rest-client.git@4.3.3-py3#egg=cloudify-rest-client
-robotframework===4.1.2
-robotframework-httplibrary===0.4.2
-robotframework-requests===0.9.2
-robotframework-sshlibrary===3.8.0
xtesting===1.0.0
-bandit===1.7.5
-bandit===1.7.0
-ruamel.yaml.jinja2==0.2.2
--e git+https://opendev.org/openstack/tempest#egg=tempest
--e git+https://opendev.org/openstack/rally.git#egg=rally
-git+https://opendev.org/openstack/rally-openstack.git#egg=rally-openstack
+bandit===1.7.9
git+https://github.com/xrally/xrally-kubernetes.git#egg=xrally-kubernetes
-pylint===2.11.1
-flake8===4.0.1
-pytest===7.1.2
-pytest-cov===3.0.0
-pytest-html===3.1.1
-ruamel.yaml===0.17.17
-sphinxcontrib-spelling===4.3.0
-ansible-lint===5.2.1
-setuptools_scm===6.3.2
-pre-commit===3.1.1
+pylint===3.2.7
+flake8===7.1.1
+pytest===8.3.2
+pytest-cov===5.0.0
+pytest-html===4.1.1
+pre-commit===3.8.0