>>> py3-orjson: Building community/py3-orjson 3.10.9-r0 (using abuild 3.14.0-r0) started Mon, 21 Oct 2024 22:00:16 +0000 >>> py3-orjson: Validating /home/buildozer/aports/community/py3-orjson/APKBUILD... >>> WARNING: py3-orjson: Setting the maintainer with a comment is deprecated. Use maintainer="Patrycja Rosa " instead >>> py3-orjson: Analyzing dependencies... >>> py3-orjson: Installing for build: build-base cargo py3-gpep517 py3-maturin python3-dev py3-dateutil py3-numpy py3-pytest py3-tz tzdata (1/47) Installing libffi (3.4.6-r0) (2/47) Installing xz-libs (5.6.3-r0) (3/47) Installing libxml2 (2.13.4-r1) (4/47) Installing llvm19-libs (19.1.1-r0) (5/47) Installing scudo-malloc (19.1.1-r0) (6/47) Installing rust (1.82.0-r0) (7/47) Installing cargo (1.82.0-r0) (8/47) Installing libbz2 (1.0.8-r6) (9/47) Installing gdbm (1.24-r0) (10/47) Installing mpdecimal (4.0.0-r0) (11/47) Installing libpanelw (6.5_p20241006-r0) (12/47) Installing sqlite-libs (3.46.1-r0) (13/47) Installing python3 (3.12.7-r0) (14/47) Installing python3-pycache-pyc0 (3.12.7-r0) (15/47) Installing pyc (3.12.7-r0) (16/47) Installing py3-installer-pyc (0.7.0-r2) (17/47) Installing py3-gpep517-pyc (16-r0) (18/47) Installing python3-pyc (3.12.7-r0) (19/47) Installing py3-installer (0.7.0-r2) (20/47) Installing py3-gpep517 (16-r0) (21/47) Installing maturin (1.5.1-r0) (22/47) Installing py3-maturin (1.5.1-r0) (23/47) Installing python3-dev (3.12.7-r0) (24/47) Installing py3-six (1.16.0-r9) (25/47) Installing py3-six-pyc (1.16.0-r9) (26/47) Installing py3-dateutil (2.9.0-r1) (27/47) Installing py3-dateutil-pyc (2.9.0-r1) (28/47) Installing libgfortran (14.2.0-r4) (29/47) Installing openblas (0.3.28-r0) (30/47) Installing py3-numpy (2.1.2-r0) (31/47) Installing py3-numpy-pyc (2.1.2-r0) (32/47) Installing py3-iniconfig (2.0.0-r1) (33/47) Installing py3-iniconfig-pyc (2.0.0-r1) (34/47) Installing py3-parsing (3.1.4-r0) (35/47) Installing py3-parsing-pyc (3.1.4-r0) (36/47) Installing py3-packaging (24.1-r0) (37/47) Installing py3-packaging-pyc (24.1-r0) (38/47) Installing py3-pluggy (1.5.0-r0) (39/47) Installing py3-pluggy-pyc (1.5.0-r0) (40/47) Installing py3-py (1.11.0-r4) (41/47) Installing py3-py-pyc (1.11.0-r4) (42/47) Installing py3-pytest (8.3.3-r0) (43/47) Installing py3-pytest-pyc (8.3.3-r0) (44/47) Installing py3-tz (2024.2-r0) (45/47) Installing py3-tz-pyc (2024.2-r0) (46/47) Installing tzdata (2024b-r1) (47/47) Installing .makedepends-py3-orjson (20241021.220018) Executing busybox-1.37.0-r3.trigger OK: 974 MiB in 152 packages >>> py3-orjson: Cleaning up srcdir >>> py3-orjson: Cleaning up pkgdir >>> py3-orjson: Cleaning up tmpdir >>> py3-orjson: Fetching https://distfiles.alpinelinux.org/distfiles/edge//py3-orjson-3.10.9.tar.gz >>> py3-orjson: Fetching https://distfiles.alpinelinux.org/distfiles/edge//py3-orjson-3.10.9.tar.gz >>> py3-orjson: Checking sha512sums... py3-orjson-3.10.9.tar.gz: OK >>> py3-orjson: Unpacking /var/cache/distfiles/edge/py3-orjson-3.10.9.tar.gz... 2024-10-21 22:00:27,301 gpep517 INFO Building wheel via backend maturin Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off --frozen` 📦 Including license file "/home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9/LICENSE-APACHE" 📦 Including license file "/home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9/LICENSE-MIT" 🍹 Building a mixed python/rust project 🔗 Found pyo3-ffi bindings 🐍 Found CPython 3.12 at /usr/bin/python3 Compiling target-lexicon v0.12.16 Compiling proc-macro2 v1.0.88 Compiling unicode-ident v1.0.13 Compiling once_cell v1.20.2 Compiling serde v1.0.210 Compiling rustversion v1.0.18 Compiling libc v0.2.161 Compiling shlex v1.3.0 Compiling cfg-if v1.0.0 Compiling cc v1.1.31 Compiling itoa v1.0.11 Compiling version_check v0.9.5 Compiling ryu v1.0.18 Compiling serde_json v1.0.131 Compiling pyo3-build-config v0.23.0-dev (/home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9/include/pyo3/pyo3-build-config) Compiling memchr v2.7.4 Compiling static_assertions v1.1.0 Compiling half v2.4.1 Compiling encoding_rs v0.8.34 Compiling bytecount v0.6.8 Compiling quote v1.0.37 Compiling smallvec v1.13.2 Compiling castaway v0.2.3 Compiling syn v2.0.79 Compiling associative-cache v2.0.0 Compiling jiff v0.1.13 Compiling itoap v1.0.1 Compiling simdutf8 v0.1.5 Compiling xxhash-rust v0.8.12 Compiling pyo3-ffi v0.23.0-dev (/home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9/include/pyo3/pyo3-ffi) Compiling orjson v3.10.9 (/home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9) Compiling serde_derive v1.0.210 Compiling compact_str v0.8.0 Compiling arrayvec v0.7.6 Finished `release` profile [optimized] target(s) in 47.16s 📦 Built wheel for CPython 3.12 to /home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9/target/wheels/orjson-3.10.9-cp312-cp312-linux_s390x.whl /home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9/target/wheels/orjson-3.10.9-cp312-cp312-linux_s390x.whl 2024-10-21 22:01:14,905 gpep517 INFO The backend produced .dist/orjson-3.10.9-cp312-cp312-linux_s390x.whl orjson-3.10.9-cp312-cp312-linux_s390x.whl ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/community/py3-orjson/src/orjson-3.10.9 configfile: pyproject.toml collected 1271 items test/test_api.py .................................. [ 2%] test/test_append_newline.py .F.F. [ 3%] test/test_canonical.py ... [ 3%] test/test_circular.py ....... [ 3%] test/test_dataclass.py ................... [ 5%] test/test_datetime.py ............s..s.s..s..ss............s............ [ 9%] . [ 9%] test/test_default.py ........................ [ 11%] test/test_dict.py .................... [ 12%] test/test_enum.py ............. [ 13%] test/test_error.py ............... [ 15%] test/test_fake.py s [ 15%] test/test_fixture.py F.F.. [ 15%] test/test_fragment.py ................s................................. [ 19%] ........................................................................ [ 25%] ........................................................................ [ 30%] ........................................................................ [ 36%] ..................................................................... [ 41%] test/test_indent.py .....F..F [ 42%] test/test_issue221.py .. [ 42%] test/test_issue331.py ...... [ 43%] test/test_jsonchecker.py .................................F.. [ 46%] test/test_memory.py ssssssssssss [ 46%] test/test_non_str_keys.py ............................... [ 49%] test/test_numpy.py ..................................................... [ 53%] ............................................F...FFs. [ 57%] test/test_parsing.py ................................................... [ 61%] ........................................................................ [ 67%] ........................................................................ [ 73%] ........................................................................ [ 78%] ................................................... [ 82%] test/test_reentrant.py . [ 82%] test/test_roundtrip.py ...........FFF.FFFF........ [ 84%] test/test_sort_keys.py .... [ 85%] test/test_subclass.py ...FF............ [ 86%] test/test_transform.py ....F............ [ 87%] test/test_type.py ...................................................... [ 92%] .......s...............FFF.FF......... [ 95%] test/test_typeddict.py . [ 95%] test/test_ujson.py F...................F............................... [ 99%] test/test_uuid.py ......... [100%] =================================== FAILURES =================================== ____________________ TestAppendNewline.test_twitter_newline ____________________ self = def test_twitter_newline(self): """ loads(),dumps() twitter.json OPT_APPEND_NEWLINE """ val = read_fixture_obj("twitter.json.xz") > assert orjson.loads(orjson.dumps(val, option=orjson.OPT_APPEND_NEWLINE)) == val E AssertionError: assert {'search_meta...}, ...}, ...]} == {'search_meta...}, ...}, ...]} E E Differing items: E {'search_metadata': {'completed_in': 0.087, 'count': 100, 'max_id': 1459309420062835975, 'max_id_str': '505874924095815681', ...}} != {'search_metadata': {'completed_in': 0.087, 'count': 100, 'max_id': 505874924095815700, 'max_id_str': '505874924095815681', ...}} E {'statuses': [{'contributors': None, 'coordinates': None, 'created_at': 'Sun Aug 31 00:29:15 +0000 2014', 'entities': ... Aug 31 00:29:13 +0000 2014', 'entities': {'hashtags': [], 'symbols': [], 'urls': [], 'user_mentions': []}, ...}, ...]} != {'statuses': [{'contributors': None, 'coordinates': N... E E ...Full output truncated (2 lines hidden), use '-vv' to show test/test_append_newline.py:20: AssertionError _________________ TestAppendNewline.test_citm_catalog_newline __________________ self = def test_citm_catalog_newline(self): """ loads(), dumps() citm_catalog.json OPT_APPEND_NEWLINE """ val = read_fixture_obj("citm_catalog.json.xz") > assert orjson.loads(orjson.dumps(val, option=orjson.OPT_APPEND_NEWLINE)) == val E AssertionError: assert {'areaNames':....}, ...}, ...} == {'areaNames':....}, ...}, ...} E E Omitting 10 identical items, use -vv to show E Differing items: E {'performances': [{'eventId': 138586341, 'id': 339887544, 'logo': None, 'name': None, ...}, {'eventId': 339420802, 'id...ne, ...}, {'eventId': 138586353, 'id': 138586355, 'logo': '/images/UE0AAAAACEKo8QAAAAZDSVRN', 'name': None, ...}, ...]} != {'performances': [{'eventId': 138586341, 'id': 339887544, 'logo': None, 'name': None, ...}, {'eventId': 339420802, 'id...ne, ...}, {'eventId': 138586353, 'id': 138586355, 'logo': '/images/UE0AAAAACEKo8QAAAAZDSVRN', 'name': None, ...}, ...]} E Use -v to get more diff test/test_append_newline.py:34: AssertionError ___________________________ TestFixture.test_twitter ___________________________ self = def test_twitter(self): """ loads(),dumps() twitter.json """ val = read_fixture_str("twitter.json.xz") read = orjson.loads(val) > assert orjson.loads(orjson.dumps(read)) == read E AssertionError: assert {'search_meta...}, ...}, ...]} == {'search_meta...}, ...}, ...]} E E Differing items: E {'search_metadata': {'completed_in': 0.087, 'count': 100, 'max_id': 1459309420062835975, 'max_id_str': '505874924095815681', ...}} != {'search_metadata': {'completed_in': 0.087, 'count': 100, 'max_id': 505874924095815700, 'max_id_str': '505874924095815681', ...}} E {'statuses': [{'contributors': None, 'coordinates': None, 'created_at': 'Sun Aug 31 00:29:15 +0000 2014', 'entities': ... Aug 31 00:29:13 +0000 2014', 'entities': {'hashtags': [], 'symbols': [], 'urls': [], 'user_mentions': []}, ...}, ...]} != {'statuses': [{'contributors': None, 'coordinates': N... E E ...Full output truncated (2 lines hidden), use '-vv' to show test/test_fixture.py:17: AssertionError ________________________ TestFixture.test_citm_catalog _________________________ self = def test_citm_catalog(self): """ loads(), dumps() citm_catalog.json """ val = read_fixture_str("citm_catalog.json.xz") read = orjson.loads(val) > assert orjson.loads(orjson.dumps(read)) == read E AssertionError: assert {'areaNames':....}, ...}, ...} == {'areaNames':....}, ...}, ...} E E Omitting 10 identical items, use -vv to show E Differing items: E {'performances': [{'eventId': 138586341, 'id': 339887544, 'logo': None, 'name': None, ...}, {'eventId': 339420802, 'id...ne, ...}, {'eventId': 138586353, 'id': 138586355, 'logo': '/images/UE0AAAAACEKo8QAAAAZDSVRN', 'name': None, ...}, ...]} != {'performances': [{'eventId': 138586341, 'id': 339887544, 'logo': None, 'name': None, ...}, {'eventId': 339420802, 'id...ne, ...}, {'eventId': 138586353, 'id': 138586355, 'logo': '/images/UE0AAAAACEKo8QAAAAZDSVRN', 'name': None, ...}, ...]} E Use -v to get more diff test/test_fixture.py:33: AssertionError ____________________ TestIndentedOutput.test_twitter_pretty ____________________ self = def test_twitter_pretty(self): """ twitter.json pretty """ obj = read_fixture_obj("twitter.json.xz") > assert orjson.dumps(obj, option=orjson.OPT_INDENT_2) == json.dumps( obj, indent=2, ensure_ascii=False ).encode("utf-8") E assert b'{\n "statu...: "0"\n }\n}' == b'{\n "statu...: "0"\n }\n}' E E At index 186 diff: b'1' != b'5' E Use -v to get more diff test/test_indent.py:62: AssertionError _________________ TestIndentedOutput.test_citm_catalog_pretty __________________ self = def test_citm_catalog_pretty(self): """ citm_catalog.json pretty """ obj = read_fixture_obj("citm_catalog.json.xz") > assert orjson.dumps(obj, option=orjson.OPT_INDENT_2) == json.dumps( obj, indent=2, ensure_ascii=False ).encode("utf-8") E assert b'{\n "areaN...eyel"\n }\n}' == b'{\n "areaN...eyel"\n }\n}' E E At index 74776 diff: b'1' != b'3' E Use -v to get more diff test/test_indent.py:89: AssertionError _________________________ TestJsonChecker.test_pass01 __________________________ self = def test_pass01(self): """ pass01.json """ > self._run_pass_json("pass01.json", PATTERN_1) test/test_jsonchecker.py:231: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'pass01.json' match = b'["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":12...\t`1~!@#$%^&*()_+-=[]{}|;:\',./<>?":"A key can be any string"},0.5,98.6,99.44,1066,10.0,1.0,0.1,1.0,2.0,2.0,"rosebud"]' def _run_pass_json(self, filename, match=""): data = read_fixture_str(filename, "jsonchecker") > assert orjson.dumps(orjson.loads(data)) == match E assert b'["JSON Test....0,"rosebud"]' == b'["JSON Test....0,"rosebud"]' E E At index 115 diff: b'5' != b'2' E Use -v to get more diff test/test_jsonchecker.py:22: AssertionError ____________________ TestNumpyEquivalence.test_numpy_uint32 ____________________ self = def test_numpy_uint32(self): > self._test(numpy.array([0, 4294967295], numpy.uint32)) test/test_numpy.py:1086: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = array([ 0, 4294967295], dtype=uint32) def _test(self, obj): > assert orjson.dumps(obj, option=orjson.OPT_SERIALIZE_NUMPY) == orjson.dumps( obj.tolist() ) E AssertionError: assert b'[0,4294967295]' == b'[0,18446744069414584320]' E E At index 3 diff: b'4' != b'1' E Use -v to get more diff test/test_numpy.py:1075: AssertionError ____________________ TestNumpyEquivalence.test_numpy_int32 _____________________ self = def test_numpy_int32(self): > self._test(numpy.array([-2147483647, 2147483647], numpy.int32)) test/test_numpy.py:1098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = array([-2147483647, 2147483647], dtype=int32) def _test(self, obj): > assert orjson.dumps(obj, option=orjson.OPT_SERIALIZE_NUMPY) == orjson.dumps( obj.tolist() ) E AssertionError: assert b'[-2147483647,2147483647]' == b'[7205814808...519658770432]' E E At index 1 diff: b'-' != b'7' E Use -v to get more diff test/test_numpy.py:1075: AssertionError ____________________ TestNumpyEquivalence.test_numpy_int64 _____________________ self = def test_numpy_int64(self): > self._test( numpy.array([-9223372036854775807, 9223372036854775807], numpy.int64) ) test/test_numpy.py:1101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = obj = array([-9223372036854775807, 9223372036854775807]) def _test(self, obj): > assert orjson.dumps(obj, option=orjson.OPT_SERIALIZE_NUMPY) == orjson.dumps( obj.tolist() ) E AssertionError: assert b'[-922337203...036854775807]' == b'[7205759403...073709551487]' E E At index 1 diff: b'-' != b'7' E Use -v to get more diff test/test_numpy.py:1075: AssertionError ______________________ TestJsonChecker.test_roundtrip012 _______________________ self = def test_roundtrip012(self): """ roundtrip012.json """ > self._run_roundtrip_json("roundtrip12.json") test/test_roundtrip.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip12.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[554050781183]' == b'[-2147483648]' E E At index 1 diff: b'5' != b'-' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestJsonChecker.test_roundtrip013 _______________________ self = def test_roundtrip013(self): """ roundtrip013.json """ > self._run_roundtrip_json("roundtrip13.json") test/test_roundtrip.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip13.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[-1477718879929115154]' == b'[-1234567890123456789]' E E At index 3 diff: b'4' != b'2' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestJsonChecker.test_roundtrip014 _______________________ self = def test_roundtrip014(self): """ roundtrip014.json """ > self._run_roundtrip_json("roundtrip14.json") test/test_roundtrip.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip14.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[128]' == b'[-9223372036854775808]' E E At index 1 diff: b'1' != b'-' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestJsonChecker.test_roundtrip016 _______________________ self = def test_roundtrip016(self): """ roundtrip016.json """ > self._run_roundtrip_json("roundtrip16.json") test/test_roundtrip.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip16.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[18446743519658770432]' == b'[2147483647]' E E At index 1 diff: b'1' != b'2' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestJsonChecker.test_roundtrip017 _______________________ self = def test_roundtrip017(self): """ roundtrip017.json """ > self._run_roundtrip_json("roundtrip17.json") test/test_roundtrip.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip17.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[18446744069414584320]' == b'[4294967295]' E E At index 1 diff: b'1' != b'4' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestJsonChecker.test_roundtrip018 _______________________ self = def test_roundtrip018(self): """ roundtrip018.json """ > self._run_roundtrip_json("roundtrip18.json") test/test_roundtrip.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip18.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[1549776473967043089]' == b'[1234567890123456789]' E E At index 2 diff: b'5' != b'2' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestJsonChecker.test_roundtrip019 _______________________ self = def test_roundtrip019(self): """ roundtrip019.json """ > self._run_roundtrip_json("roundtrip19.json") test/test_roundtrip.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'roundtrip19.json' def _run_roundtrip_json(self, filename): data = read_fixture_str(filename, "roundtrip") > assert orjson.dumps(orjson.loads(data)) == data.encode("utf-8") E AssertionError: assert b'[18446744073709551487]' == b'[9223372036854775807]' E E At index 1 diff: b'1' != b'9' E Use -v to get more diff test/test_roundtrip.py:11: AssertionError ______________________ TestSubclass.test_subclass_int_64 _______________________ self = def test_subclass_int_64(self): for val in (9223372036854775807, -9223372036854775807): > assert orjson.dumps(SubInt(val)) == str(val).encode("utf-8") E AssertionError: assert b'18446744073709551487' == b'9223372036854775807' E E At index 0 diff: b'1' != b'9' E Use -v to get more diff test/test_subclass.py:48: AssertionError ______________________ TestSubclass.test_subclass_int_53 _______________________ self = def test_subclass_int_53(self): for val in (9007199254740992, -9007199254740992): > with pytest.raises(orjson.JSONEncodeError): E Failed: DID NOT RAISE test/test_subclass.py:52: Failed ___________ TestJSONTestSuiteTransform.test_number_1000000000000000 ____________ self = def test_number_1000000000000000(self): """ number_1000000000000000.json """ > self._pass_transform("number_1000000000000000.json") test/test_transform.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = filename = 'number_1000000000000000.json', reference = None def _pass_transform(self, filename, reference=None): data = _read_file(filename) > assert orjson.dumps(orjson.loads(data)) == (reference or data) E AssertionError: assert b'[36247206819070720]' == b'[1000000000000000]' E E At index 1 diff: b'3' != b'1' E Use -v to get more diff test/test_transform.py:17: AssertionError _____________________________ TestType.test_int_53 _____________________________ self = def test_int_53(self): """ int 53-bit """ for val in (9007199254740991, -9007199254740991): assert orjson.loads(str(val)) == val > assert orjson.dumps(val, option=orjson.OPT_STRICT_INTEGER) == str( val ).encode("utf-8") E TypeError: Integer exceeds 53-bit range test/test_type.py:403: TypeError ___________________________ TestType.test_int_53_exc ___________________________ self = def test_int_53_exc(self): """ int 53-bit exception on 64-bit """ for val in (9007199254740992, -9007199254740992): > with pytest.raises(orjson.JSONEncodeError): E Failed: DID NOT RAISE test/test_type.py:412: Failed ________________________ TestType.test_int_53_exc_usize ________________________ self = def test_int_53_exc_usize(self): """ int 53-bit exception on 64-bit usize """ for val in (9223372036854775808, 18446744073709551615): > with pytest.raises(orjson.JSONEncodeError): E Failed: DID NOT RAISE test/test_type.py:420: Failed _____________________________ TestType.test_int_64 _____________________________ self = def test_int_64(self): """ int 64-bit """ for val in (9223372036854775807, -9223372036854775807): assert orjson.loads(str(val)) == val > assert orjson.dumps(val) == str(val).encode("utf-8") E AssertionError: assert b'18446744073709551487' == b'9223372036854775807' E E At index 0 diff: b'1' != b'9' E Use -v to get more diff test/test_type.py:437: AssertionError ____________________________ TestType.test_uint_64 _____________________________ self = def test_uint_64(self): """ uint 64-bit """ for val in (0, 9223372036854775808, 18446744073709551615): assert orjson.loads(str(val)) == val > assert orjson.dumps(val) == str(val).encode("utf-8") E AssertionError: assert b'128' == b'9223372036854775808' E E At index 0 diff: b'1' != b'9' E Use -v to get more diff test/test_type.py:445: AssertionError ______________________ TestUltraJSON.test_doubleLongIssue ______________________ self = def test_doubleLongIssue(self): sut = {"a": -4342969734183514} encoded = orjson.dumps(sut) decoded = orjson.loads(encoded) > assert sut == decoded E AssertionError: assert {'a': -4342969734183514} == {'a': -6465557665793511169} E E Differing items: E {'a': -4342969734183514} != {'a': -6465557665793511169} E Use -v to get more diff test/test_ujson.py:16: AssertionError __________________ TestUltraJSON.test_encodeLongNegConversion __________________ self = def test_encodeLongNegConversion(self): val = -9223372036854775808 output = orjson.dumps(val) orjson.loads(output) orjson.loads(output) > assert val == orjson.loads(output) E AssertionError: assert -9223372036854775808 == 128 E + where 128 = (b'128') E + where = orjson.loads test/test_ujson.py:183: AssertionError =========================== short test summary info ============================ FAILED test/test_append_newline.py::TestAppendNewline::test_twitter_newline FAILED test/test_append_newline.py::TestAppendNewline::test_citm_catalog_newline FAILED test/test_fixture.py::TestFixture::test_twitter - AssertionError: asse... FAILED test/test_fixture.py::TestFixture::test_citm_catalog - AssertionError:... FAILED test/test_indent.py::TestIndentedOutput::test_twitter_pretty - assert ... FAILED test/test_indent.py::TestIndentedOutput::test_citm_catalog_pretty - as... FAILED test/test_jsonchecker.py::TestJsonChecker::test_pass01 - assert b'["JS... FAILED test/test_numpy.py::TestNumpyEquivalence::test_numpy_uint32 - Assertio... FAILED test/test_numpy.py::TestNumpyEquivalence::test_numpy_int32 - Assertion... FAILED test/test_numpy.py::TestNumpyEquivalence::test_numpy_int64 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip012 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip013 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip014 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip016 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip017 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip018 - Assertion... FAILED test/test_roundtrip.py::TestJsonChecker::test_roundtrip019 - Assertion... FAILED test/test_subclass.py::TestSubclass::test_subclass_int_64 - AssertionE... FAILED test/test_subclass.py::TestSubclass::test_subclass_int_53 - Failed: DI... FAILED test/test_transform.py::TestJSONTestSuiteTransform::test_number_1000000000000000 FAILED test/test_type.py::TestType::test_int_53 - TypeError: Integer exceeds ... FAILED test/test_type.py::TestType::test_int_53_exc - Failed: DID NOT RAISE <... FAILED test/test_type.py::TestType::test_int_53_exc_usize - Failed: DID NOT R... FAILED test/test_type.py::TestType::test_int_64 - AssertionError: assert b'18... FAILED test/test_type.py::TestType::test_uint_64 - AssertionError: assert b'1... FAILED test/test_ujson.py::TestUltraJSON::test_doubleLongIssue - AssertionErr... FAILED test/test_ujson.py::TestUltraJSON::test_encodeLongNegConversion - Asse... ================= 27 failed, 1221 passed, 23 skipped in 15.37s ================= >>> ERROR: py3-orjson: check failed >>> py3-orjson: Uninstalling dependencies... (1/47) Purging .makedepends-py3-orjson (20241021.220018) (2/47) Purging cargo (1.82.0-r0) (3/47) Purging rust (1.82.0-r0) (4/47) Purging py3-gpep517-pyc (16-r0) (5/47) Purging py3-gpep517 (16-r0) (6/47) Purging py3-installer-pyc (0.7.0-r2) (7/47) Purging py3-installer (0.7.0-r2) (8/47) Purging py3-maturin (1.5.1-r0) (9/47) Purging maturin (1.5.1-r0) (10/47) Purging python3-dev (3.12.7-r0) (11/47) Purging py3-dateutil-pyc (2.9.0-r1) (12/47) Purging py3-dateutil (2.9.0-r1) (13/47) Purging py3-six-pyc (1.16.0-r9) (14/47) Purging py3-six (1.16.0-r9) (15/47) Purging py3-numpy-pyc (2.1.2-r0) (16/47) Purging py3-numpy (2.1.2-r0) (17/47) Purging openblas (0.3.28-r0) (18/47) Purging py3-pytest-pyc (8.3.3-r0) (19/47) Purging py3-pytest (8.3.3-r0) (20/47) Purging py3-iniconfig-pyc (2.0.0-r1) (21/47) Purging py3-iniconfig (2.0.0-r1) (22/47) Purging py3-packaging-pyc (24.1-r0) (23/47) Purging py3-packaging (24.1-r0) (24/47) Purging py3-parsing-pyc (3.1.4-r0) (25/47) Purging py3-parsing (3.1.4-r0) (26/47) Purging py3-pluggy-pyc (1.5.0-r0) (27/47) Purging py3-pluggy (1.5.0-r0) (28/47) Purging py3-py-pyc (1.11.0-r4) (29/47) Purging py3-py (1.11.0-r4) (30/47) Purging py3-tz-pyc (2024.2-r0) (31/47) Purging py3-tz (2024.2-r0) (32/47) Purging python3-pyc (3.12.7-r0) (33/47) Purging python3-pycache-pyc0 (3.12.7-r0) (34/47) Purging pyc (3.12.7-r0) (35/47) Purging python3 (3.12.7-r0) (36/47) Purging tzdata (2024b-r1) (37/47) Purging gdbm (1.24-r0) (38/47) Purging libbz2 (1.0.8-r6) (39/47) Purging libgfortran (14.2.0-r4) (40/47) Purging libpanelw (6.5_p20241006-r0) (41/47) Purging llvm19-libs (19.1.1-r0) (42/47) Purging mpdecimal (4.0.0-r0) (43/47) Purging scudo-malloc (19.1.1-r0) (44/47) Purging sqlite-libs (3.46.1-r0) (45/47) Purging libffi (3.4.6-r0) (46/47) Purging libxml2 (2.13.4-r1) (47/47) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r3.trigger OK: 360 MiB in 105 packages