aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pytest/python3-pytest.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2025-11-11 23:53:29 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-11-15 11:25:17 +0700
commitadeb13ba1c9b799b32fb95333ede52bb479f20ff (patch)
treea3498e8d76513bd93998537055edfb681e57e116 /python/python3-pytest/python3-pytest.SlackBuild
parent0ad2faf5772ba3b8fac03f573d5d0fce946175ba (diff)
python/python3-pytest: Version bump to 9.0.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pytest/python3-pytest.SlackBuild')
-rw-r--r--python/python3-pytest/python3-pytest.SlackBuild6
1 files changed, 5 insertions, 1 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