Your message dated Wed, 06 Mar 2024 16:34:22 +0000
with message-id <[email protected]>
and subject line Bug#1064705: fixed in jsonpickle 3.0.3+dfsg-1
has caused the Debian Bug report #1064705,
regarding jsonpickle: FTBFS: dh_auto_test: error: pybuild --test --test-pytest
-i python{version} -p "3.12 3.11" returned exit code 13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1064705: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064705
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source: jsonpickle
Source-Version: 3.0.3+dfsg-1
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
jsonpickle, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated jsonpickle package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 06 Mar 2024 16:23:45 +0000
Source: jsonpickle
Architecture: source
Version: 3.0.3+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1064705
Changes:
jsonpickle (3.0.3+dfsg-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
- Compatibility with Pandas and Cython 3.0 was added (closes: #1064705).
* Update mechanism used to build documentation offline.
Checksums-Sha1:
13d765a406d7214e24046ad6518d757d0e5ae0b1 2669 jsonpickle_3.0.3+dfsg-1.dsc
21295d6d09c86abf68963801043f13ec22361834 142072
jsonpickle_3.0.3+dfsg.orig.tar.xz
8f36e0d9b3d92721af9fee1a48e800e2386520eb 6560
jsonpickle_3.0.3+dfsg-1.debian.tar.xz
Checksums-Sha256:
76851b9d9d9df3f8929ace30cf1413c0761d4d75297808cf205dac37f59d959a 2669
jsonpickle_3.0.3+dfsg-1.dsc
fcc319333a8f28ffcbb869234e2f29b51b4ac919922a4ad68b271946d76838db 142072
jsonpickle_3.0.3+dfsg.orig.tar.xz
0668f59e7f5ba4d639af0a877763614b72626197e9a5f6aba44e64f52d781455 6560
jsonpickle_3.0.3+dfsg-1.debian.tar.xz
Files:
be5f84556ceaadefe2445c8b809b4f23 2669 python optional
jsonpickle_3.0.3+dfsg-1.dsc
c0eb26c14622447a664b4077bb834f07 142072 python optional
jsonpickle_3.0.3+dfsg.orig.tar.xz
37248f44d134a182dcedf655289eadbc 6560 python optional
jsonpickle_3.0.3+dfsg-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmXomPMACgkQOTWH2X2G
UAvcTA/+LbueCyDtJj5N6EUTSNPTaJVbRz/F8rAABPhwaXKA1lc1O3wJxB++YW8S
dRtpztTERWjXwa3UdTH19qEBDhe4FPYrLe8Hn18twq+oDPHSskt39OvFkbdfN/pD
0zo4+TDXnk3uZ4VxMH7C3KldCPQJx7iPXZXvV85UzWa5CWQxhbX3RdibP1zY5SId
U/Be+41o1oTo8kOXAVPYOl4W9rZbdxeTWxZIWdGzdhjQRGMZL5gxPgdrD5bfOWeU
Va2vvWEUKLQniQs35nWGYjpiMbKuzTIVxzqDdaSTlEKYbPi8E3PoNVjkPlIhLqgl
X/cVHfu+4vUKjp5ZzkLDGVYwbfJBYdHi6XwZMUIkv9nFwHAg0ER/6Y09f7Damt+e
ddM1WnYvmIul0XYwvoEU9JrfCtHyCWkUoPHg/+N/QWJO5o0R9OiANMZcPBkuCVxJ
UjmA3tB9qzV61Swp4QVAM+eKoHiBvZbSIzXHA3PDS+8hu10VDtTt4UoqLb/F3awA
A2CDQ23UUuOC9kGLOIen/JIQNEkcxMwlQx1AuJBmgVpNO2od5MW9q/xE0CFd0mYn
eXRnLizM/oKRNANezEN2ZMi0ws0FokzUM66j+bn59gMV7IM0ZktcckmkK/9jiB1+
YH9++hq8Vd9vTDpJOiefeh6ZUtfGzYEM4exNarxTuqXcZyTJuyM=
=Puhg
-----END PGP SIGNATURE-----
pgpYuhwwdt1Iw.pgp
Description: PGP signature
--- End Message ---