aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pytest
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pytest')
-rw-r--r--python/python3-pytest/python3-pytest.SlackBuild6
-rw-r--r--python/python3-pytest/python3-pytest.info6
2 files changed, 8 insertions, 4 deletions
diff --git a/python/python3-pytest/python3-pytest.SlackBuild b/python/python3-pytest/python3-pytest.SlackBuild
index 666110cc1b..4cb50fc520 100644
--- a/python/python3-pytest/python3-pytest.SlackBuild
+++ b/python/python3-pytest/python3-pytest.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pytest
SRCNAM=pytest
-VERSION=${VERSION:-8.4.2}
+VERSION=${VERSION:-9.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,6 +70,10 @@ find -L . \
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages/
+# Remove packaging requirement so we don't have a warning with pip check
+# (since it's provided in /opt/, but not detected by default
+sed -i 's|"packaging>=.*",|"packaging",|' pyproject.toml
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
diff --git a/python/python3-pytest/python3-pytest.info b/python/python3-pytest/python3-pytest.info
index be98e6aaee..5d30860ebd 100644
--- a/python/python3-pytest/python3-pytest.info
+++ b/python/python3-pytest/python3-pytest.info
@@ -1,8 +1,8 @@
PRGNAM="python3-pytest"
-VERSION="8.4.2"
+VERSION="9.0.0"
HOMEPAGE="http://pytest.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest/pytest-8.4.2.tar.gz"
-MD5SUM="a1b847e1f079dfc5d26a63bc02f47fb7"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pytest/pytest-9.0.0.tar.gz"
+MD5SUM="c3b2de20c40c1e75f8bac3236ad7f326"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-iniconfig python3-exceptiongroup python3-setuptools-opt"