diff --git a/devel/py-spyder-kernels/Makefile b/devel/py-spyder-kernels/Makefile index 612474b32382..de21c7945542 100644 --- a/devel/py-spyder-kernels/Makefile +++ b/devel/py-spyder-kernels/Makefile @@ -1,49 +1,53 @@ PORTNAME= spyder-kernels -DISTVERSION= 2.5.2 +DISTVERSION= 3.0.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= spyder_kernels-${DISTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Jupyter kernels for the Spyder console WWW= https://github.com/spyder-ide/spyder-kernels LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipykernel>=6.29.3:devel/py-ipykernel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipyparallel>0:devel/py-ipyparallel@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ipython>=7.31.1:devel/ipython@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jupyter-client>=7.3.4<9:devel/py-jupyter-client@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyzmq>=22.1.0:net/py-pyzmq@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipython>=8.13.0:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jupyter-client>=7.4.9:devel/py-jupyter-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyzmq>=24.0.0:net/py-pyzmq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wurlitzer>=1.0.3:misc/py-wurlitzer@${PY_FLAVOR} -# 92 passed, 6 skipped, 6 warnings +# 100 passed, 7 skipped, 4 warnings +# 1 failure may occur, see https://github.com/spyder-ide/spyder-kernels/issues/501 # test_django_settings fail if www/djangoXX not installed TEST_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dask>0:devel/py-dask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distributed>0:devel/py-distributed@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydicom>0:science/py-pydicom@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-forked>0:devel/py-pytest-forked@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xarray>0:devel/py-xarray@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes .include diff --git a/devel/py-spyder-kernels/distinfo b/devel/py-spyder-kernels/distinfo index e0546a54f632..1093e3b0e5da 100644 --- a/devel/py-spyder-kernels/distinfo +++ b/devel/py-spyder-kernels/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718480400 -SHA256 (spyder_kernels-2.5.2.tar.gz) = 71f252900e02b0394820cc7049f89ed725243f6fccf640b76dd329203c413960 -SIZE (spyder_kernels-2.5.2.tar.gz) = 99972 +TIMESTAMP = 1725035739 +SHA256 (spyder_kernels-3.0.0.tar.gz) = 3d316ea04802ed1feb366405cca03df2349dc9e35ad8653538d2fe48c0e9417f +SIZE (spyder_kernels-3.0.0.tar.gz) = 242868 diff --git a/devel/py-spyder-kernels/files/patch-setup.py b/devel/py-spyder-kernels/files/patch-setup.py index ce5a1781a87a..ab9cc87e019a 100644 --- a/devel/py-spyder-kernels/files/patch-setup.py +++ b/devel/py-spyder-kernels/files/patch-setup.py @@ -1,19 +1,16 @@ ---- setup.py.orig 2024-02-28 01:51:49 UTC +--- setup.py.orig 2024-06-11 16:06:35 UTC +++ setup.py -@@ -41,13 +41,13 @@ REQUIREMENTS = [ +@@ -37,10 +37,10 @@ REQUIREMENTS = [ + + REQUIREMENTS = [ 'cloudpickle', - 'ipykernel>=4.5,<5; python_version<"3"', - 'ipykernel>=6.16.1,<6.17; python_version<"3.8"', -- 'ipykernel>=6.29.3,<7; python_version>="3.8"', -+ 'ipykernel>=6.29.3; python_version>="3.8"', - 'ipython<6; python_version<"3"', - 'ipython>=7.31.1,<8; python_version<"3.8"', +- 'ipykernel>=6.29.3,<7', ++ 'ipykernel>=6.29.3', 'ipython>=8.12.2,<8.13; python_version=="3.8"', - 'ipython>=8.13.0,<9,!=8.17.1; python_version>"3.8"', +- 'jupyter-client>=7.4.9,<9', + 'ipython>=8.13.0,!=8.17.1; python_version>"3.8"', - 'jupyter-client>=5.3.4,<6; python_version<"3"', -- 'jupyter-client>=7.4.9,<9; python_version>="3"', -+ 'jupyter-client>=7.4.9; python_version>="3"', - 'pyzmq>=17,<20; python_version<"3"', - 'pyzmq>=24.0.0; python_version>="3"', ++ 'jupyter-client>=7.4.9', + 'pyzmq>=24.0.0', 'wurlitzer>=1.0.3;platform_system!="Windows"', + 'pyxdg>=0.26;platform_system=="Linux"', diff --git a/devel/py-spyder-kernels/files/patch-spyder__kernels_console_tests_test__console__kernel.py b/devel/py-spyder-kernels/files/patch-spyder__kernels_console_tests_test__console__kernel.py new file mode 100644 index 000000000000..e6c93a2f279f --- /dev/null +++ b/devel/py-spyder-kernels/files/patch-spyder__kernels_console_tests_test__console__kernel.py @@ -0,0 +1,11 @@ +--- spyder_kernels/console/tests/test_console_kernel.py.orig 2024-08-19 17:12:51 UTC ++++ spyder_kernels/console/tests/test_console_kernel.py +@@ -1320,7 +1320,7 @@ def test_interrupt(): + # not from my request + continue + break +- assert time.time() - t0 < 5 ++ assert time.time() - t0 < 15 + + + def test_enter_debug_after_interruption():