diff options
author | Isaac Yu <isaacyu@protonmail.com> | 2025-07-21 20:02:00 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-07-23 08:39:29 +0700 |
commit | df287c285bbdab151e148484f72f5d37a88248e6 (patch) | |
tree | 85cc8f7fae4bcbc42822df203ed8a1c4b6e88bc1 /development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild | |
parent | 03da27700faaf8ef4f587f4dd105c49cfec40903 (diff) |
development/jupyter-ipykernel: Update tests to enable compatibility with python3-pytest 8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild')
-rw-r--r-- | development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild index 07979ba061..16909cd7b2 100644 --- a/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild +++ b/development/jupyter-ipykernel/jupyter-ipykernel.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for jupyter-ipykernel # Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=jupyter-ipykernel VERSION=${VERSION:-6.29.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,6 +65,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Update tests for compatibility with pytest 8 +# This fix has already been included in jupyter-ipykernel 6.30.0 +# https://github.com/ipython/ipykernel/pull/1231 +patch -p1 < $CWD/add-compat-with-pytest-8.patch + PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages |