From 9a3d7723ab2c6c1efcb295bf86171bc1ea6a9501 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 29 Mar 2023 17:41:26 +0200 Subject: [PATCH 1/1] Fix cover errors Change-Id: I6f1bba2ab475e25802c6b72572b2e1593abb69ef Signed-off-by: garciadeblas --- requirements-dev.in | 4 ++-- requirements-dev.txt | 4 ++-- tox.ini | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements-dev.in b/requirements-dev.in index 299fb8e..81fc3b2 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -10,8 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. -git+https://osm.etsi.org/gerrit/osm/common.git@master#egg=osm-common +git+https://osm.etsi.org/gerrit/osm/common.git@v13.0#egg=osm-common -r https://osm.etsi.org/gitweb/?p=osm/common.git;a=blob_plain;f=requirements.txt;hb=v13.0 -git+https://osm.etsi.org/gerrit/osm/IM.git@master#egg=osm-im +git+https://osm.etsi.org/gerrit/osm/IM.git@v13.0#egg=osm-im -r https://osm.etsi.org/gitweb/?p=osm/IM.git;a=blob_plain;f=requirements.txt;hb=v13.0 diff --git a/requirements-dev.txt b/requirements-dev.txt index c51fe8d..4233b70 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -35,9 +35,9 @@ lxml==4.9.0 # -r https://osm.etsi.org/gitweb/?p=osm/IM.git;a=blob_plain;f=requirements.txt;hb=v13.0 # pyang # pyangbind -osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@master +osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@v13.0 # via -r requirements-dev.in -osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@master +osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@v13.0 # via -r requirements-dev.in pyang==2.5.3 # via diff --git a/tox.ini b/tox.ini index 377149c..d38c13b 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ commands = coverage report --omit='*tests*' coverage html -d ./cover --omit='*tests*' coverage xml -o coverage.xml --omit=*tests* -whitelist_externals = sh +allowlist_externals = sh ####################################################################################### @@ -83,7 +83,7 @@ commands = [testenv:pip-compile] deps = pip-tools==6.6.2 skip_install = true -whitelist_externals = bash +allowlist_externals = bash [ commands = - bash -c "for file in requirements*.in ; do \ @@ -107,7 +107,7 @@ commands = python3 setup.py --command-packages=stdeb.command sdist_dsc sh -c 'cd deb_dist/osm-nbi*/ && dpkg-buildpackage -rfakeroot -uc -us' sh -c 'rm osm_nbi/requirements.txt' -whitelist_externals = sh +allowlist_externals = sh ####################################################################################### [flake8] -- 2.25.1