>>> jupyter-nbformat: Building community/jupyter-nbformat 5.9.2-r1 (using abuild 3.12.0-r5) started Sat, 13 Apr 2024 14:59: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/59) Installing libffi (3.4.6-r0) (2/59) Installing gdbm (1.23-r1) (3/59) Installing mpdecimal (4.0.0-r0) (4/59) Installing libpanelw (6.4_p20240330-r0) (5/59) Installing readline (8.2.10-r0) (6/59) Installing sqlite-libs (3.45.2-r0) (7/59) Installing python3 (3.12.3-r0) (8/59) Installing python3-pycache-pyc0 (3.12.3-r0) (9/59) Installing pyc (3.12.3-r0) (10/59) Installing py3-traitlets-pyc (5.14.1-r1) (11/59) Installing python3-pyc (3.12.3-r0) (12/59) Installing py3-traitlets (5.14.1-r1) (13/59) Installing py3-attrs (23.2.0-r1) (14/59) Installing py3-attrs-pyc (23.2.0-r1) (15/59) Installing py3-rpds-py (0.10.6-r1) (16/59) Installing py3-rpds-py-pyc (0.10.6-r1) (17/59) Installing py3-referencing (0.34.0-r1) (18/59) Installing py3-referencing-pyc (0.34.0-r1) (19/59) Installing py3-jsonschema-specifications (2023.12.1-r1) (20/59) Installing py3-jsonschema-specifications-pyc (2023.12.1-r1) (21/59) Installing py3-jsonschema (4.21.1-r1) (22/59) Installing py3-jsonschema-pyc (4.21.1-r1) (23/59) Installing py3-fastjsonschema (2.19.1-r2) (24/59) Installing py3-fastjsonschema-pyc (2.19.1-r2) (25/59) Installing py3-platformdirs (4.2.0-r1) (26/59) Installing py3-platformdirs-pyc (4.2.0-r1) (27/59) Installing py3-jupyter_core (5.3.1-r1) (28/59) Installing py3-jupyter_core-pyc (5.3.1-r1) (29/59) Installing py3-installer (0.7.0-r2) (30/59) Installing py3-installer-pyc (0.7.0-r2) (31/59) Installing py3-gpep517 (15-r2) (32/59) Installing py3-gpep517-pyc (15-r2) (33/59) Installing py3-editables (0.5-r2) (34/59) Installing py3-editables-pyc (0.5-r2) (35/59) Installing py3-parsing (3.1.2-r1) (36/59) Installing py3-parsing-pyc (3.1.2-r1) (37/59) Installing py3-packaging (24.0-r1) (38/59) Installing py3-packaging-pyc (24.0-r1) (39/59) Installing py3-pathspec (0.12.1-r2) (40/59) Installing py3-pathspec-pyc (0.12.1-r2) (41/59) Installing py3-pluggy (1.4.0-r1) (42/59) Installing py3-pluggy-pyc (1.4.0-r1) (43/59) Installing py3-trove-classifiers (2024.3.3-r2) (44/59) Installing py3-trove-classifiers-pyc (2024.3.3-r2) (45/59) Installing py3-hatchling (1.22.5-r1) (46/59) Installing py3-hatchling-pyc (1.22.5-r1) (47/59) Installing py3-hatch-nodejs-version (0.3.2-r1) (48/59) Installing py3-hatch-nodejs-version-pyc (0.3.2-r1) (49/59) Installing py3-iniconfig (2.0.0-r1) (50/59) Installing py3-iniconfig-pyc (2.0.0-r1) (51/59) Installing py3-py (1.11.0-r3) (52/59) Installing py3-py-pyc (1.11.0-r3) (53/59) Installing py3-pytest (8.1.1-r1) (54/59) Installing py3-pytest-pyc (8.1.1-r1) (55/59) Installing py3-testpath (0.6.0-r3) (56/59) Installing py3-testpath-pyc (0.6.0-r3) (57/59) Installing py3-pep440 (0.1.2-r3) (58/59) Installing py3-pep440-pyc (0.1.2-r3) (59/59) Installing .makedepends-jupyter-nbformat (20240413.145959) Executing busybox-1.36.1-r25.trigger OK: 431 MiB in 172 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 591k 0 --:--:-- --:--:-- --:--:-- 593k >>> 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 15:00:00,978 gpep517 INFO Building wheel via backend hatchling.build 2024-04-13 15:00:01,171 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.74s call tests/test_sign.py::TestNotary::test_sign_stdin 0.11s call tests/test_validator.py::test_nb2[jsonschema] 0.10s call tests/test_validator.py::test_future[fastjsonschema] 0.06s call tests/test_validator.py::test_invalid_validator_raises_value_error_after_read 0.06s call tests/test_validator.py::test_future[jsonschema] 0.06s call tests/test_api.py::TestAPI::test_read 0.06s call tests/test_api.py::TestAPI::test_capture_validation_error 0.05s call tests/test_validator.py::test_nb3[jsonschema] 0.05s call tests/test_validator.py::test_nb4jupyter_metadata_timings[fastjsonschema] 0.05s call tests/test_validator.py::test_nb4custom[fastjsonschema] =========================== 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 2.88s ======================== >>> 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/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/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/__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/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/v2/__pycache__' -> '/home/buildozer/aports/community/jupyter-nbformat/pkg/jupyter-nbformat-pyc/usr/lib/python3.12/site-packages/nbformat/v2/__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 15:00:06 +0000 elapsed time 0h 0m 9s >>> jupyter-nbformat: Cleaning up srcdir >>> jupyter-nbformat: Cleaning up pkgdir >>> jupyter-nbformat: Uninstalling dependencies... (1/59) Purging .makedepends-jupyter-nbformat (20240413.145959) (2/59) Purging py3-jsonschema-pyc (4.21.1-r1) (3/59) Purging py3-jsonschema (4.21.1-r1) (4/59) Purging py3-jsonschema-specifications-pyc (2023.12.1-r1) (5/59) Purging py3-jsonschema-specifications (2023.12.1-r1) (6/59) Purging py3-referencing-pyc (0.34.0-r1) (7/59) Purging py3-referencing (0.34.0-r1) (8/59) Purging py3-attrs-pyc (23.2.0-r1) (9/59) Purging py3-attrs (23.2.0-r1) (10/59) Purging py3-rpds-py-pyc (0.10.6-r1) (11/59) Purging py3-rpds-py (0.10.6-r1) (12/59) Purging py3-fastjsonschema-pyc (2.19.1-r2) (13/59) Purging py3-fastjsonschema (2.19.1-r2) (14/59) Purging py3-jupyter_core-pyc (5.3.1-r1) (15/59) Purging py3-jupyter_core (5.3.1-r1) (16/59) Purging py3-traitlets-pyc (5.14.1-r1) (17/59) Purging py3-traitlets (5.14.1-r1) (18/59) Purging py3-platformdirs-pyc (4.2.0-r1) (19/59) Purging py3-platformdirs (4.2.0-r1) (20/59) Purging py3-gpep517-pyc (15-r2) (21/59) Purging py3-gpep517 (15-r2) (22/59) Purging py3-installer-pyc (0.7.0-r2) (23/59) Purging py3-installer (0.7.0-r2) (24/59) Purging py3-hatch-nodejs-version-pyc (0.3.2-r1) (25/59) Purging py3-hatch-nodejs-version (0.3.2-r1) (26/59) Purging py3-hatchling-pyc (1.22.5-r1) (27/59) Purging py3-hatchling (1.22.5-r1) (28/59) Purging py3-editables-pyc (0.5-r2) (29/59) Purging py3-editables (0.5-r2) (30/59) Purging py3-pathspec-pyc (0.12.1-r2) (31/59) Purging py3-pathspec (0.12.1-r2) (32/59) Purging py3-trove-classifiers-pyc (2024.3.3-r2) (33/59) Purging py3-trove-classifiers (2024.3.3-r2) (34/59) Purging py3-pytest-pyc (8.1.1-r1) (35/59) Purging py3-pytest (8.1.1-r1) (36/59) Purging py3-iniconfig-pyc (2.0.0-r1) (37/59) Purging py3-iniconfig (2.0.0-r1) (38/59) Purging py3-packaging-pyc (24.0-r1) (39/59) Purging py3-packaging (24.0-r1) (40/59) Purging py3-parsing-pyc (3.1.2-r1) (41/59) Purging py3-parsing (3.1.2-r1) (42/59) Purging py3-pluggy-pyc (1.4.0-r1) (43/59) Purging py3-pluggy (1.4.0-r1) (44/59) Purging py3-py-pyc (1.11.0-r3) (45/59) Purging py3-py (1.11.0-r3) (46/59) Purging py3-testpath-pyc (0.6.0-r3) (47/59) Purging py3-testpath (0.6.0-r3) (48/59) Purging py3-pep440-pyc (0.1.2-r3) (49/59) Purging py3-pep440 (0.1.2-r3) (50/59) Purging python3-pyc (3.12.3-r0) (51/59) Purging python3-pycache-pyc0 (3.12.3-r0) (52/59) Purging pyc (3.12.3-r0) (53/59) Purging python3 (3.12.3-r0) (54/59) Purging gdbm (1.23-r1) (55/59) Purging libffi (3.4.6-r0) (56/59) Purging libpanelw (6.4_p20240330-r0) (57/59) Purging mpdecimal (4.0.0-r0) (58/59) Purging readline (8.2.10-r0) (59/59) Purging sqlite-libs (3.45.2-r0) Executing busybox-1.36.1-r25.trigger OK: 379 MiB in 113 packages >>> jupyter-nbformat: Updating the community/x86 repository index... >>> jupyter-nbformat: Signing the index...