Source: python-marathon
Version: 0.13.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220412 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> for i in 3.9 3.10 ; do \
> python3 setup.py install -f --install-layout=deb
> --root=/<<PKGBUILDDIR>>/debian/tmp ; \
> done
> running install
> /usr/lib/python3/dist-packages/setuptools/command/install.py:34:
> SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and
> pip and other standards-based tools.
> warnings.warn(
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/marathon
> copying marathon/__init__.py -> build/lib/marathon
> copying marathon/util.py -> build/lib/marathon
> copying marathon/exceptions.py -> build/lib/marathon
> copying marathon/client.py -> build/lib/marathon
> creating build/lib/marathon/models
> copying marathon/models/__init__.py -> build/lib/marathon/models
> copying marathon/models/events.py -> build/lib/marathon/models
> copying marathon/models/queue.py -> build/lib/marathon/models
> copying marathon/models/constraint.py -> build/lib/marathon/models
> copying marathon/models/app.py -> build/lib/marathon/models
> copying marathon/models/base.py -> build/lib/marathon/models
> copying marathon/models/endpoint.py -> build/lib/marathon/models
> copying marathon/models/task.py -> build/lib/marathon/models
> copying marathon/models/container.py -> build/lib/marathon/models
> copying marathon/models/group.py -> build/lib/marathon/models
> copying marathon/models/deployment.py -> build/lib/marathon/models
> copying marathon/models/info.py -> build/lib/marathon/models
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/tmp
> creating /<<PKGBUILDDIR>>/debian/tmp/usr
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
> creating /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/util.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/exceptions.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/client.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> creating
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/events.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/queue.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/constraint.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/app.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/base.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/endpoint.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/task.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/container.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/group.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/deployment.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/info.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/__init__.py
> to __init__.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/util.py to
> util.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/exceptions.py
> to exceptions.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/client.py
> to client.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/__init__.py
> to __init__.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/events.py
> to events.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/queue.py
> to queue.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/constraint.py
> to constraint.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/app.py
> to app.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/base.py
> to base.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/endpoint.py
> to endpoint.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/task.py
> to task.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/container.py
> to container.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/group.py
> to group.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/deployment.py
> to deployment.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/info.py
> to info.cpython-310.pyc
> running install_egg_info
> running egg_info
> creating marathon.egg-info
> writing marathon.egg-info/PKG-INFO
> writing dependency_links to marathon.egg-info/dependency_links.txt
> writing requirements to marathon.egg-info/requires.txt
> writing top-level names to marathon.egg-info/top_level.txt
> writing manifest file 'marathon.egg-info/SOURCES.txt'
> reading manifest file 'marathon.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'marathon.egg-info/SOURCES.txt'
> Copying marathon.egg-info to
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon-0.13.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> running install
> /usr/lib/python3/dist-packages/setuptools/command/install.py:34:
> SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and
> pip and other standards-based tools.
> warnings.warn(
> running build
> running build_py
> running install_lib
> copying build/lib/marathon/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/util.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/exceptions.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/client.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon
> copying build/lib/marathon/models/__init__.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/events.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/queue.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/constraint.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/app.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/base.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/endpoint.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/task.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/container.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/group.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/deployment.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> copying build/lib/marathon/models/info.py ->
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/__init__.py
> to __init__.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/util.py to
> util.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/exceptions.py
> to exceptions.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/client.py
> to client.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/__init__.py
> to __init__.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/events.py
> to events.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/queue.py
> to queue.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/constraint.py
> to constraint.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/app.py
> to app.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/base.py
> to base.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/endpoint.py
> to endpoint.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/task.py
> to task.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/container.py
> to container.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/group.py
> to group.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/deployment.py
> to deployment.cpython-310.pyc
> byte-compiling
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/info.py
> to info.cpython-310.pyc
> running install_egg_info
> running egg_info
> writing marathon.egg-info/PKG-INFO
> writing dependency_links to marathon.egg-info/dependency_links.txt
> writing requirements to marathon.egg-info/requires.txt
> writing top-level names to marathon.egg-info/top_level.txt
> reading manifest file 'marathon.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'marathon.egg-info/SOURCES.txt'
> removing
> '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon-0.13.0.egg-info'
> (and everything under it)
> Copying marathon.egg-info to
> /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon-0.13.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> for i in 3.9 3.10 ; do \
> PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages
> python$i -m pytest -s -vv tests ; \
> done
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 --
> /usr/bin/python3.9
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> plugins: requests-mock-1.9.3
> collecting ... collected 27 items
>
> tests/test_api.py::test_get_deployments_pre_1_0 PASSED
> tests/test_api.py::test_get_deployments_post_1_0 PASSED
> tests/test_api.py::test_list_tasks_with_app_id PASSED
> tests/test_api.py::test_list_tasks_without_app_id PASSED
> tests/test_exceptions.py::test_400_error PASSED
> tests/test_exceptions.py::test_503_error PASSED
> tests/test_model_app.py::MarathonAppTest::test_add_env_empty_dict PASSED
> tests/test_model_app.py::MarathonAppTest::test_add_env_non_empty_dict PASSED
> tests/test_model_app.py::MarathonAppTest::test_env_defaults_to_empty_dict
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_json_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_json_without_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_string_raises_an_error_for_invalid_format
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_string_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_string_without_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_json_repr_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_json_repr_without_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_repr_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_repr_without_value
> PASSED
> tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict
> PASSED
> tests/test_model_event.py::MarathonEventTest::test_event_factory PASSED
> tests/test_model_event.py::MarathonEventTest::test_marathon_event PASSED
> tests/test_model_group.py::MarathonGroupTest::test_from_json_parses_root_group
> PASSED
> tests/test_model_object.py::MarathonObjectTest::test_hashable PASSED
> tests/test_model_object.py::MarathonResourceHashable::test_hashable PASSED
> tests/test_util.py::test_to_camel_case PASSED
> tests/test_util.py::test_to_snake_case PASSED
> tests/test_util.py::test_version_info_datetime PASSED
>
> =============================== warnings summary
> ===============================
> tests/test_model_app.py::MarathonAppTest::test_env_defaults_to_empty_dict
> /<<PKGBUILDDIR>>/tests/test_model_app.py:12: DeprecationWarning: Please use
> assertEqual instead.
> self.assertEquals(app.env, {})
>
> tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict
> /<<PKGBUILDDIR>>/tests/test_model_deployment.py:32: DeprecationWarning:
> Please use assertEqual instead.
> self.assertEquals(deployment.id, "ID")
>
> tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict
> /<<PKGBUILDDIR>>/tests/test_model_deployment.py:33: DeprecationWarning:
> Please use assertEqual instead.
> self.assertEquals(deployment.current_actions[0].app, "/app")
>
> tests/test_model_event.py::MarathonEventTest::test_marathon_event
> /<<PKGBUILDDIR>>/marathon/util.py:47: DeprecationWarning: Using or
> importing the ABCs from 'collections' instead of from 'collections.abc' is
> deprecated since Python 3.3, and in 3.10 it will stop working
> if isinstance(obj, collections.Iterable) and not isinstance(obj, str):
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> ======================== 27 passed, 4 warnings in 0.11s
> ========================
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 --
> /usr/bin/python3.10
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> plugins: requests-mock-1.9.3
> collecting ... collected 27 items
>
> tests/test_api.py::test_get_deployments_pre_1_0 PASSED
> tests/test_api.py::test_get_deployments_post_1_0 PASSED
> tests/test_api.py::test_list_tasks_with_app_id PASSED
> tests/test_api.py::test_list_tasks_without_app_id PASSED
> tests/test_exceptions.py::test_400_error PASSED
> tests/test_exceptions.py::test_503_error PASSED
> tests/test_model_app.py::MarathonAppTest::test_add_env_empty_dict PASSED
> tests/test_model_app.py::MarathonAppTest::test_add_env_non_empty_dict PASSED
> tests/test_model_app.py::MarathonAppTest::test_env_defaults_to_empty_dict
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_json_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_json_without_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_string_raises_an_error_for_invalid_format
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_string_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_from_string_without_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_json_repr_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_json_repr_without_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_repr_with_value
> PASSED
> tests/test_model_constraint.py::MarathonConstraintTests::test_repr_without_value
> PASSED
> tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict
> PASSED
> tests/test_model_event.py::MarathonEventTest::test_event_factory PASSED
> tests/test_model_event.py::MarathonEventTest::test_marathon_event FAILED
> tests/test_model_group.py::MarathonGroupTest::test_from_json_parses_root_group
> PASSED
> tests/test_model_object.py::MarathonObjectTest::test_hashable PASSED
> tests/test_model_object.py::MarathonResourceHashable::test_hashable PASSED
> tests/test_util.py::test_to_camel_case PASSED
> tests/test_util.py::test_to_snake_case PASSED
> tests/test_util.py::test_version_info_datetime PASSED
>
> =================================== FAILURES
> ===================================
> ____________________ MarathonEventTest.test_marathon_event
> _____________________
>
> self = <test_model_event.MarathonEventTest testMethod=test_marathon_event>
>
> def test_marathon_event(self):
> """Test that we can process at least one kind of event."""
> payload = {
> "eventType": "status_update_event",
> "slaveId": "slave-01",
> "taskId": "task-01",
> "taskStatus": "TASK_RUNNING",
> "message": "Some message",
> "appId": "/foo/bar",
> "host": "host-01",
> "ipAddresses": [
> {"ip_address": "127.0.0.1", "protocol": "tcp"},
> {"ip_address": "127.0.0.1", "protocol": "udp"},
> ],
> "ports": [0, 1],
> "version": "1234",
> "timestamp": 12345,
> }
> factory = EventFactory()
> event = factory.process(payload)
>
> expected_event = MarathonStatusUpdateEvent(
> event_type="status_update_event",
> timestamp=12345,
> slave_id="slave-01",
> task_id="task-01",
> task_status="TASK_RUNNING",
> message="Some message",
> app_id="/foo/bar",
> host="host-01",
> ports=[0, 1],
> version="1234",
> )
> expected_event.ip_addresses = [
> MarathonIpAddress(ip_address="127.0.0.1", protocol="tcp"),
> MarathonIpAddress(ip_address="127.0.0.1", protocol="udp"),
> ]
>
> > self.assertEqual(event.to_json(), expected_event.to_json())
>
> tests/test_model_event.py:52:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> marathon/models/base.py:53: in to_json
> return json.dumps(self.json_repr(minimal=True),
> cls=MarathonMinimalJsonEncoder, sort_keys=True)
> /usr/lib/python3.10/json/__init__.py:238: in dumps
> **kw).encode(obj)
> /usr/lib/python3.10/json/encoder.py:199: in encode
> chunks = self.iterencode(o, _one_shot=True)
> /usr/lib/python3.10/json/encoder.py:257: in iterencode
> return _iterencode(o, 0)
> marathon/util.py:42: in default
> return self.default(obj.json_repr(minimal=True))
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <marathon.util.MarathonMinimalJsonEncoder object at 0x7f082b8f9c30>
> obj = {'ipAddress': '127.0.0.1', 'protocol': 'tcp'}
>
> def default(self, obj):
> if hasattr(obj, 'json_repr'):
> return self.default(obj.json_repr(minimal=True))
>
> if isinstance(obj, datetime.datetime):
> return obj.strftime('%Y-%m-%dT%H:%M:%S.%fZ')
>
> > if isinstance(obj, collections.Iterable) and not isinstance(obj, str):
> E AttributeError: module 'collections' has no attribute 'Iterable'
>
> marathon/util.py:47: AttributeError
> =============================== warnings summary
> ===============================
> tests/test_model_app.py::MarathonAppTest::test_env_defaults_to_empty_dict
> /<<PKGBUILDDIR>>/tests/test_model_app.py:12: DeprecationWarning: Please use
> assertEqual instead.
> self.assertEquals(app.env, {})
>
> tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict
> /<<PKGBUILDDIR>>/tests/test_model_deployment.py:32: DeprecationWarning:
> Please use assertEqual instead.
> self.assertEquals(deployment.id, "ID")
>
> tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict
> /<<PKGBUILDDIR>>/tests/test_model_deployment.py:33: DeprecationWarning:
> Please use assertEqual instead.
> self.assertEquals(deployment.current_actions[0].app, "/app")
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_model_event.py::MarathonEventTest::test_marathon_event -
> At...
> =================== 1 failed, 26 passed, 3 warnings in 0.24s
> ===================
> make[1]: *** [debian/rules:17: override_dh_auto_install] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/04/12/python-marathon_0.13.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&[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 marking 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.