>>> jupyter-nbformat: Building community/jupyter-nbformat 5.9.2-r1 (using abuild 3.12.0-r5) started Sat, 13 Apr 2024 04:52:57 +0000 >>> jupyter-nbformat: Checking sanity of /home/buildozer/aports/community/jupyter-nbformat/APKBUILD... >>> jupyter-nbformat: Analyzing dependencies... >>> jupyter-nbformat: Installing for build: build-base py3-traitlets py3-jsonschema py3-fastjsonschema py3-jupyter_core py3-gpep517 py3-installer py3-hatch-nodejs-version py3-pytest py3-testpath py3-pep440 (1/61) Installing libbz2 (1.0.8-r6) (2/61) Installing libffi (3.4.6-r0) (3/61) Installing gdbm (1.23-r1) (4/61) Installing xz-libs (5.6.1-r3) (5/61) Installing mpdecimal (4.0.0-r0) (6/61) Installing libpanelw (6.4_p20240330-r0) (7/61) Installing readline (8.2.10-r0) (8/61) Installing sqlite-libs (3.45.2-r0) (9/61) Installing python3 (3.12.3-r0) (10/61) Installing python3-pycache-pyc0 (3.12.3-r0) (11/61) Installing pyc (3.12.3-r0) (12/61) Installing py3-traitlets-pyc (5.14.1-r1) (13/61) Installing python3-pyc (3.12.3-r0) (14/61) Installing py3-traitlets (5.14.1-r1) (15/61) Installing py3-attrs (23.2.0-r1) (16/61) Installing py3-attrs-pyc (23.2.0-r1) (17/61) Installing py3-rpds-py (0.10.6-r1) (18/61) Installing py3-rpds-py-pyc (0.10.6-r1) (19/61) Installing py3-referencing (0.34.0-r1) (20/61) Installing py3-referencing-pyc (0.34.0-r1) (21/61) Installing py3-jsonschema-specifications (2023.12.1-r1) (22/61) Installing py3-jsonschema-specifications-pyc (2023.12.1-r1) (23/61) Installing py3-jsonschema (4.21.1-r1) (24/61) Installing py3-jsonschema-pyc (4.21.1-r1) (25/61) Installing py3-fastjsonschema (2.19.1-r2) (26/61) Installing py3-fastjsonschema-pyc (2.19.1-r2) (27/61) Installing py3-platformdirs (4.2.0-r1) (28/61) Installing py3-platformdirs-pyc (4.2.0-r1) (29/61) Installing py3-jupyter_core (5.3.1-r1) (30/61) Installing py3-jupyter_core-pyc (5.3.1-r1) (31/61) Installing py3-installer (0.7.0-r2) (32/61) Installing py3-installer-pyc (0.7.0-r2) (33/61) Installing py3-gpep517 (15-r2) (34/61) Installing py3-gpep517-pyc (15-r2) (35/61) Installing py3-editables (0.5-r2) (36/61) Installing py3-editables-pyc (0.5-r2) (37/61) Installing py3-parsing (3.1.2-r1) (38/61) Installing py3-parsing-pyc (3.1.2-r1) (39/61) Installing py3-packaging (24.0-r1) (40/61) Installing py3-packaging-pyc (24.0-r1) (41/61) Installing py3-pathspec (0.12.1-r2) (42/61) Installing py3-pathspec-pyc (0.12.1-r2) (43/61) Installing py3-pluggy (1.4.0-r1) (44/61) Installing py3-pluggy-pyc (1.4.0-r1) (45/61) Installing py3-trove-classifiers (2024.3.3-r2) (46/61) Installing py3-trove-classifiers-pyc (2024.3.3-r2) (47/61) Installing py3-hatchling (1.22.5-r1) (48/61) Installing py3-hatchling-pyc (1.22.5-r1) (49/61) Installing py3-hatch-nodejs-version (0.3.2-r1) (50/61) Installing py3-hatch-nodejs-version-pyc (0.3.2-r1) (51/61) Installing py3-iniconfig (2.0.0-r1) (52/61) Installing py3-iniconfig-pyc (2.0.0-r1) (53/61) Installing py3-py (1.11.0-r3) (54/61) Installing py3-py-pyc (1.11.0-r3) (55/61) Installing py3-pytest (8.1.1-r1) (56/61) Installing py3-pytest-pyc (8.1.1-r1) (57/61) Installing py3-testpath (0.6.0-r3) (58/61) Installing py3-testpath-pyc (0.6.0-r3) (59/61) Installing py3-pep440 (0.1.2-r3) (60/61) Installing py3-pep440-pyc (0.1.2-r3) (61/61) Installing .makedepends-jupyter-nbformat (20240413.045258) Executing busybox-1.36.1-r25.trigger OK: 430 MiB in 168 packages >>> jupyter-nbformat: Cleaning up srcdir >>> jupyter-nbformat: Cleaning up pkgdir >>> jupyter-nbformat: Cleaning up tmpdir >>> jupyter-nbformat: Fetching https://distfiles.alpinelinux.org/distfiles/edge/jupyter-nbformat-5.9.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 138k 100 138k 0 0 715k 0 --:--:-- --:--:-- --:--:-- 719k >>> jupyter-nbformat: Fetching https://distfiles.alpinelinux.org/distfiles/edge/jupyter-nbformat-5.9.2.tar.gz >>> jupyter-nbformat: Checking sha512sums... jupyter-nbformat-5.9.2.tar.gz: OK >>> jupyter-nbformat: Unpacking /var/cache/distfiles/edge/jupyter-nbformat-5.9.2.tar.gz... 2024-04-13 04:52:59,868 gpep517 INFO Building wheel via backend hatchling.build 2024-04-13 04:53:00,051 gpep517 INFO The backend produced .dist/nbformat-5.9.2-py3-none-any.whl nbformat-5.9.2-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/buildozer/aports/community/jupyter-nbformat/src/nbformat-5.9.2 configfile: pyproject.toml testpaths: tests/ collected 189 items tests/test_api.py ...... [ 3%] tests/test_convert.py ..... [ 5%] tests/test_nbformat.py ..... [ 8%] tests/test_reader.py ... [ 10%] tests/test_sign.py ................... [ 20%] tests/test_validator.py ..xx............................................ [ 45%] .. [ 46%] tests/v1/test_json.py . [ 47%] tests/v1/test_nbbase.py ...... [ 50%] tests/v2/test_json.py ... [ 51%] tests/v2/test_nbbase.py ............. [ 58%] tests/v2/test_nbpy.py . [ 59%] tests/v3/test_json.py ........... [ 65%] tests/v3/test_misc.py . [ 65%] tests/v3/test_nbbase.py ...................... [ 77%] tests/v3/test_nbpy.py ..... [ 79%] tests/v4/test_convert.py ...... [ 83%] tests/v4/test_json.py ............. [ 89%] tests/v4/test_nbbase.py .............. [ 97%] tests/v4/test_validate.py ..... [100%] ================================== XFAILURES =================================== ____________________ test_should_not_mutate[fastjsonschema] ____________________ validator_name = 'fastjsonschema' @pytest.mark.xfail(reason="In the future we want to stop warning, and raise an error") @pytest.mark.parametrize("validator_name", VALIDATORS) def test_should_not_mutate(validator_name): """Test that a v4 notebook without id raise an error and does/not mutate Probably should be 2 distinct tests. To enable in the future. """ set_validator(validator_name) with TestsBase.fopen("test4.5.ipynb", "r") as f: nb = read(f, as_version=4) del nb.cells[3]["id"] assert nb.cells[3]["cell_type"] == "code" nb_deep_copy = deepcopy(nb) > with pytest.raises(MissingIDFieldWarning): E Failed: DID NOT RAISE  tests/test_validator.py:71: Failed ----------------------------- Captured stderr call ----------------------------- /home/buildozer/aports/community/jupyter-nbformat/src/nbformat-5.9.2/tests/test_validator.py:72: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future. validate(nb) ______________________ test_should_not_mutate[jsonschema] ______________________ validator_name = 'jsonschema' @pytest.mark.xfail(reason="In the future we want to stop warning, and raise an error") @pytest.mark.parametrize("validator_name", VALIDATORS) def test_should_not_mutate(validator_name): """Test that a v4 notebook without id raise an error and does/not mutate Probably should be 2 distinct tests. To enable in the future. """ set_validator(validator_name) with TestsBase.fopen("test4.5.ipynb", "r") as f: nb = read(f, as_version=4) del nb.cells[3]["id"] assert nb.cells[3]["cell_type"] == "code" nb_deep_copy = deepcopy(nb) > with pytest.raises(MissingIDFieldWarning): E Failed: DID NOT RAISE  tests/test_validator.py:71: Failed ----------------------------- Captured stderr call ----------------------------- /home/buildozer/aports/community/jupyter-nbformat/src/nbformat-5.9.2/tests/test_validator.py:72: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future. validate(nb) ============================= slowest 10 durations ============================= 0.98s call tests/test_sign.py::TestNotary::test_sign_stdin 0.13s call tests/test_validator.py::test_nb2[jsonschema] 0.10s call tests/test_validator.py::test_future[fastjsonschema] 0.09s call tests/test_api.py::TestAPI::test_capture_validation_error 0.08s call tests/test_api.py::TestAPI::test_read 0.06s call tests/test_validator.py::test_nb4jupyter_metadata_timings[fastjsonschema] 0.06s call tests/test_validator.py::test_nb3[jsonschema] 0.06s call tests/test_validator.py::test_nb4custom[fastjsonschema] 0.06s call tests/test_validator.py::test_invalid_validator_raises_value_error_after_read 0.05s call tests/test_validator.py::test_future[jsonschema] =========================== short test summary info ============================ XFAIL tests/test_validator.py::test_should_not_mutate[fastjsonschema] - In the future we want to stop warning, and raise an error XFAIL tests/test_validator.py::test_should_not_mutate[jsonschema] - In the future we want to stop warning, and raise an error ======================== 187 passed, 2 xfailed in 3.32s ======================== >>> jupyter-nbformat: Entering fakeroot... >>> jupyter-nbformat-pyc*: Running split function pyc... '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/v4/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/v4/__pycache__' '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/corpus/tests/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/corpus/tests/__pycache__' '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/corpus/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/corpus/__pycache__' '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/v3/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/v3/__pycache__' '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/v1/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/v1/__pycache__' '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/v2/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/v2/__pycache__' '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat/usr/lib/python3.12/site-packages/nbformat/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/__pycache__' >>> jupyter-nbformat-pyc*: Preparing subpackage jupyter-nbformat-pyc... >>> jupyter-nbformat-pyc*: Running postcheck for jupyter-nbformat-pyc >>> jupyter-nbformat*: Running postcheck for jupyter-nbformat >>> jupyter-nbformat*: Preparing package jupyter-nbformat... >>> jupyter-nbformat-pyc*: Tracing dependencies... py3-traitlets py3-jsonschema py3-fastjsonschema py3-jupyter_core python3~3.12 >>> jupyter-nbformat-pyc*: Package size: 352.0 KB >>> jupyter-nbformat-pyc*: Compressing data... >>> jupyter-nbformat-pyc*: Create checksum... >>> jupyter-nbformat-pyc*: Create jupyter-nbformat-pyc-5.9.2-r1.apk >>> jupyter-nbformat*: Tracing dependencies... py3-traitlets py3-jsonschema py3-fastjsonschema py3-jupyter_core python3~3.12 >>> jupyter-nbformat*: Package size: 460.0 KB >>> jupyter-nbformat*: Compressing data... >>> jupyter-nbformat*: Create checksum... >>> jupyter-nbformat*: Create jupyter-nbformat-5.9.2-r1.apk >>> jupyter-nbformat: Build complete at Sat, 13 Apr 2024 04:53:05 +0000 elapsed time 0h 0m 8s >>> jupyter-nbformat: Cleaning up srcdir >>> jupyter-nbformat: Cleaning up pkgdir >>> jupyter-nbformat: Uninstalling dependencies... (1/61) Purging .makedepends-jupyter-nbformat (20240413.045258) (2/61) Purging py3-jsonschema-pyc (4.21.1-r1) (3/61) Purging py3-jsonschema (4.21.1-r1) (4/61) Purging py3-jsonschema-specifications-pyc (2023.12.1-r1) (5/61) Purging py3-jsonschema-specifications (2023.12.1-r1) (6/61) Purging py3-referencing-pyc (0.34.0-r1) (7/61) Purging py3-referencing (0.34.0-r1) (8/61) Purging py3-attrs-pyc (23.2.0-r1) (9/61) Purging py3-attrs (23.2.0-r1) (10/61) Purging py3-rpds-py-pyc (0.10.6-r1) (11/61) Purging py3-rpds-py (0.10.6-r1) (12/61) Purging py3-fastjsonschema-pyc (2.19.1-r2) (13/61) Purging py3-fastjsonschema (2.19.1-r2) (14/61) Purging py3-jupyter_core-pyc (5.3.1-r1) (15/61) Purging py3-jupyter_core (5.3.1-r1) (16/61) Purging py3-traitlets-pyc (5.14.1-r1) (17/61) Purging py3-traitlets (5.14.1-r1) (18/61) Purging py3-platformdirs-pyc (4.2.0-r1) (19/61) Purging py3-platformdirs (4.2.0-r1) (20/61) Purging py3-gpep517-pyc (15-r2) (21/61) Purging py3-gpep517 (15-r2) (22/61) Purging py3-installer-pyc (0.7.0-r2) (23/61) Purging py3-installer (0.7.0-r2) (24/61) Purging py3-hatch-nodejs-version-pyc (0.3.2-r1) (25/61) Purging py3-hatch-nodejs-version (0.3.2-r1) (26/61) Purging py3-hatchling-pyc (1.22.5-r1) (27/61) Purging py3-hatchling (1.22.5-r1) (28/61) Purging py3-editables-pyc (0.5-r2) (29/61) Purging py3-editables (0.5-r2) (30/61) Purging py3-pathspec-pyc (0.12.1-r2) (31/61) Purging py3-pathspec (0.12.1-r2) (32/61) Purging py3-trove-classifiers-pyc (2024.3.3-r2) (33/61) Purging py3-trove-classifiers (2024.3.3-r2) (34/61) Purging py3-pytest-pyc (8.1.1-r1) (35/61) Purging py3-pytest (8.1.1-r1) (36/61) Purging py3-iniconfig-pyc (2.0.0-r1) (37/61) Purging py3-iniconfig (2.0.0-r1) (38/61) Purging py3-packaging-pyc (24.0-r1) (39/61) Purging py3-packaging (24.0-r1) (40/61) Purging py3-parsing-pyc (3.1.2-r1) (41/61) Purging py3-parsing (3.1.2-r1) (42/61) Purging py3-pluggy-pyc (1.4.0-r1) (43/61) Purging py3-pluggy (1.4.0-r1) (44/61) Purging py3-py-pyc (1.11.0-r3) (45/61) Purging py3-py (1.11.0-r3) (46/61) Purging py3-testpath-pyc (0.6.0-r3) (47/61) Purging py3-testpath (0.6.0-r3) (48/61) Purging py3-pep440-pyc (0.1.2-r3) (49/61) Purging py3-pep440 (0.1.2-r3) (50/61) Purging python3-pyc (3.12.3-r0) (51/61) Purging python3-pycache-pyc0 (3.12.3-r0) (52/61) Purging pyc (3.12.3-r0) (53/61) Purging python3 (3.12.3-r0) (54/61) Purging gdbm (1.23-r1) (55/61) Purging libbz2 (1.0.8-r6) (56/61) Purging libffi (3.4.6-r0) (57/61) Purging libpanelw (6.4_p20240330-r0) (58/61) Purging mpdecimal (4.0.0-r0) (59/61) Purging readline (8.2.10-r0) (60/61) Purging sqlite-libs (3.45.2-r0) (61/61) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r25.trigger OK: 377 MiB in 107 packages >>> jupyter-nbformat: Updating the community/x86_64 repository index... >>> jupyter-nbformat: Signing the index...