Source: jsonpickle Version: 3.0.2+dfsg-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-20240224 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --with python3,sphinxdoc --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > dh_auto_build -O--buildsystem=pybuild > I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" > module > I: pybuild base:305: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12 > * Building wheel... > /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: > _DeprecatedConfig: Deprecated config in `setup.cfg` > !! > > > ******************************************************************************** > The license_file parameter is deprecated, use license_files instead. > > This deprecation is overdue, please update your project and remove > deprecated > calls to avoid build errors in the future. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > parsed = self.parsers.get(option_name, lambda x: x)(value) > running bdist_wheel > running build > running build_py > creating build > creating build/lib > creating build/lib/jsonpickle > copying jsonpickle/compat.py -> build/lib/jsonpickle > copying jsonpickle/__init__.py -> build/lib/jsonpickle > copying jsonpickle/version.py -> build/lib/jsonpickle > copying jsonpickle/pickler.py -> build/lib/jsonpickle > copying jsonpickle/handlers.py -> build/lib/jsonpickle > copying jsonpickle/tags.py -> build/lib/jsonpickle > copying jsonpickle/errors.py -> build/lib/jsonpickle > copying jsonpickle/util.py -> build/lib/jsonpickle > copying jsonpickle/unpickler.py -> build/lib/jsonpickle > copying jsonpickle/backend.py -> build/lib/jsonpickle > creating build/lib/jsonpickle/ext > copying jsonpickle/ext/__init__.py -> build/lib/jsonpickle/ext > copying jsonpickle/ext/pandas.py -> build/lib/jsonpickle/ext > copying jsonpickle/ext/numpy.py -> build/lib/jsonpickle/ext > copying jsonpickle/ext/gmpy.py -> build/lib/jsonpickle/ext > running egg_info > writing jsonpickle.egg-info/PKG-INFO > writing dependency_links to jsonpickle.egg-info/dependency_links.txt > writing requirements to jsonpickle.egg-info/requires.txt > writing top-level names to jsonpickle.egg-info/top_level.txt > reading manifest file 'jsonpickle.egg-info/SOURCES.txt' > adding license file 'LICENSE' > writing manifest file 'jsonpickle.egg-info/SOURCES.txt' > installing to build/bdist.linux-x86_64/wheel > running install > running install_lib > creating build/bdist.linux-x86_64 > creating build/bdist.linux-x86_64/wheel > creating build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/compat.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/__init__.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/version.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/pickler.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/handlers.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/tags.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/errors.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/util.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > creating build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/__init__.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/pandas.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/numpy.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/gmpy.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/unpickler.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/backend.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > running install_egg_info > Copying jsonpickle.egg-info to > build/bdist.linux-x86_64/wheel/jsonpickle-3.0.2+dfsg.egg-info > running install_scripts > creating build/bdist.linux-x86_64/wheel/jsonpickle-3.0.2+dfsg.dist-info/WHEEL > creating > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/.tmp-kwkzzij6/jsonpickle-3.0.2+dfsg-py3-none-any.whl' > and adding 'build/bdist.linux-x86_64/wheel' to it > adding 'jsonpickle/__init__.py' > adding 'jsonpickle/backend.py' > adding 'jsonpickle/compat.py' > adding 'jsonpickle/errors.py' > adding 'jsonpickle/handlers.py' > adding 'jsonpickle/pickler.py' > adding 'jsonpickle/tags.py' > adding 'jsonpickle/unpickler.py' > adding 'jsonpickle/util.py' > adding 'jsonpickle/version.py' > adding 'jsonpickle/ext/__init__.py' > adding 'jsonpickle/ext/gmpy.py' > adding 'jsonpickle/ext/numpy.py' > adding 'jsonpickle/ext/pandas.py' > adding 'jsonpickle-3.0.2+dfsg.dist-info/LICENSE' > adding 'jsonpickle-3.0.2+dfsg.dist-info/METADATA' > adding 'jsonpickle-3.0.2+dfsg.dist-info/WHEEL' > adding 'jsonpickle-3.0.2+dfsg.dist-info/top_level.txt' > adding 'jsonpickle-3.0.2+dfsg.dist-info/RECORD' > removing build/bdist.linux-x86_64/wheel > Successfully built jsonpickle-3.0.2+dfsg-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" > module > I: pybuild base:305: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11 > * Building wheel... > /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: > _DeprecatedConfig: Deprecated config in `setup.cfg` > !! > > > ******************************************************************************** > The license_file parameter is deprecated, use license_files instead. > > This deprecation is overdue, please update your project and remove > deprecated > calls to avoid build errors in the future. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > parsed = self.parsers.get(option_name, lambda x: x)(value) > running bdist_wheel > running build > running build_py > running egg_info > writing jsonpickle.egg-info/PKG-INFO > writing dependency_links to jsonpickle.egg-info/dependency_links.txt > writing requirements to jsonpickle.egg-info/requires.txt > writing top-level names to jsonpickle.egg-info/top_level.txt > reading manifest file 'jsonpickle.egg-info/SOURCES.txt' > adding license file 'LICENSE' > writing manifest file 'jsonpickle.egg-info/SOURCES.txt' > installing to build/bdist.linux-x86_64/wheel > running install > running install_lib > creating build/bdist.linux-x86_64/wheel > creating build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/compat.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/__init__.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/version.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/pickler.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/handlers.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/tags.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/errors.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/util.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > creating build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/__init__.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/pandas.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/numpy.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/ext/gmpy.py -> > build/bdist.linux-x86_64/wheel/jsonpickle/ext > copying build/lib/jsonpickle/unpickler.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > copying build/lib/jsonpickle/backend.py -> > build/bdist.linux-x86_64/wheel/jsonpickle > running install_egg_info > Copying jsonpickle.egg-info to > build/bdist.linux-x86_64/wheel/jsonpickle-3.0.2+dfsg.egg-info > running install_scripts > creating build/bdist.linux-x86_64/wheel/jsonpickle-3.0.2+dfsg.dist-info/WHEEL > creating > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/.tmp-8_ersuw7/jsonpickle-3.0.2+dfsg-py3-none-any.whl' > and adding 'build/bdist.linux-x86_64/wheel' to it > adding 'jsonpickle/__init__.py' > adding 'jsonpickle/backend.py' > adding 'jsonpickle/compat.py' > adding 'jsonpickle/errors.py' > adding 'jsonpickle/handlers.py' > adding 'jsonpickle/pickler.py' > adding 'jsonpickle/tags.py' > adding 'jsonpickle/unpickler.py' > adding 'jsonpickle/util.py' > adding 'jsonpickle/version.py' > adding 'jsonpickle/ext/__init__.py' > adding 'jsonpickle/ext/gmpy.py' > adding 'jsonpickle/ext/numpy.py' > adding 'jsonpickle/ext/pandas.py' > adding 'jsonpickle-3.0.2+dfsg.dist-info/LICENSE' > adding 'jsonpickle-3.0.2+dfsg.dist-info/METADATA' > adding 'jsonpickle-3.0.2+dfsg.dist-info/WHEEL' > adding 'jsonpickle-3.0.2+dfsg.dist-info/top_level.txt' > adding 'jsonpickle-3.0.2+dfsg.dist-info/RECORD' > removing build/bdist.linux-x86_64/wheel > Successfully built jsonpickle-3.0.2+dfsg-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; > python3.12 -m pytest -k 'not tests/ecdsa_test.py' > ============================= test session starts > ============================== > platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build > configfile: pytest.ini > collected 347 items / 1 deselected / 346 selected > > jsonpickle/pickler.py ... [ > 0%] > jsonpickle/unpickler.py ....... [ > 2%] > jsonpickle/util.py ................. [ > 7%] > tests/backend_test.py ............. [ > 11%] > tests/bson_test.py ...... [ > 13%] > tests/collections_test.py ...... [ > 15%] > tests/datetime_test.py ................ [ > 19%] > tests/document_test.py . [ > 19%] > tests/feedparser_test.py . [ > 20%] > tests/handler_test.py ...... [ > 21%] > tests/jsonpickle_test.py ............................................... [ > 35%] > ................................................................. [ > 54%] > tests/numpy_test.py ..................... [ > 60%] > tests/object_test.py ..................................................X [ > 75%] > XX................ [ > 80%] > tests/pandas_test.py .......F................ [ > 87%] > tests/sklearn_test.py .. [ > 87%] > tests/sqlalchemy_test.py ... [ > 88%] > tests/stdlib_test.py ... [ > 89%] > tests/util_test.py .................................. [ > 99%] > tests/wizard_test.py .. > [100%] > > =================================== FAILURES > =================================== > ________________________ test_timedelta_index_roundtrip > ________________________ > > def test_timedelta_index_roundtrip(): > idx = pd.timedelta_range(start='1 day', periods=4, closed='right') > > decoded_idx = roundtrip(idx) > > tests/pandas_test.py:124: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > tests/pandas_test.py:32: in roundtrip > return jsonpickle.decode(jsonpickle.encode(obj)) > jsonpickle/unpickler.py:88: in decode > return context.restore(data, reset=reset, classes=classes) > jsonpickle/unpickler.py:362: in restore > value = self._restore(obj) > jsonpickle/unpickler.py:344: in _restore > return restore(obj) > jsonpickle/unpickler.py:769: in _restore_object > instance = handler(self).restore(obj) > jsonpickle/ext/pandas.py:172: in restore > idx = self.index_constructor(decode(buf), dtype=dtype, **name_bundle) > jsonpickle/unpickler.py:88: in decode > return context.restore(data, reset=reset, classes=classes) > jsonpickle/unpickler.py:362: in restore > value = self._restore(obj) > jsonpickle/unpickler.py:344: in _restore > return restore(obj) > jsonpickle/unpickler.py:427: in _restore_list > children = [self._restore(v) for v in obj] > jsonpickle/unpickler.py:344: in _restore > return restore(obj) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <jsonpickle.unpickler.Unpickler object at 0x7f9da83b6db0> > obj = {'py/reduce': [{'py/object': > '_cython_3_0_8.cython_function_or_method'}, {'py/tuple': [172800000000000, > 10]}]} > > def _restore_reduce(self, obj): > """ > Supports restoring with all elements of __reduce__ as per pep 307. > Assumes that iterator items (the last two) are represented as lists > as per pickler implementation. > """ > proxy = _Proxy() > self._mkref(proxy) > reduce_val = list(map(self._restore, obj[tags.REDUCE])) > if len(reduce_val) < 5: > reduce_val.extend([None] * (5 - len(reduce_val))) > f, args, state, listitems, dictitems = reduce_val > > if f == tags.NEWOBJ or getattr(f, '__name__', '') == '__newobj__': > # mandated special case > cls = args[0] > if not isinstance(cls, type): > cls = self._restore(cls) > stage1 = cls.__new__(cls, *args[1:]) > else: > > stage1 = f(*args) > E TypeError: 'dict' object is not callable > > jsonpickle/unpickler.py:472: TypeError > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373 > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: > PytestConfigWarning: Unknown config option: flake8-max-line-length > > self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") > > ../../../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37 > /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: > datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal > in a future version. Use timezone-aware objects to represent datetimes in > UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). > EPOCH = datetime.datetime.utcfromtimestamp(0) > > tests/sqlalchemy_test.py:19 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/sqlalchemy_test.py:19: > MovedIn20Warning: Deprecated API features detected! These feature(s) are not > compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to > updating applications, ensure requirements files are pinned to > "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all > deprecation warnings. Set environment variable > SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on > SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) > Base = declarative.declarative_base() > > tests/bson_test.py::BSONTestCase::test_FixedOffsetSerializable > /usr/lib/python3/dist-packages/bson/__init__.py:116: DeprecationWarning: > datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal > in a future version. Use timezone-aware objects to represent datetimes in > UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). > EPOCH_NAIVE = datetime.datetime.utcfromtimestamp(0) > > tests/datetime_test.py: 12 warnings > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datetime_test.py:44: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > self._dt_read = datetime.datetime.utcnow() > > tests/datetime_test.py::DateTimeInnerReferenceTestCase::test_object_with_inner_datetime_refs > tests/datetime_test.py::DateTimeInnerReferenceTestCase::test_object_with_inner_datetime_refs > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datetime_test.py:54: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > self._dt_read = datetime.datetime.utcnow() > > tests/datetime_test.py::DateTimeSimpleTestCase::test_utc > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/datetime_test.py:152: > DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled > for removal in a future version. Use timezone-aware objects to represent > datetimes in UTC: datetime.datetime.now(datetime.UTC). > self._roundtrip(datetime.datetime.utcnow().replace(tzinfo=utc)) > > tests/feedparser_test.py::FeedParserTestCase::test > /usr/lib/python3/dist-packages/feedparser/encodings.py:29: > DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 > import cgi > > tests/numpy_test.py::test_ndarray_roundtrip > tests/sklearn_test.py::test_decision_tree > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/jsonpickle/ext/numpy.py:307: > UserWarning: ndarray is defined by reference to an object we do not know how > to serialize. A deep copy is serialized instead, breaking memory aliasing. > warnings.warn(msg) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED tests/pandas_test.py::test_timedelta_index_roundtrip - TypeError: > 'dic... > ===== 1 failed, 342 passed, 1 deselected, 3 xpassed, 22 warnings in 2.11s > ====== > E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest -k 'not > tests/ecdsa_test.py' > I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; > python3.11 -m pytest -k 'not tests/ecdsa_test.py' > ============================= test session starts > ============================== > platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build > configfile: pytest.ini > collected 347 items / 1 deselected / 346 selected > > jsonpickle/pickler.py ... [ > 0%] > jsonpickle/unpickler.py ....... [ > 2%] > jsonpickle/util.py ................. [ > 7%] > tests/backend_test.py ............. [ > 11%] > tests/bson_test.py ...... [ > 13%] > tests/collections_test.py ...... [ > 15%] > tests/datetime_test.py ................ [ > 19%] > tests/document_test.py . [ > 19%] > tests/feedparser_test.py . [ > 20%] > tests/handler_test.py ...... [ > 21%] > tests/jsonpickle_test.py ............................................... [ > 35%] > ................................................................. [ > 54%] > tests/numpy_test.py ..................... [ > 60%] > tests/object_test.py ..................................................X [ > 75%] > XX................ [ > 80%] > tests/pandas_test.py .......F................ [ > 87%] > tests/sklearn_test.py .. [ > 87%] > tests/sqlalchemy_test.py ... [ > 88%] > tests/stdlib_test.py ... [ > 89%] > tests/util_test.py .................................. [ > 99%] > tests/wizard_test.py .. > [100%] > > =================================== FAILURES > =================================== > ________________________ test_timedelta_index_roundtrip > ________________________ > > def test_timedelta_index_roundtrip(): > idx = pd.timedelta_range(start='1 day', periods=4, closed='right') > > decoded_idx = roundtrip(idx) > > tests/pandas_test.py:124: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > tests/pandas_test.py:32: in roundtrip > return jsonpickle.decode(jsonpickle.encode(obj)) > jsonpickle/unpickler.py:88: in decode > return context.restore(data, reset=reset, classes=classes) > jsonpickle/unpickler.py:362: in restore > value = self._restore(obj) > jsonpickle/unpickler.py:344: in _restore > return restore(obj) > jsonpickle/unpickler.py:769: in _restore_object > instance = handler(self).restore(obj) > jsonpickle/ext/pandas.py:172: in restore > idx = self.index_constructor(decode(buf), dtype=dtype, **name_bundle) > jsonpickle/unpickler.py:88: in decode > return context.restore(data, reset=reset, classes=classes) > jsonpickle/unpickler.py:362: in restore > value = self._restore(obj) > jsonpickle/unpickler.py:344: in _restore > return restore(obj) > jsonpickle/unpickler.py:427: in _restore_list > children = [self._restore(v) for v in obj] > jsonpickle/unpickler.py:427: in <listcomp> > children = [self._restore(v) for v in obj] > jsonpickle/unpickler.py:344: in _restore > return restore(obj) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <jsonpickle.unpickler.Unpickler object at 0x7fc4f672f090> > obj = {'py/reduce': [{'py/object': > '_cython_3_0_8.cython_function_or_method'}, {'py/tuple': [172800000000000, > 10]}]} > > def _restore_reduce(self, obj): > """ > Supports restoring with all elements of __reduce__ as per pep 307. > Assumes that iterator items (the last two) are represented as lists > as per pickler implementation. > """ > proxy = _Proxy() > self._mkref(proxy) > reduce_val = list(map(self._restore, obj[tags.REDUCE])) > if len(reduce_val) < 5: > reduce_val.extend([None] * (5 - len(reduce_val))) > f, args, state, listitems, dictitems = reduce_val > > if f == tags.NEWOBJ or getattr(f, '__name__', '') == '__newobj__': > # mandated special case > cls = args[0] > if not isinstance(cls, type): > cls = self._restore(cls) > stage1 = cls.__new__(cls, *args[1:]) > else: > > stage1 = f(*args) > E TypeError: 'dict' object is not callable > > jsonpickle/unpickler.py:472: TypeError > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373 > /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: > PytestConfigWarning: Unknown config option: flake8-max-line-length > > self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") > > tests/sqlalchemy_test.py:19 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/sqlalchemy_test.py:19: > MovedIn20Warning: Deprecated API features detected! These feature(s) are not > compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to > updating applications, ensure requirements files are pinned to > "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all > deprecation warnings. Set environment variable > SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on > SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) > Base = declarative.declarative_base() > > tests/feedparser_test.py::FeedParserTestCase::test > /usr/lib/python3/dist-packages/feedparser/encodings.py:29: > DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 > import cgi > > tests/numpy_test.py::test_ndarray_roundtrip > tests/sklearn_test.py::test_decision_tree > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/jsonpickle/ext/numpy.py:307: > UserWarning: ndarray is defined by reference to an object we do not know how > to serialize. A deep copy is serialized instead, breaking memory aliasing. > warnings.warn(msg) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED tests/pandas_test.py::test_timedelta_index_roundtrip - TypeError: > 'dic... > ====== 1 failed, 342 passed, 1 deselected, 3 xpassed, 5 warnings in 2.44s > ====== > E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest -k 'not > tests/ecdsa_test.py' > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2024/02/24/jsonpickle_3.0.2+dfsg-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;[email protected] or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

