>>> py3-dataclasses-json: Building testing/py3-dataclasses-json 0.5.13-r0 (using abuild 3.11.21-r0) started Fri, 21 Jul 2023 21:15:03 +0000 >>> py3-dataclasses-json: Checking sanity of /home/buildozer/aports/testing/py3-dataclasses-json/APKBUILD... >>> py3-dataclasses-json: Analyzing dependencies... >>> py3-dataclasses-json: Installing for build: build-base python3 py3-marshmallow py3-marshmallow-enum py3-typing_inspect py3-stringcase py3-gpep517 py3-poetry-core py3-installer py3-pytest py3-hypothesis py3-mypy (1/61) Installing libbz2 (1.0.8-r6) (2/61) Installing libffi (3.4.4-r3) (3/61) Installing gdbm (1.23-r1) (4/61) Installing xz-libs (5.4.3-r1) (5/61) Installing mpdecimal (2.5.1-r2) (6/61) Installing libpanelw (6.4_p20230715-r0) (7/61) Installing readline (8.2.1-r2) (8/61) Installing sqlite-libs (3.42.0-r2) (9/61) Installing python3 (3.11.4-r1) (10/61) Installing python3-pycache-pyc0 (3.11.4-r1) (11/61) Installing pyc (0.1-r0) (12/61) Installing python3-pyc (3.11.4-r1) (13/61) Installing py3-marshmallow (3.20.1-r0) (14/61) Installing py3-marshmallow-pyc (3.20.1-r0) (15/61) Installing py3-marshmallow-enum (1.5.1-r5) (16/61) Installing py3-marshmallow-enum-pyc (1.5.1-r5) (17/61) Installing py3-mypy-extensions (1.0.0-r2) (18/61) Installing py3-mypy-extensions-pyc (1.0.0-r2) (19/61) Installing py3-typing-extensions (4.7.1-r0) (20/61) Installing py3-typing-extensions-pyc (4.7.1-r0) (21/61) Installing py3-typing_inspect (0.9.0-r0) (22/61) Installing py3-typing_inspect-pyc (0.9.0-r0) (23/61) Installing py3-stringcase (1.2.0-r5) (24/61) Installing py3-stringcase-pyc (1.2.0-r5) (25/61) Installing py3-installer (0.7.0-r1) (26/61) Installing py3-installer-pyc (0.7.0-r1) (27/61) Installing py3-gpep517 (13-r2) (28/61) Installing py3-gpep517-pyc (13-r2) (29/61) Installing py3-attrs (23.1.0-r1) (30/61) Installing py3-attrs-pyc (23.1.0-r1) (31/61) Installing py3-rpds (0.9.2-r0) (32/61) Installing py3-rpds-pyc (0.9.2-r0) (33/61) Installing py3-referencing (0.30.0-r0) (34/61) Installing py3-referencing-pyc (0.30.0-r0) (35/61) Installing py3-jsonschema-specifications (2023.07.1-r0) (36/61) Installing py3-jsonschema-specifications-pyc (2023.07.1-r0) (37/61) Installing py3-jsonschema (4.18.4-r0) (38/61) Installing py3-jsonschema-pyc (4.18.4-r0) (39/61) Installing py3-lark-parser (1.1.7-r0) (40/61) Installing py3-lark-parser-pyc (1.1.7-r0) (41/61) Installing py3-parsing (3.1.0-r0) (42/61) Installing py3-parsing-pyc (3.1.0-r0) (43/61) Installing py3-packaging (23.1-r1) (44/61) Installing py3-packaging-pyc (23.1-r1) (45/61) Installing py3-poetry-core (1.6.1-r0) (46/61) Installing py3-poetry-core-pyc (1.6.1-r0) (47/61) Installing py3-iniconfig (1.1.1-r6) (48/61) Installing py3-iniconfig-pyc (1.1.1-r6) (49/61) Installing py3-pluggy (1.2.0-r0) (50/61) Installing py3-pluggy-pyc (1.2.0-r0) (51/61) Installing py3-py (1.11.0-r2) (52/61) Installing py3-py-pyc (1.11.0-r2) (53/61) Installing py3-pytest (7.4.0-r0) (54/61) Installing py3-pytest-pyc (7.4.0-r0) (55/61) Installing py3-sortedcontainers (2.4.0-r3) (56/61) Installing py3-sortedcontainers-pyc (2.4.0-r3) (57/61) Installing py3-hypothesis (6.81.2-r0) (58/61) Installing py3-hypothesis-pyc (6.81.2-r0) (59/61) Installing py3-mypy (1.4.1-r0) (60/61) Installing py3-mypy-pyc (1.4.1-r0) (61/61) Installing .makedepends-py3-dataclasses-json (20230721.211505) Executing busybox-1.36.1-r3.trigger OK: 453 MiB in 166 packages >>> py3-dataclasses-json: Cleaning up srcdir >>> py3-dataclasses-json: Cleaning up pkgdir >>> py3-dataclasses-json: Cleaning up tmpdir >>> py3-dataclasses-json: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dataclasses-json-0.5.13.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 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-dataclasses-json: Fetching dataclasses-json-0.5.13.tar.gz::https://github.com/lidatong/dataclasses-json/archive/v0.5.13.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 72039 0 72039 0 0 144k 0 --:--:-- --:--:-- --:--:-- 144k >>> py3-dataclasses-json: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dataclasses-json-0.5.13.tar.gz >>> py3-dataclasses-json: Checking sha512sums... dataclasses-json-0.5.13.tar.gz: OK >>> py3-dataclasses-json: Unpacking /var/cache/distfiles/edge/dataclasses-json-0.5.13.tar.gz... 2023-07-21 21:15:09,506 gpep517 INFO Building wheel via backend poetry.core.masonry.api 2023-07-21 21:15:09,758 poetry.core.masonry.builders.wheel INFO Building wheel 2023-07-21 21:15:09,777 poetry.core.masonry.builders.wheel INFO Built dataclasses_json-0.5.13-py3-none-any.whl 2023-07-21 21:15:09,777 gpep517 INFO The backend produced .dist/dataclasses_json-0.5.13-py3-none-any.whl dataclasses_json-0.5.13-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 rootdir: /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13 plugins: hypothesis-6.81.2 collected 283 items tests/test_annotations.py s [ 0%] tests/test_api.py ........s.s....................... [ 12%] tests/test_builtins.py .. [ 13%] tests/test_collections.py .............................................. [ 29%] ......... [ 32%] tests/test_dict.py .................. [ 38%] tests/test_enum.py .......................... [ 48%] tests/test_examples.py ..... [ 49%] tests/test_exclude.py .... [ 51%] tests/test_global_config.py .. [ 51%] tests/test_invariants.py . [ 52%] tests/test_letter_case.py ................. [ 58%] tests/test_metadata.py ... [ 59%] tests/test_nested.py ...... [ 61%] tests/test_recursive.py ... [ 62%] tests/test_schema.py ......... [ 65%] tests/test_str_subclass.py .. [ 66%] tests/test_time.py .......... [ 69%] tests/test_tuples.py ...... [ 72%] tests/test_undefined_parameters.py ............................... [ 83%] tests/test_union.py ............................................ [ 98%] tests/test_unsupported_generics.py .... [100%] =============================== warnings summary =============================== dataclasses_json/mm.py:252 tests/test_examples.py::TestEncoder::test_students_missing tests/test_union.py::test_serialize[obj17-expected17-{"f1": null}] tests/test_union.py::test_serialize[obj18-expected18-{"f1": "str1"}] tests/test_union.py::test_serialize[obj19-expected19-{"f1": null}] tests/test_union.py::test_deserialize[expected_obj17-data17-{"f1": null}] tests/test_union.py::test_deserialize[expected_obj18-data18-{"f1": "str1"}] tests/test_union.py::test_deserialize[expected_obj19-data19-{"f1": null}] /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:252: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. return TYPES[origin](*args, **options) ../../../../../../../usr/lib/python3.11/site-packages/marshmallow/fields.py:1558: 1 warning tests/test_enum.py: 13 warnings tests/test_undefined_parameters.py: 15 warnings /usr/lib/python3.11/site-packages/marshmallow/fields.py:1558: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(**kwargs) tests/test_api.py: 3 warnings tests/test_schema.py: 1 warning tests/test_union.py: 44 warnings /usr/lib/python3.11/site-packages/marshmallow/fields.py:569: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'field_many': False} super().__init__(default=default, dump_default=dump_default, **kwargs) tests/test_api.py::TestSchema::test_loads_default tests/test_api.py::TestSchema::test_loads_default_many tests/test_api.py::TestSchema::test_dumps_default tests/test_api.py::TestSchema::test_dumps_default_many tests/test_api.py::TestSchema::test_loads_infer_missing_nested tests/test_examples.py::TestEncoder::test_students_missing tests/test_schema.py::TestSchema::test_optional tests/test_schema.py::TestSchema::test_not_providing_required_field /usr/lib/python3.11/site-packages/marshmallow/fields.py:944: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(**kwargs) tests/test_api.py::TestSchema::test_loads_default tests/test_api.py::TestSchema::test_loads_default_many tests/test_api.py::TestSchema::test_dumps_default tests/test_api.py::TestSchema::test_dumps_default_many /usr/lib/python3.11/site-packages/marshmallow/fields.py:1176: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(**kwargs) tests/test_api.py::TestSchema::test_dumps_new_type /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:263: UserWarning: Unknown type tests.entities.UUIDWrapper at DataClassWithNewType.id: tests.entities.UUIDWrapper It's advised to pass the correct marshmallow type to `mm_field`. warnings.warn( tests/test_api.py::TestSchema::test_dumps_nested_new_type /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:263: UserWarning: Unknown type tests.entities.UUIDWrapperWrapper at DataClassWithNestedNewType.id: tests.entities.UUIDWrapperWrapper It's advised to pass the correct marshmallow type to `mm_field`. warnings.warn( tests/test_api.py::TestSchema::test_loads_infer_missing /usr/lib/python3.11/site-packages/marshmallow/fields.py:944: RemovedInMarshmallow4Warning: The 'missing' argument to fields is deprecated. Use 'load_default' instead. super().__init__(**kwargs) tests/test_api.py::TestSchema::test_loads_infer_missing_nested /usr/lib/python3.11/site-packages/marshmallow/fields.py:569: RemovedInMarshmallow4Warning: The 'missing' argument to fields is deprecated. Use 'load_default' instead. super().__init__(default=default, dump_default=dump_default, **kwargs) tests/test_collections.py::TestDecoder::test_optional_unbound /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/core.py:187: RuntimeWarning: `NoneType` object value of non-optional type x detected when decoding DataClassWithOptionalUnbound. warnings.warn( tests/test_dict.py::TestValidator::test_dataclass_with_typed_dict[metadata_dict2-False] /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:107: UserWarning: The type "bool" (value: "True") is not in the list of possible types of typing.Union (dataclass: DataWithTypedDict, field: metadata). Value cannot be deserialized properly. warnings.warn( tests/test_enum.py: 17 warnings /usr/lib/python3.11/site-packages/marshmallow/fields.py:1880: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(**kwargs) tests/test_enum.py: 13 warnings tests/test_schema.py: 2 warnings /usr/lib/python3.11/site-packages/marshmallow/fields.py:751: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(**kwargs) tests/test_recursive.py::TestRecursive::test_tree_schema_round_trip /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:263: UserWarning: Unknown type ForwardRef('Tree') at Tree.left: typing.Optional[ForwardRef('Tree')] It's advised to pass the correct marshmallow type to `mm_field`. warnings.warn( tests/test_recursive.py::TestRecursive::test_tree_schema_round_trip tests/test_recursive.py::TestRecursive::test_tree_schema_round_trip tests/test_recursive.py::TestRecursive::test_tree_schema_round_trip tests/test_recursive.py::TestRecursive::test_tree_schema_round_trip /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:266: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. return fields.Field(**options) tests/test_recursive.py::TestRecursive::test_tree_schema_round_trip /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:263: UserWarning: Unknown type ForwardRef('Tree') at Tree.right: typing.Optional[ForwardRef('Tree')] It's advised to pass the correct marshmallow type to `mm_field`. warnings.warn( tests/test_schema.py: 1 warning tests/test_undefined_parameters.py: 10 warnings tests/test_union.py: 10 warnings /usr/lib/python3.11/site-packages/marshmallow/fields.py:569: RemovedInMarshmallow4Warning: Passing field metadata as keyword arguments is deprecated. Use the explicit `metadata=...` argument instead. Additional metadata: {'field_many': True} super().__init__(default=default, dump_default=dump_default, **kwargs) tests/test_union.py: 10 warnings /home/buildozer/aports/testing/py3-dataclasses-json/src/dataclasses-json-0.5.13/dataclasses_json/mm.py:73: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(*args, **kwargs) tests/test_union.py::test_serialize[obj11-expected11-{"f1": {"f1": 1}}] tests/test_union.py::test_serialize[obj12-expected12-{"f1": null}] tests/test_union.py::test_serialize[obj13-expected13-{"f1": {"f1": {"f1": "str1", "__type": "Aux2"}, "__type": "C5"}}] tests/test_union.py::test_serialize[obj14-expected14-{"f1": {"f1": {"f1": 12}, "__type": "C6"}}] tests/test_union.py::test_deserialize[expected_obj11-data11-{"f1": {"f1": 1}}] tests/test_union.py::test_deserialize[expected_obj12-data12-{"f1": null}] tests/test_union.py::test_deserialize[expected_obj13-data13-{"f1": {"f1": {"f1": "str1", "__type": "Aux2"}, "__type": "C5"}}] tests/test_union.py::test_deserialize[expected_obj14-data14-{"f1": {"f1": {"f1": 12}, "__type": "C6"}}] /usr/lib/python3.11/site-packages/marshmallow/fields.py:569: RemovedInMarshmallow4Warning: The 'default' argument to fields is deprecated. Use 'dump_default' instead. super().__init__(default=default, dump_default=dump_default, **kwargs) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================= 280 passed, 3 skipped, 180 warnings in 2.77s ================= >>> py3-dataclasses-json: Entering fakeroot... >>> py3-dataclasses-json-pyc*: Running split function pyc... '/home/buildozer/aports/testing/py3-dataclasses-json/pkg/py3-dataclasses-json/usr/lib/python3.11/site-packages/dataclasses_json/__pycache__' -> '/home/buildozer/aports/testing/py3-dataclasses-json/pkg/py3-dataclasses-json-pyc/usr/lib/python3.11/site-packages/dataclasses_json/__pycache__' >>> py3-dataclasses-json-pyc*: Preparing subpackage py3-dataclasses-json-pyc... >>> py3-dataclasses-json-pyc*: Running postcheck for py3-dataclasses-json-pyc >>> py3-dataclasses-json*: Running postcheck for py3-dataclasses-json >>> py3-dataclasses-json*: Preparing package py3-dataclasses-json... >>> py3-dataclasses-json*: Stripping binaries >>> WARNING: py3-dataclasses-json*: No arch specific binaries found so arch should probably be set to "noarch" >>> py3-dataclasses-json-pyc*: Scanning shared objects >>> py3-dataclasses-json*: Scanning shared objects >>> py3-dataclasses-json-pyc*: Tracing dependencies... python3 py3-marshmallow py3-marshmallow-enum py3-typing_inspect py3-stringcase python3~3.11 >>> py3-dataclasses-json-pyc*: Package size: 124.0 KB >>> py3-dataclasses-json-pyc*: Compressing data... >>> py3-dataclasses-json-pyc*: Create checksum... >>> py3-dataclasses-json-pyc*: Create py3-dataclasses-json-pyc-0.5.13-r0.apk >>> py3-dataclasses-json*: Tracing dependencies... python3 py3-marshmallow py3-marshmallow-enum py3-typing_inspect py3-stringcase python3~3.11 >>> py3-dataclasses-json*: Package size: 140.0 KB >>> py3-dataclasses-json*: Compressing data... >>> py3-dataclasses-json*: Create checksum... >>> py3-dataclasses-json*: Create py3-dataclasses-json-0.5.13-r0.apk >>> py3-dataclasses-json: Build complete at Fri, 21 Jul 2023 21:15:14 +0000 elapsed time 0h 0m 11s >>> py3-dataclasses-json: Cleaning up srcdir >>> py3-dataclasses-json: Cleaning up pkgdir >>> py3-dataclasses-json: Uninstalling dependencies... (1/61) Purging .makedepends-py3-dataclasses-json (20230721.211505) (2/61) Purging py3-marshmallow-enum-pyc (1.5.1-r5) (3/61) Purging py3-marshmallow-enum (1.5.1-r5) (4/61) Purging py3-marshmallow-pyc (3.20.1-r0) (5/61) Purging py3-marshmallow (3.20.1-r0) (6/61) Purging py3-typing_inspect-pyc (0.9.0-r0) (7/61) Purging py3-typing_inspect (0.9.0-r0) (8/61) Purging py3-stringcase-pyc (1.2.0-r5) (9/61) Purging py3-stringcase (1.2.0-r5) (10/61) Purging py3-gpep517-pyc (13-r2) (11/61) Purging py3-gpep517 (13-r2) (12/61) Purging py3-poetry-core-pyc (1.6.1-r0) (13/61) Purging py3-poetry-core (1.6.1-r0) (14/61) Purging py3-jsonschema-pyc (4.18.4-r0) (15/61) Purging py3-jsonschema (4.18.4-r0) (16/61) Purging py3-jsonschema-specifications-pyc (2023.07.1-r0) (17/61) Purging py3-jsonschema-specifications (2023.07.1-r0) (18/61) Purging py3-referencing-pyc (0.30.0-r0) (19/61) Purging py3-referencing (0.30.0-r0) (20/61) Purging py3-rpds-pyc (0.9.2-r0) (21/61) Purging py3-rpds (0.9.2-r0) (22/61) Purging py3-lark-parser-pyc (1.1.7-r0) (23/61) Purging py3-lark-parser (1.1.7-r0) (24/61) Purging py3-installer-pyc (0.7.0-r1) (25/61) Purging py3-installer (0.7.0-r1) (26/61) Purging py3-pytest-pyc (7.4.0-r0) (27/61) Purging py3-pytest (7.4.0-r0) (28/61) Purging py3-iniconfig-pyc (1.1.1-r6) (29/61) Purging py3-iniconfig (1.1.1-r6) (30/61) Purging py3-packaging-pyc (23.1-r1) (31/61) Purging py3-packaging (23.1-r1) (32/61) Purging py3-parsing-pyc (3.1.0-r0) (33/61) Purging py3-parsing (3.1.0-r0) (34/61) Purging py3-pluggy-pyc (1.2.0-r0) (35/61) Purging py3-pluggy (1.2.0-r0) (36/61) Purging py3-py-pyc (1.11.0-r2) (37/61) Purging py3-py (1.11.0-r2) (38/61) Purging py3-hypothesis-pyc (6.81.2-r0) (39/61) Purging py3-hypothesis (6.81.2-r0) (40/61) Purging py3-attrs-pyc (23.1.0-r1) (41/61) Purging py3-attrs (23.1.0-r1) (42/61) Purging py3-sortedcontainers-pyc (2.4.0-r3) (43/61) Purging py3-sortedcontainers (2.4.0-r3) (44/61) Purging py3-mypy-pyc (1.4.1-r0) (45/61) Purging py3-mypy (1.4.1-r0) (46/61) Purging py3-mypy-extensions-pyc (1.0.0-r2) (47/61) Purging py3-mypy-extensions (1.0.0-r2) (48/61) Purging py3-typing-extensions-pyc (4.7.1-r0) (49/61) Purging py3-typing-extensions (4.7.1-r0) (50/61) Purging python3-pyc (3.11.4-r1) (51/61) Purging python3-pycache-pyc0 (3.11.4-r1) (52/61) Purging pyc (0.1-r0) (53/61) Purging python3 (3.11.4-r1) (54/61) Purging gdbm (1.23-r1) (55/61) Purging libbz2 (1.0.8-r6) (56/61) Purging libffi (3.4.4-r3) (57/61) Purging libpanelw (6.4_p20230715-r0) (58/61) Purging mpdecimal (2.5.1-r2) (59/61) Purging readline (8.2.1-r2) (60/61) Purging sqlite-libs (3.42.0-r2) (61/61) Purging xz-libs (5.4.3-r1) Executing busybox-1.36.1-r3.trigger OK: 376 MiB in 105 packages >>> py3-dataclasses-json: Updating the testing/x86_64 repository index... >>> py3-dataclasses-json: Signing the index...