aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-11-30 17:03:56 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2023-12-01 10:42:05 +0100
commit6a544743431970c39ab56fe1f3bbc249bf928cf6 (patch)
tree77df627915df932f28ebd8a8c6ba2d7ee18455b0
parentb50ee8cdc325b9cf558ca456e9f17b255f2936f3 (diff)
Remove PyYaml from upper constraints
It doesnt compile because of cython Change-Id: I6e1c531a2f7b3384bc4a5256120d917dec7c43c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0f6720448bd99fd9b732f124da1a1272ee331589)
-rw-r--r--docker/core/Dockerfile1
-rw-r--r--tox.ini12
2 files changed, 5 insertions, 8 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 500dc017..7bab8c85 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -16,6 +16,7 @@ RUN apk -U upgrade && \
git fetch --tags https://review.opendev.org/openstack/requirements $OPENSTACK_TAG && \
git checkout FETCH_HEAD) && \
sed -i -E /^packaging==+.*$/d /src/requirements/upper-constraints.txt && \
+ sed -i -E /^PyYAML==+.*$/d /src/requirements/upper-constraints.txt && \
case $(uname -m) in aarch*|arm*) \
sed -i -E /^PyNaCl=/d /src/requirements/upper-constraints.txt && \
apk add --no-cache py3-pynacl ;; esac && \
diff --git a/tox.ini b/tox.ini
index 8b069b18..37b3a5b3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -29,9 +29,7 @@ commands = pylint \
[testenv:yamllint]
basepython = python3.10
-files =
- .travis.yml
- docker
+files =.travis.yml docker
commands =
yamllint {[testenv:yamllint]files}
@@ -41,15 +39,13 @@ commands = bandit -r functest_kubernetes -x tests -n 5 -ll
[testenv:bashate]
basepython = python3.10
-files =
- build.sh
- functest_kubernetes/ci/download_images.sh
+files =build.sh functest_kubernetes/ci/download_images.sh
commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}
[testenv:perm]
basepython = python3.10
-whitelist_externals = bash
-path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/pres/reveal.js/*'
+allowlist_externals = bash
+path=. -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 \) \