On Sat 07/03/2020 15:27, Bjorn Ketelaars wrote: > Enclosed diff updates py-nbformat, which is needed for updating > py-nbconvert [0]. Changes: > https://github.com/jupyter/nbformat/blob/4.4.0/docs/changelog.rst. > > While here move HOMEPAGE to https. > > 'make test' runs successfully for both python2 and python3. Run tested > while using jupyter-notebook. > > Comments/OK? > > [0] https://marc.info/?l=openbsd-ports&m=158351871906886&w=2
Ping cwen@ reported that tests do not like to be run under privsep. Unfortunately I'm unable to reproduce: in my case all tests run successfully on py2 and py3 with PORTS_PRIVSEP=Yes set in /etc/mk.conf. It would be really helpful if others have a look as well. Diff enclosed for your convenience. diff --git Makefile Makefile index 2a73b16893f..a66d6069ea6 100644 --- Makefile +++ Makefile @@ -2,19 +2,18 @@ COMMENT = Jupyter notebook format -MODPY_EGG_VERSION = 4.3.0 +MODPY_EGG_VERSION = 4.4.0 DISTNAME = nbformat-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} -REVISION = 1 CATEGORIES = devel -HOMEPAGE = http://jupyter.org +HOMEPAGE = https://jupyter.org RUN_DEPENDS = devel/py-ipython_genutils${MODPY_FLAVOR} \ - devel/py-traitlets${MODPY_FLAVOR} \ + devel/py-traitlets${MODPY_FLAVOR}>=4.1 \ devel/py-jupyter_core${MODPY_FLAVOR}>=4.3.0 \ - devel/py-jsonschema${MODPY_FLAVOR} + devel/py-jsonschema${MODPY_FLAVOR}>=2.4 TEST_DEPENDS = devel/py-testpath${MODPY_FLAVOR} # BSD diff --git distinfo distinfo index 069d752c008..e235900fecd 100644 --- distinfo +++ distinfo @@ -1,2 +1,2 @@ -SHA256 (nbformat-4.3.0.tar.gz) = X+vM6HJnLxyXVp6JMjmSvcuFc/2tcD+DXmUhJTGRR4s= -SIZE (nbformat-4.3.0.tar.gz) = 578765 +SHA256 (nbformat-4.4.0.tar.gz) = 90lO8N9gdmt8q+CjZRVWNFqWO3TbwWvHwYR5BBFw1AI= +SIZE (nbformat-4.4.0.tar.gz) = 113683 diff --git pkg/PLIST pkg/PLIST index ed9759942e4..9859dcd1a82 100644 --- pkg/PLIST +++ pkg/PLIST @@ -37,6 +37,7 @@ lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test3.ipynb lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test4.ipynb lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test4custom.ipynb lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test4docinfo.ipynb +lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test4jupyter_metadata.ipynb lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test4plus.ipynb lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test_api.py lib/python${MODPY_VERSION}/site-packages/nbformat/tests/test_convert.py