Source: python-marathon Version: 0.13.0-5 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240702 ftbfs-trixie
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.11 3.12 ; do \ > python3 setup.py install -f --install-layout=deb > --root=/<<PKGBUILDDIR>>/debian/tmp ; \ > done > running install > /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: > SetuptoolsDeprecationWarning: setup.py install is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > for details. > > ******************************************************************************** > > !! > self.initialize_options() > running build > running build_py > creating build > creating build/lib > creating build/lib/marathon > copying marathon/util.py -> build/lib/marathon > copying marathon/exceptions.py -> build/lib/marathon > copying marathon/client.py -> build/lib/marathon > copying marathon/__init__.py -> build/lib/marathon > creating build/lib/marathon/models > copying marathon/models/task.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/queue.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/app.py -> build/lib/marathon/models > copying marathon/models/events.py -> build/lib/marathon/models > copying marathon/models/constraint.py -> build/lib/marathon/models > copying marathon/models/__init__.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/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/task.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/queue.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/app.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/constraint.py -> > /<<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/info.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models > copying build/lib/marathon/__init__.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/util.py to > util.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/exceptions.py > to exceptions.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/client.py > to client.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/task.py > to task.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/base.py > to base.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/endpoint.py > to endpoint.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/queue.py > to queue.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/container.py > to container.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/group.py > to group.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/deployment.py > to deployment.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/app.py > to app.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/events.py > to events.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/constraint.py > to constraint.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/__init__.py > to __init__.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/info.py > to info.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/__init__.py > to __init__.cpython-312.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/_distutils/cmd.py:66: > SetuptoolsDeprecationWarning: setup.py install is deprecated. > !! > > > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer or other > standards-based tools. > > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > for details. > > ******************************************************************************** > > !! > self.initialize_options() > running build > running build_py > running install_lib > 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/task.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/queue.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/app.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/constraint.py -> > /<<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/info.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models > copying build/lib/marathon/__init__.py -> > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/util.py to > util.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/exceptions.py > to exceptions.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/client.py > to client.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/task.py > to task.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/base.py > to base.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/endpoint.py > to endpoint.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/queue.py > to queue.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/container.py > to container.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/group.py > to group.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/deployment.py > to deployment.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/app.py > to app.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/events.py > to events.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/constraint.py > to constraint.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/__init__.py > to __init__.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/models/info.py > to info.cpython-312.pyc > byte-compiling > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/marathon/__init__.py > to __init__.cpython-312.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.11 3.12 ; 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.11.9, pytest-8.2.2, pluggy-1.5.0 -- > /usr/bin/python3.11 > cachedir: .pytest_cache > rootdir: /<<PKGBUILDDIR>> > plugins: requests-mock-1.11.0 > 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") > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > ======================== 27 passed, 3 warnings in 0.11s > ======================== > ============================= test session starts > ============================== > platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 -- > /usr/bin/python3.12 > cachedir: .pytest_cache > rootdir: /<<PKGBUILDDIR>> > plugins: requests-mock-1.11.0 > 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 > FAILED > 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 > FAILED > 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 > > =================================== FAILURES > =================================== > _______________ MarathonAppTest.test_env_defaults_to_empty_dict > ________________ > > self = <test_model_app.MarathonAppTest > testMethod=test_env_defaults_to_empty_dict> > > def test_env_defaults_to_empty_dict(self): > """ > é testé > """ > app = MarathonApp() > > self.assertEquals(app.env, {}) > E AttributeError: 'MarathonAppTest' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > tests/test_model_app.py:12: AttributeError > ____________ MarathonDeploymentTest.test_env_defaults_to_empty_dict > ____________ > > self = <test_model_deployment.MarathonDeploymentTest > testMethod=test_env_defaults_to_empty_dict> > > def test_env_defaults_to_empty_dict(self): > """ > é testé > """ > deployment_json = { > "id": "ID", > "version": "2020-05-30T07:35:04.695Z", > "affectedApps": ["/app"], > "affectedPods": [], > "steps": [{ > "actions": [{ > "action": "RestartApplication", > "app": "/app" > }] > }], > "currentActions": [{ > "action": "RestartApplication", > "app": "/app", > "readinessCheckResults": [] > }], > "currentStep": 1, > "totalSteps": 1 > } > > deployment = MarathonDeployment.from_json(deployment_json) > > self.assertEquals(deployment.id, "ID") > E AttributeError: 'MarathonDeploymentTest' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > > tests/test_model_deployment.py:32: AttributeError > =========================== short test summary info > ============================ > FAILED > tests/test_model_app.py::MarathonAppTest::test_env_defaults_to_empty_dict - > AttributeError: 'MarathonAppTest' object has no attribute 'assertEquals'. Did > you mean: 'assertEqual'? > FAILED > tests/test_model_deployment.py::MarathonDeploymentTest::test_env_defaults_to_empty_dict > - AttributeError: 'MarathonDeploymentTest' object has no attribute > 'assertEquals'. Did you mean: 'assertEqual'? > ========================= 2 failed, 25 passed in 0.25s > ========================= > make[1]: *** [debian/rules:19: override_dh_auto_install] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/07/02/python-marathon_0.13.0-5_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lu...@debian.org&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.