From e9be5dcace1c0bbe290c1b567560910ec0144ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Dec 2023 08:33:54 -0300 Subject: [PATCH 01/23] python3-astroid: update to 3.0.2. --- srcpkgs/python3-astroid/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template index 2cbab2d59e7d4..0b2d6719b084f 100644 --- a/srcpkgs/python3-astroid/template +++ b/srcpkgs/python3-astroid/template @@ -1,8 +1,11 @@ # Template file for 'python3-astroid' pkgname=python3-astroid -version=2.15.5 -revision=2 +version=3.0.2 +revision=1 build_style=python3-pep517 +make_check_args=" + --deselect tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + " hostmakedepends="python3-setuptools python3-wheel" depends="python3-lazy-object-proxy python3-wrapt" # pip is necessary because IsolatedAstroidManagerTest.test_no_user_warning @@ -14,4 +17,4 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://github.com/PyCQA/astroid" changelog="https://raw.githubusercontent.com/PyCQA/astroid/master/ChangeLog" distfiles="https://github.com/PyCQA/astroid/archive/refs/tags/v$version.tar.gz" -checksum=c819b8f9c97a8365d907d837f1655dca3a0052a494e0c91ec9ad5df48f7a4101 +checksum=f6c40778700e01135a5e7d30ec2af607150a234fbf5c02f20a7c4df29322e593 From 4eea9340f75c05690a1bb2f32bbfe454cf2e551a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Dec 2023 08:34:00 -0300 Subject: [PATCH 02/23] python3-trio: update to 0.24.0. --- srcpkgs/python3-trio/template | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template index 77c693559c4e9..add9536d3aa50 100644 --- a/srcpkgs/python3-trio/template +++ b/srcpkgs/python3-trio/template @@ -1,26 +1,30 @@ # Template file for 'python3-trio' pkgname=python3-trio -version=0.22.0 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-async_generator python3-attrs python3-idna +version=0.24.0 +revision=1 +build_style=python3-pep517 +# Needs astor (https://pypi.org/project/astor/) +make_check_args="--ignore src/trio/_tests/tools/test_gen_exports.py" +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-attrs python3-idna python3-outcome python3-sniffio python3-sortedcontainers" -checkdepends="python3-pytest python3-pytest-cov python3-ipython python3-pylint - python3-jedi black python3-mypy python3-flake8 - python3-async_generator python3-attrs - python3-idna python3-outcome python3-sniffio python3-sortedcontainers" +checkdepends="$depends python3-pytest iana-etc pylint python3-astroid + python3-async_generator python3-jedi python3-openssl python3-trustme" short_desc="Friendly Python library for async concurrency and I/O" maintainer="Arjan Mossel " license="Apache-2.0, MIT" homepage="https://github.com/python-trio/trio" +changelog="https://raw.githubusercontent.com/python-trio/trio/master/docs/source/history.rst" distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz" -checksum=ce68f1c5400a47b137c5a4de72c7c901bd4e7a24fbdebfe9b41de8c6c04eaacf -# Tests are disabled as they also need the following to be packaged: -# pyOpenSSL https://pypi.org/project/pyOpenSSL/ -# trustme https://pypi.org/project/trustme/ -# astor https://pypi.org/project/astor/ -make_check=no +checksum=ffa09a74a6bf81b84f8613909fb0beaee84757450183a7a2e0b47b455c0cac5d +make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1" + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + # pthread_getname_np(3) n/a in musl 1.1 + make_check_args+=" + --deselect src/trio/_tests/test_threads.py::test_named_thread_os + " +fi post_install() { vlicense LICENSE From 8d90ab8115f8ac3dd13a0daf6d000915e4dacb74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Dec 2023 08:37:56 -0300 Subject: [PATCH 03/23] python3-anyio: update to 4.2.0. --- srcpkgs/python3-anyio/template | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python3-anyio/template b/srcpkgs/python3-anyio/template index f7cd7628cc000..29e4265def302 100644 --- a/srcpkgs/python3-anyio/template +++ b/srcpkgs/python3-anyio/template @@ -1,18 +1,26 @@ # Template file for 'python3-anyio' pkgname=python3-anyio -version=3.6.2 -revision=2 -build_style=python3-module -hostmakedepends="python3-setuptools_scm" +version=4.2.0 +revision=1 +build_style=python3-pep517 +# This file needs python module `exceptiongroup` +make_check_args="--ignore tests/test_taskgroups.py" +hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-sniffio python3-idna" +checkdepends="$depends python3-pytest-mock python3-hypothesis + python3-psutil python3-trio python3-trustme python3-uvloop" short_desc="High level asynchronous concurrency and networking framework" maintainer="dkwo " license="MIT" homepage="https://github.com/agronholm/anyio" +changelog="https://raw.githubusercontent.com/agronholm/anyio/master/docs/versionhistory.rst" distfiles="${PYPI_SITE}/a/anyio/anyio-${version}.tar.gz" -checksum=25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421 -# Tests not supported -make_check=no +checksum=e1875bb4b4e2de1669f4bc7869b6d3f54231cdced71605e6e64c9be77e3be50f + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + # getaddrinfo() always returns canonname in musl 1.1 + make_check_args+=" --deselect tests/test_sockets.py::test_getaddrinfo_ipv6addr" +fi post_install() { vlicense LICENSE From 638b34915a4a5d860b387408c04fc8dbbb1af7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Dec 2023 08:40:34 -0300 Subject: [PATCH 04/23] python3-coverage: update to 7.4.0. --- srcpkgs/python3-coverage/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-coverage/template b/srcpkgs/python3-coverage/template index fc16194c9cee3..7cc70a4c26c8a 100644 --- a/srcpkgs/python3-coverage/template +++ b/srcpkgs/python3-coverage/template @@ -1,6 +1,6 @@ # Template file for 'python3-coverage' pkgname=python3-coverage -version=7.3.2 +version=7.4.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools python3-wheel" @@ -12,7 +12,7 @@ license="Apache-2.0" homepage="https://github.com/nedbat/coveragepy" changelog="https://raw.githubusercontent.com/nedbat/coveragepy/master/CHANGES.rst" distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz" -checksum=be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef +checksum=707c0f58cb1712b8809ece32b68996ee1e609f71bd14615bd8f87a1293cb610e pre_check() { # required setup, see tox.ini From 2e13d68a397036e4353a64bd986e1e885b7e6580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 17 Dec 2023 08:39:41 -0300 Subject: [PATCH 05/23] python3-json5: update to 0.9.14. --- srcpkgs/python3-json5/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-json5/template b/srcpkgs/python3-json5/template index aae53d2bce7b8..3f4e9b6aa4fde 100644 --- a/srcpkgs/python3-json5/template +++ b/srcpkgs/python3-json5/template @@ -1,7 +1,7 @@ # Template file for 'python3-json5' pkgname=python3-json5 -version=0.9.6 -revision=5 +version=0.9.14 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" @@ -11,4 +11,4 @@ maintainer="dkwo " license="Apache-2.0" homepage="https://github.com/dpranke/pyjson5" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" -checksum=eeb5e7d77b095dbfeae2e00c7df80ac8064994b33c5c36982f504c5c17c77a8c +checksum=e7d27778960a7ef30b3d69bf3bf61ee152b211a956fcd92e09162b6852c3ad64 From 37b207edc7a56bf6a15efad96ff2b4435a8e8296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 5 Dec 2023 18:16:50 -0300 Subject: [PATCH 06/23] python3-pytest-asyncio: update to 0.23.2. --- .../python3-pytest-asyncio/patches/fix-test.patch | 15 --------------- srcpkgs/python3-pytest-asyncio/template | 8 ++++---- srcpkgs/python3-pytest-asyncio/update | 3 ++- 3 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/python3-pytest-asyncio/patches/fix-test.patch diff --git a/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch b/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch deleted file mode 100644 index 3eee8be42fadf..0000000000000 --- a/srcpkgs/python3-pytest-asyncio/patches/fix-test.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/tests/hypothesis/test_inherited_test.py 2023-07-12 07:11:21.000000000 -0300 -+++ b/tests/hypothesis/test_inherited_test.py 2023-09-15 19:12:21.328680631 -0300 -@@ -1,10 +1,11 @@ - import hypothesis.strategies as st - import pytest --from hypothesis import given -+from hypothesis import given, settings, HealthCheck - - - class BaseClass: - @pytest.mark.asyncio -+ @settings(suppress_health_check=(HealthCheck.differing_executors,)) - @given(value=st.integers()) - async def test_hypothesis(self, value: int) -> None: - pass diff --git a/srcpkgs/python3-pytest-asyncio/template b/srcpkgs/python3-pytest-asyncio/template index c997751e7c88c..b4c9ad02e383e 100644 --- a/srcpkgs/python3-pytest-asyncio/template +++ b/srcpkgs/python3-pytest-asyncio/template @@ -1,18 +1,18 @@ # Template file for 'python3-pytest-asyncio' pkgname=python3-pytest-asyncio -version=0.21.1 -revision=2 +version=0.23.2 +revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-pytest" -checkdepends="$depends python3-flaky python3-hypothesis python3-pytest-trio" +checkdepends="$depends python3-hypothesis" short_desc="Pytest plugin for asyncio" maintainer="Gonzalo Tornaría " license="Apache-2.0" homepage="https://github.com/pytest-dev/pytest-asyncio" changelog="https://raw.githubusercontent.com/pytest-dev/pytest-asyncio/master/docs/source/reference/changelog.rst" distfiles="${PYPI_SITE}/p/pytest-asyncio/pytest-asyncio-${version}.tar.gz" -checksum=40a7eae6dded22c7b604986855ea48400ab15b069ae38116e8c01238e9eeb64d +checksum=c16052382554c7b22d48782ab3438d5b10f8cf7a4bdcae7f0f67f097d95beecc if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then # these tests fail on CI (bind to a tcp address) diff --git a/srcpkgs/python3-pytest-asyncio/update b/srcpkgs/python3-pytest-asyncio/update index ee07b72ffd435..9bbbc35421567 100644 --- a/srcpkgs/python3-pytest-asyncio/update +++ b/srcpkgs/python3-pytest-asyncio/update @@ -1 +1,2 @@ -ignore="*dev*" +# 0.23.3 causes internalerror checking ipython_ipykernel +ignore="*a* *b* *dev* 0.23.3" From b5c6de633fbd7cef8451e0bcc42fd8a9e5e71398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 16 Jan 2024 13:53:45 -0300 Subject: [PATCH 07/23] python3-nest_asyncio: update to 1.5.9. --- srcpkgs/python3-nest_asyncio/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-nest_asyncio/template b/srcpkgs/python3-nest_asyncio/template index a27114ab7e271..e21676afe976f 100644 --- a/srcpkgs/python3-nest_asyncio/template +++ b/srcpkgs/python3-nest_asyncio/template @@ -1,6 +1,6 @@ # Template file for 'python3-nest_asyncio' pkgname=python3-nest_asyncio -version=1.5.8 +version=1.5.9 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools_scm python3-wheel" @@ -11,7 +11,7 @@ maintainer="dkwo " license="BSD-2-Clause" homepage="https://github.com/erdewit/nest_asyncio" distfiles="${PYPI_SITE}/n/nest_asyncio/nest_asyncio-${version}.tar.gz" -checksum=25aa2ca0d2a5b5531956b9e273b45cf664cae2b145101d73b86b199978d48fdb +checksum=d1e1144e9c6e3e6392e0fcf5211cb1c8374b5648a98f1ebe48e5336006b41907 post_install() { vlicense LICENSE From c3deb05a72e004edffaa80fe5623f1c0b7e263e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 2 Dec 2023 11:25:12 -0300 Subject: [PATCH 08/23] python3-rpds-py: update to 0.17.1. --- srcpkgs/python3-rpds-py/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-rpds-py/template b/srcpkgs/python3-rpds-py/template index a644a30f71b0c..5827af8fbfa0a 100644 --- a/srcpkgs/python3-rpds-py/template +++ b/srcpkgs/python3-rpds-py/template @@ -1,6 +1,6 @@ # Template file for 'python3-rpds-py' pkgname=python3-rpds-py -version=0.13.1 +version=0.17.1 revision=1 build_style=python3-pep517 build_helper=rust @@ -14,7 +14,7 @@ license="MIT" homepage="https://github.com/crate-py/rpds" changelog="https://github.com/crate-py/rpds/releases" distfiles="${PYPI_SITE}/r/rpds-py/rpds_py-${version}.tar.gz" -checksum=264f3a5906c62b9df3a00ad35f6da1987d321a053895bd85f9d5c708de5c0fbf +checksum=0210b2668f24c078307260bf88bdac9d6f1093635df5123789bfee4d8d7fc8e7 post_install() { vlicense LICENSE From bcd575a51872c1853e542cafb689d017864d9b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 2 Dec 2023 11:25:16 -0300 Subject: [PATCH 09/23] python3-referencing: update to 0.32.1. --- srcpkgs/python3-referencing/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-referencing/template b/srcpkgs/python3-referencing/template index 828f23ba6f506..4c2ee94438ddb 100644 --- a/srcpkgs/python3-referencing/template +++ b/srcpkgs/python3-referencing/template @@ -1,6 +1,6 @@ # Template file for 'python3-referencing' pkgname=python3-referencing -version=0.31.0 +version=0.32.1 revision=1 build_style=python3-pep517 hostmakedepends="hatchling hatch-vcs" @@ -12,7 +12,7 @@ license="MIT" homepage="https://github.com/python-jsonschema/referencing" changelog="https://raw.githubusercontent.com/python-jsonschema/referencing/main/docs/changes.rst" distfiles="${PYPI_SITE}/r/referencing/referencing-${version}.tar.gz" -checksum=cc28f2c88fbe7b961a7817a0abc034c09a1e36358f82fedb4ffdf29a25398863 +checksum=3c57da0513e9563eb7e203ebe9bb3a1b509b042016433bd1e45a2853466c3dd3 if [ "$XBPS_CHECK_PKGS" = full ]; then # cyclic dependency From 21fff53aa88b4710e81b13392b32d077ce34a555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 2 Dec 2023 11:25:23 -0300 Subject: [PATCH 10/23] python3-jsonschema-specifications: update to 2023.12.1. --- srcpkgs/python3-jsonschema-specifications/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jsonschema-specifications/template b/srcpkgs/python3-jsonschema-specifications/template index f2cc79bbf8eb9..cdf6a66d1477b 100644 --- a/srcpkgs/python3-jsonschema-specifications/template +++ b/srcpkgs/python3-jsonschema-specifications/template @@ -1,6 +1,6 @@ # Template file for 'python3-jsonschema-specifications' pkgname=python3-jsonschema-specifications -version=2023.11.1 +version=2023.12.1 revision=1 build_style=python3-pep517 hostmakedepends="hatchling hatch-vcs" @@ -11,7 +11,7 @@ maintainer="Gonzalo Tornaría " license="MIT" homepage="https://github.com/python-jsonschema/jsonschema-specifications" distfiles="${PYPI_SITE}/j/jsonschema-specifications/jsonschema_specifications-${version}.tar.gz" -checksum=c9b234904ffe02f079bf91b14d79987faa685fd4b39c377a0996954c0090b9ca +checksum=48a76787b3e70f5ed53f1160d2b81f586e4ca6d1548c5de7085d1682674764cc post_install() { vlicense COPYING From c75c80e66525c29b40f6c3f9af381486dc3aa732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 16 Jan 2024 13:21:59 -0300 Subject: [PATCH 11/23] python3-jsonschema: update to 4.21.0. --- srcpkgs/python3-jsonschema/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template index 39b0ee47b7868..bb94511c40b7c 100644 --- a/srcpkgs/python3-jsonschema/template +++ b/srcpkgs/python3-jsonschema/template @@ -1,6 +1,6 @@ # Template file for 'python3-jsonschema' pkgname=python3-jsonschema -version=4.20.0 +version=4.21.0 revision=1 build_style=python3-pep517 hostmakedepends="hatchling hatch-vcs" @@ -13,7 +13,7 @@ license="MIT" homepage="https://github.com/Julian/jsonschema" changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz" -checksum=4f614fd46d8d61258610998997743ec5492a648b33cf478c1ddc23ed4598a5fa +checksum=3ba18e27f7491ea4a1b22edce00fb820eec968d397feb3f9cb61d5894bb38167 post_install() { vlicense COPYING LICENSE From 215becb793ce9f8c848fc2262be391ff32623b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 28 Dec 2023 11:20:55 -0300 Subject: [PATCH 12/23] python3-fastjsonschema: update to 2.19.1. --- srcpkgs/python3-fastjsonschema/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template index e5b6ae54aaddd..56baa8759fb35 100644 --- a/srcpkgs/python3-fastjsonschema/template +++ b/srcpkgs/python3-fastjsonschema/template @@ -1,6 +1,6 @@ # Template file for 'python3-fastjsonschema' pkgname=python3-fastjsonschema -version=2.19.0 +version=2.19.1 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools python3-wheel" @@ -12,7 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/horejsek/python-fastjsonschema" changelog="https://raw.githubusercontent.com/horejsek/python-fastjsonschema/master/CHANGELOG.txt" distfiles="https://github.com/horejsek/python-fastjsonschema/archive/refs/tags/v${version}.tar.gz" -checksum=96daa34692e7ddd8044bdbe4279a9fbd935f7febbcdf9170ab26340c06d0027a +checksum=8c86c2eef8c52b8af584e920effd10bcb10e6417e0bbd560e16e6191bae2ec63 post_install() { vlicense LICENSE From d86c4927a389970e4adc5ba754f6abbbdf680121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 2 Jan 2024 16:07:08 -0300 Subject: [PATCH 13/23] python3-traitlets: update to 5.14.1. --- srcpkgs/python3-traitlets/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-traitlets/template b/srcpkgs/python3-traitlets/template index 6069bde7055ca..55d34c0507f78 100644 --- a/srcpkgs/python3-traitlets/template +++ b/srcpkgs/python3-traitlets/template @@ -1,6 +1,6 @@ # Template file for 'python3-traitlets' pkgname=python3-traitlets -version=5.14.0 +version=5.14.1 revision=1 build_style=python3-pep517 # needs python3-pytest-mypy @@ -14,7 +14,7 @@ license="BSD-3-Clause" homepage="https://github.com/ipython/traitlets" changelog="https://raw.githubusercontent.com/ipython/traitlets/main/CHANGELOG.md" distfiles="${PYPI_SITE}/t/traitlets/traitlets-${version}.tar.gz" -checksum=fcdaa8ac49c04dfa0ed3ee3384ef6dfdb5d6f3741502be247279407679296772 +checksum=8585105b371a04b8316a43d5ce29c098575c2e477850b62b848b964f1444527e post_install() { vlicense LICENSE From 7d69592c78015ffebb36cf7eb06f33c5d16437cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 18 Dec 2023 11:59:14 -0300 Subject: [PATCH 14/23] python3-jupyter_core: update to 5.7.1. --- srcpkgs/python3-jupyter_core/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jupyter_core/template b/srcpkgs/python3-jupyter_core/template index bb0ce3253a51a..acc52e6f1a689 100644 --- a/srcpkgs/python3-jupyter_core/template +++ b/srcpkgs/python3-jupyter_core/template @@ -1,6 +1,6 @@ # Template file for 'python3-jupyter_core' pkgname=python3-jupyter_core -version=5.5.0 +version=5.7.1 revision=1 build_style=python3-pep517 hostmakedepends="hatchling" @@ -12,7 +12,7 @@ license="BSD-3-Clause" homepage="https://jupyter.org" changelog="https://raw.githubusercontent.com/jupyter/jupyter_core/main/CHANGELOG.md" distfiles="${PYPI_SITE}/j/jupyter_core/jupyter_core-${version}.tar.gz" -checksum=880b86053bf298a8724994f95e99b99130659022a4f7f45f563084b6223861d3 +checksum=de61a9d7fc71240f688b2fb5ab659fbb56979458dc66a71decd098e03c79e218 conflicts="python-jupyter_core<=4.4.0_3" do_check() { From 8956a98fac0adadcd7b342bc42b08bd1af73c87c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 5 Dec 2023 18:16:53 -0300 Subject: [PATCH 15/23] python3-pytest-jupyter: update to 0.8.0. --- srcpkgs/python3-pytest-jupyter/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-pytest-jupyter/template b/srcpkgs/python3-pytest-jupyter/template index c93ad7314446c..495ebf4df85a4 100644 --- a/srcpkgs/python3-pytest-jupyter/template +++ b/srcpkgs/python3-pytest-jupyter/template @@ -1,6 +1,6 @@ # Template file for 'python3-pytest-jupyter' pkgname=python3-pytest-jupyter -version=0.7.0 +version=0.8.0 revision=1 build_style=python3-pep517 hostmakedepends="hatchling" @@ -12,8 +12,8 @@ license="BSD-3-Clause" homepage="https://github.com/jupyter-server/pytest-jupyter" changelog="https://raw.githubusercontent.com/jupyter-server/pytest-jupyter/main/CHANGELOG.md" distfiles="${PYPI_SITE}/p/pytest_jupyter/pytest_jupyter-${version}.tar.gz" -checksum=6403b7f6f5eaaa5a9faffd73d2ff1097106a7dc5c3204292212487fc9fb71843 -make_check=extended # avoid a circular dependency +checksum=842817c300802c8608676bbb1460ba0081f2688cf5cb55b87d7bad5dcb0e9729 +make_check=extended # cannot be tested without python3-jupyter_server if [ "$XBPS_CHECK_PKGS" = full ]; then # this would cause a check cycle From 5aa7c12c99ebde7a72c60058f7c8c6f364e0d82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 26 Dec 2023 14:55:48 -0300 Subject: [PATCH 16/23] python3-jupyter_client: improve comment --- srcpkgs/python3-jupyter_client/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template index 915b14fd16ca6..c755680e49da0 100644 --- a/srcpkgs/python3-jupyter_client/template +++ b/srcpkgs/python3-jupyter_client/template @@ -17,7 +17,7 @@ changelog="https://raw.githubusercontent.com/jupyter/jupyter_client/main/CHANGEL distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz" checksum=0642244bb83b4764ae60d07e010e15f0e2d275ec4e918a8f7b80fbbef3ca60c7 conflicts="python-jupyter_client<=5.2.4_2" -make_check=extended # avoid a circular dependency +make_check=extended # cannot be tested without python3-ipython_ipykernel if [ "$XBPS_CHECK_PKGS" = full ]; then # this would cause a build-time circular dependency From fa48d4a0678d5db23660829741e9e41130231fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 2 Jan 2024 16:06:55 -0300 Subject: [PATCH 17/23] python3-comm: update to 0.2.1. --- srcpkgs/python3-comm/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-comm/template b/srcpkgs/python3-comm/template index 49e37ec6b0ea8..93c5f3b9fede8 100644 --- a/srcpkgs/python3-comm/template +++ b/srcpkgs/python3-comm/template @@ -1,18 +1,18 @@ # Template file for 'python3-comm' pkgname=python3-comm -version=0.2.0 +version=0.2.1 revision=1 build_style=python3-pep517 hostmakedepends="hatchling" depends="python3-traitlets" checkdepends="python3-pytest $depends" short_desc="Python comm implementation for the Jupyter kernel protocol" -maintainer="dkwo " +maintainer="dkwo , Gonzalo Tornaría " license="BSD-3-Clause" homepage="https://github.com/ipython/comm/" changelog="https://raw.githubusercontent.com/ipython/comm/main/CHANGELOG.md" distfiles="https://github.com/ipython/comm/archive/refs/tags/v$version.tar.gz" -checksum=5977e098e586b62b45759c9fb016529e38b9bbe96923cf29b4546b2a49cace6a +checksum=7946d8ca485089dffcbbd11279b9195d30bc9dd0a654a7b084702049ebad7403 post_install() { vlicense LICENSE From c554eff2b9ac04950936618c31f5777a85351592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Tue, 26 Dec 2023 14:47:26 -0300 Subject: [PATCH 18/23] python3-ipython_ipykernel: update to 6.29.0. --- srcpkgs/python3-ipython_ipykernel/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-ipython_ipykernel/template b/srcpkgs/python3-ipython_ipykernel/template index db4f68c7ffc12..11bcaed06985b 100644 --- a/srcpkgs/python3-ipython_ipykernel/template +++ b/srcpkgs/python3-ipython_ipykernel/template @@ -1,9 +1,9 @@ # Template file for 'python3-ipython_ipykernel' pkgname=python3-ipython_ipykernel -version=6.27.1 +version=6.29.0 revision=1 build_style=python3-pep517 -# these tests fail in 6.26.0 +# these tests fail in 6.28.0 make_check_args=" --deselect tests/test_eventloop.py::test_asyncio_interrupt --deselect tests/test_embed_kernel.py::test_embed_kernel_func @@ -20,7 +20,7 @@ license="BSD-3-Clause" homepage="https://github.com/ipython/ipykernel" changelog="https://raw.githubusercontent.com/ipython/ipykernel/main/CHANGELOG.md" distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz" -checksum=7d5d594b6690654b4d299edba5e872dc17bb7396a8d0609c97cb7b8a1c605de6 +checksum=b5dd3013cab7b330df712891c96cd1ab868c27a7159e606f762015e9bf8ceb3f if [ "$XBPS_CHECK_PKGS" = full ]; then # this would cause a build-time circular dependency From 47ff8d3ffb9adfd7fd3e6a778bcc2404c9e8ba93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 3 Jan 2024 19:18:56 -0300 Subject: [PATCH 19/23] python3-ipyparallel: fix utcnow deprecation and one more test. --- .../818-mock-assert_called_once_with.patch | 21 +++++++++++++++++++ .../patches/859-utcnow-deprecation.patch | 15 +++++++++++++ srcpkgs/python3-ipyparallel/template | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch create mode 100644 srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch diff --git a/srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch b/srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch new file mode 100644 index 0000000000000..9b8ea0a27549d --- /dev/null +++ b/srcpkgs/python3-ipyparallel/patches/818-mock-assert_called_once_with.patch @@ -0,0 +1,21 @@ +https://github.com/ipython/ipyparallel/pull/818 + +commit 47aba76d77b1ae83463badcd1a9002c74cc454cc +Author: Miro Hrončok +Date: Mon Jul 3 20:52:18 2023 +0200 + + Fix unittest.mock usage on Python 3.12 + +diff --git a/ipyparallel/tests/test_util.py b/ipyparallel/tests/test_util.py +index f4e0c953..eb1e11dc 100644 +--- a/ipyparallel/tests/test_util.py ++++ b/ipyparallel/tests/test_util.py +@@ -14,7 +14,7 @@ def test_disambiguate_ip(warn_mock): + assert util.disambiguate_ip_address('0.0.0.0', socket.gethostname()) == localhost() + wontresolve = 'this.wontresolve.dns' + assert util.disambiguate_ip_address('0.0.0.0', wontresolve) == wontresolve +- assert warn_mock.called_once_with( ++ warn_mock.assert_called_once_with( + 'IPython could not determine IPs for {}: ' + '[Errno -2] Name or service not known'.format(wontresolve), + RuntimeWarning, diff --git a/srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch b/srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch new file mode 100644 index 0000000000000..695000588b37c --- /dev/null +++ b/srcpkgs/python3-ipyparallel/patches/859-utcnow-deprecation.patch @@ -0,0 +1,15 @@ +https://github.com/ipython/ipyparallel/pull/859 + +diff --git a/ipyparallel/util.py b/ipyparallel/util.py +index 130d8cef..f1ba8b2e 100644 +--- a/ipyparallel/util.py ++++ b/ipyparallel/util.py +@@ -591,7 +589,7 @@ def compare_datetimes(a, b): + + def utcnow(): + """Timezone-aware UTC timestamp""" +- return datetime.utcnow().replace(tzinfo=utc) ++ return datetime.now(utc) + + + def _v(version_s): diff --git a/srcpkgs/python3-ipyparallel/template b/srcpkgs/python3-ipyparallel/template index 55bdf5922922b..02d954de1f955 100644 --- a/srcpkgs/python3-ipyparallel/template +++ b/srcpkgs/python3-ipyparallel/template @@ -1,7 +1,7 @@ # Template file for 'python3-ipyparallel' pkgname=python3-ipyparallel version=8.6.1 -revision=2 +revision=3 build_style=python3-pep517 hostmakedepends="hatchling" depends="python3-entrypoints python3-decorator python3-pyzmq python3-traitlets From 3281d9d094ad1a9e77e4c3d5b8250dbcb8e8f973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 4 Dec 2023 18:10:49 -0300 Subject: [PATCH 20/23] python3-jupyter_nbconvert: update to 7.14.2. --- srcpkgs/python3-jupyter_nbconvert/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template index bcecda904e44b..199bed00cb982 100644 --- a/srcpkgs/python3-jupyter_nbconvert/template +++ b/srcpkgs/python3-jupyter_nbconvert/template @@ -1,6 +1,6 @@ # Template file for 'python3-jupyter_nbconvert' pkgname=python3-jupyter_nbconvert -version=7.11.0 +version=7.14.2 revision=1 build_style=python3-pep517 # these two tests require nbconvert.tests (not installed) @@ -19,7 +19,7 @@ license="BSD-3-Clause" homepage="https://github.com/jupyter/nbconvert" changelog="https://raw.githubusercontent.com/jupyter/nbconvert/main/CHANGELOG.md" distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz" -checksum=abedc01cf543177ffde0bfc2a69726d5a478f6af10a332fc1bf29fcb4f0cf000 +checksum=a7f8808fd4e082431673ac538400218dd45efd076fbeb07cc6e5aa5a3a4e949e pre_check() { # templates must be in $JUPYTER_DATA_DIR/nbconvert/templates From c09358f3f083e7406ed687f560625f4e4433009e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 11 Dec 2023 15:32:12 -0300 Subject: [PATCH 21/23] python3-jupyter_server_terminals: update to 0.5.1. --- srcpkgs/python3-jupyter_server_terminals/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jupyter_server_terminals/template b/srcpkgs/python3-jupyter_server_terminals/template index 799e4396f8325..307b6d92a6a52 100644 --- a/srcpkgs/python3-jupyter_server_terminals/template +++ b/srcpkgs/python3-jupyter_server_terminals/template @@ -1,6 +1,6 @@ # Template file for 'python3-jupyter_server_terminals' pkgname=python3-jupyter_server_terminals -version=0.4.4 +version=0.5.1 revision=1 build_style=python3-pep517 hostmakedepends="hatchling" @@ -12,7 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/jupyter-server/jupyter_server_terminals" changelog="https://raw.githubusercontent.com/jupyter-server/jupyter_server_terminals/main/CHANGELOG.md" distfiles="${PYPI_SITE}/j/jupyter_server_terminals/jupyter_server_terminals-${version}.tar.gz" -checksum=57ab779797c25a7ba68e97bcfb5d7740f2b5e8a83b5e8102b10438041a7eac5d +checksum=16d3be9cf48be6a1f943f3a6c93c033be259cf4779184c66421709cf63dccfea make_check=extended # avoid a circular dependency if [ "$XBPS_CHECK_PKGS" = full ]; then From 1eece931260b8a7fdaac5a7eff171218f6a441e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 2 Dec 2023 11:26:14 -0300 Subject: [PATCH 22/23] python3-jupyter_server: update to 2.12.5. --- .../patches/pytest-xdist.patch | 38 ------------------- srcpkgs/python3-jupyter_server/template | 11 ++---- 2 files changed, 3 insertions(+), 46 deletions(-) delete mode 100644 srcpkgs/python3-jupyter_server/patches/pytest-xdist.patch diff --git a/srcpkgs/python3-jupyter_server/patches/pytest-xdist.patch b/srcpkgs/python3-jupyter_server/patches/pytest-xdist.patch deleted file mode 100644 index 4b2c6976a3b4e..0000000000000 --- a/srcpkgs/python3-jupyter_server/patches/pytest-xdist.patch +++ /dev/null @@ -1,38 +0,0 @@ -commit 2dfc67655dd589948250c49c093bd25c4f08f77c -Author: Gonzalo Tornaría -Date: Thu May 25 22:28:37 2023 -0300 - - Fix test param for pytest-xdist - -diff --git a/tests/test_gateway.py b/tests/test_gateway.py -index fec747afe..8f7f8a463 100644 ---- a/tests/test_gateway.py -+++ b/tests/test_gateway.py -@@ -362,15 +362,12 @@ def test_gateway_request_timeout_pad_option( - GatewayClient.clear_instance() - - --cookie_expire_time = format_datetime(datetime.now(tz=timezone.utc) + timedelta(seconds=180)) -- -- - @pytest.mark.parametrize( - "accept_cookies,expire_arg,expire_param,existing_cookies,cookie_exists", - [ - (False, None, None, "EXISTING=1", False), - (True, None, None, "EXISTING=1", True), -- (True, "Expires", cookie_expire_time, None, True), -+ (True, "Expires", 180, None, True), - (True, "Max-Age", "-360", "EXISTING=1", False), - ], - ) -@@ -389,6 +386,10 @@ def test_gateway_request_with_expiring_cookies( - - cookie: SimpleCookie = SimpleCookie() - cookie.load("SERVERID=1234567; Path=/") -+ if expire_arg == "Expires": -+ expire_param = format_datetime( -+ datetime.now(tz=timezone.utc) + -+ timedelta(seconds=expire_param)) - if expire_arg: - cookie["SERVERID"][expire_arg] = expire_param - diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template index 456a0c3993d6c..155851e75f7bf 100644 --- a/srcpkgs/python3-jupyter_server/template +++ b/srcpkgs/python3-jupyter_server/template @@ -1,13 +1,8 @@ # Template file for 'python3-jupyter_server' pkgname=python3-jupyter_server -version=2.11.0 +version=2.12.5 revision=1 build_style=python3-pep517 -# these tests are flaky with jupyter_core 5.5.0 -make_check_args=" - --deselect=tests/services/kernels/test_api.py::test_connection[jp_server_config0] - --deselect=tests/services/sessions/test_api.py::test_restart_kernel[jp_server_config0] -" hostmakedepends="hatchling hatch-jupyter-builder" depends="python3-anyio python3-argon2 python3-jupyter_client python3-jupyter_events python3-jupyter_nbconvert @@ -18,12 +13,12 @@ checkdepends="$depends pandoc python3-ipython_ipykernel python3-pytest-console-scripts python3-pytest-jupyter python3-pytest-xdist python3-requests python3-flaky" short_desc="Backend to Jupyter web applications" -maintainer="dkwo " +maintainer="dkwo , Gonzalo Tornaría " license="BSD-3-Clause" homepage="https://github.com/jupyter-server/jupyter_server" changelog="https://raw.githubusercontent.com/jupyter-server/jupyter_server/main/CHANGELOG.md" distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz" -checksum=78c97ec8049f9062f0151725bc8a1364dfed716646a66819095e0e8a24793eba +checksum=0edb626c94baa22809be1323f9770cf1c00a952b17097592e40d03e6a3951689 if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then # these tests fail on CI (connect to a tcp address) From aba69bf8002c2a5cc2ecb2b18d647b5217ef167c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Fri, 29 Dec 2023 18:30:33 -0300 Subject: [PATCH 23/23] jupyterlab: update to 4.0.11. --- srcpkgs/jupyterlab/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template index b5be5db16f21b..4eb2ecbf33405 100644 --- a/srcpkgs/jupyterlab/template +++ b/srcpkgs/jupyterlab/template @@ -1,6 +1,6 @@ # Template file for 'jupyterlab' pkgname=jupyterlab -version=4.0.9 +version=4.0.11 revision=1 build_style=python3-pep517 hostmakedepends="hatchling hatch-jupyter-builder" @@ -8,12 +8,12 @@ depends="nodejs python3-async-lru python3-ipython_ipykernel python3-jupyterlab_server python3-notebook_shim python3-tomli" checkdepends="$depends python3-pytest-jupyter python3-pytest-xdist" short_desc="JupyterLab computational environment" -maintainer="dkwo " +maintainer="dkwo , Gonzalo Tornaría " license="custom:jupyterlab" homepage="https://github.com/jupyterlab/jupyterlab/" changelog="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/CHANGELOG.md" distfiles="${PYPI_SITE}/j/jupyterlab/jupyterlab-${version}.tar.gz" -checksum=9ebada41d52651f623c0c9f069ddb8a21d6848e4c887d8e5ddc0613166ed5c0b +checksum=d1aec24712566bc25a36229788242778e498ca4088028e2f9aa156b8b7fdc8fc post_install() { mv ${DESTDIR}/usr/etc ${DESTDIR}