Source: django-dirtyfields Version: 1.3.1-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231028 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>>' > dh_auto_build > I: pybuild base:310: /usr/bin/python3 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields > copying src/dirtyfields/compare.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields > copying src/dirtyfields/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields > copying src/dirtyfields/compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields > copying src/dirtyfields/dirtyfields.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields > PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator > Running Sphinx v5.3.0 > WARNING: Invalid configuration value found: 'language = None'. Update your > configuration to a valid language code. Falling back to 'en' (English). > making output directory... done > WARNING: html_static_path entry '_static' does not exist > loading intersphinx inventory from http://docs.python.org/2.7/objects.inv... > loading intersphinx inventory from http://sphinx.pocoo.org/objects.inv... > loading intersphinx inventory from > http://docs.djangoproject.com/en/dev/_objects/... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'http://docs.python.org/2.7/objects.inv' not fetchable > due to <class 'requests.exceptions.ProxyError'>: > HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: > http://docs.python.org/2.7/objects.inv (Caused by ProxyError('Cannot connect > to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at > 0x7f87006c6f10>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'http://docs.djangoproject.com/en/dev/_objects/' not > fetchable due to <class 'requests.exceptions.ProxyError'>: > HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: > http://docs.djangoproject.com/en/dev/_objects/ (Caused by ProxyError('Cannot > connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection > object at 0x7f86fe50f810>: Failed to establish a new connection: [Errno 111] > Connection refused'))) > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'http://sphinx.pocoo.org/objects.inv' not fetchable due > to <class 'requests.exceptions.ProxyError'>: > HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: > http://sphinx.pocoo.org/objects.inv (Caused by ProxyError('Cannot connect to > proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at > 0x7f86fe518c50>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 3 source files that are out of date > updating environment: [new config] 3 added, 0 changed, 0 removed > reading sources... [ 33%] contributing > reading sources... [ 66%] credits > reading sources... [100%] index > > /<<PKGBUILDDIR>>/docs/index.rst:88: WARNING: Title underline too short. > > Checking many-to-many fields. > ---------------------------- > /<<PKGBUILDDIR>>/docs/index.rst:88: WARNING: Title underline too short. > > Checking many-to-many fields. > ---------------------------- > /<<PKGBUILDDIR>>/docs/index.rst:122: WARNING: Title underline too short. > > Checking a limited set of model fields. > ------------------------------------- > /<<PKGBUILDDIR>>/docs/index.rst:122: WARNING: Title underline too short. > > Checking a limited set of model fields. > ------------------------------------- > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [ 33%] contributing > writing output... [ 66%] credits > writing output... [100%] index > > generating indices... genindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 9 warnings. > > The HTML pages are in build/html. > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build; python3.11 > -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 > django: settings: tests.django_settings (from env) > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build > configfile: pytest.ini > plugins: django-4.5.2 > collected 42 items > > tests/test_core.py .......... [ > 23%] > tests/test_json_field.py s [ > 26%] > tests/test_m2m_fields.py .... [ > 35%] > tests/test_memory_leak.py F [ > 38%] > tests/test_non_regression.py ........ [ > 57%] > tests/test_postgresql_specific.py s [ > 59%] > tests/test_save_fields.py ........ [ > 78%] > tests/test_specified_fields.py .... [ > 88%] > tests/test_timezone_aware_fields.py .... [ > 97%] > tests/test_core.py . > [100%] > > =================================== FAILURES > =================================== > ________________________________ test_rss_usage > ________________________________ > > def test_rss_usage(): > DirtyMixinModel() > rss_1 = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss > for _ in range(1000): > DirtyMixinModel() > rss_2 = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss > > assert rss_2 == rss_1, 'There is a memory leak!' > E AssertionError: There is a memory leak! > E assert 54308 == 53976 > > tests/test_memory_leak.py:16: AssertionError > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/django/conf/__init__.py:241 > /usr/lib/python3/dist-packages/django/conf/__init__.py:241: > RemovedInDjango50Warning: The default value of USE_TZ will change from False > to True in Django 5.0. Set USE_TZ to False in your project settings if you > want to keep the current default behavior. > warnings.warn( > > tests/models.py:10 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:10: > PytestCollectionWarning: cannot collect test class 'TestModel' because it > has a __init__ constructor (from: tests/test_core.py) > class TestModel(DirtyFieldsMixin, models.Model): > > tests/models.py:20 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:20: > PytestCollectionWarning: cannot collect test class 'TestModelWithForeignKey' > because it has a __init__ constructor (from: tests/test_core.py) > class TestModelWithForeignKey(DirtyFieldsMixin, models.Model): > > tests/models.py:29 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:29: > PytestCollectionWarning: cannot collect test class > 'TestModelWithOneToOneField' because it has a __init__ constructor (from: > tests/test_core.py) > class TestModelWithOneToOneField(DirtyFieldsMixin, models.Model): > > tests/models.py:16 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:16: > PytestCollectionWarning: cannot collect test class > 'TestModelWithDecimalField' because it has a __init__ constructor (from: > tests/test_core.py) > class TestModelWithDecimalField(DirtyFieldsMixin, models.Model): > > tests/models.py:10 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:10: > PytestCollectionWarning: cannot collect test class 'TestModel' because it > has a __init__ constructor (from: tests/test_m2m_fields.py) > class TestModel(DirtyFieldsMixin, models.Model): > > tests/models.py:71 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:71: > PytestCollectionWarning: cannot collect test class 'TestM2MModel' because it > has a __init__ constructor (from: tests/test_m2m_fields.py) > class TestM2MModel(DirtyFieldsMixin, models.Model): > > tests/models.py:80 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:80: > PytestCollectionWarning: cannot collect test class 'TestModelWithCustomPK' > because it has a __init__ constructor (from: tests/test_m2m_fields.py) > class TestModelWithCustomPK(DirtyFieldsMixin, models.Model): > > tests/models.py:84 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:84: > PytestCollectionWarning: cannot collect test class > 'TestM2MModelWithCustomPKOnM2M' because it has a __init__ constructor (from: > tests/test_m2m_fields.py) > class TestM2MModelWithCustomPKOnM2M(DirtyFieldsMixin, models.Model): > > tests/models.py:105 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:105: > PytestCollectionWarning: cannot collect test class > 'TestModelWithoutM2MCheck' because it has a __init__ constructor (from: > tests/test_m2m_fields.py) > class TestModelWithoutM2MCheck(DirtyFieldsMixin, models.Model): > > tests/models.py:76 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:76: > PytestCollectionWarning: cannot collect test class > 'TestM2MModelWithoutM2MModeEnabled' because it has a __init__ constructor > (from: tests/test_m2m_fields.py) > class TestM2MModelWithoutM2MModeEnabled(DirtyFieldsMixin, models.Model): > > tests/models.py:10 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:10: > PytestCollectionWarning: cannot collect test class 'TestModel' because it > has a __init__ constructor (from: tests/test_non_regression.py) > class TestModel(DirtyFieldsMixin, models.Model): > > tests/models.py:20 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:20: > PytestCollectionWarning: cannot collect test class 'TestModelWithForeignKey' > because it has a __init__ constructor (from: tests/test_non_regression.py) > class TestModelWithForeignKey(DirtyFieldsMixin, models.Model): > > tests/models.py:33 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:33: > PytestCollectionWarning: cannot collect test class > 'TestModelWithNonEditableFields' because it has a __init__ constructor (from: > tests/test_non_regression.py) > class TestModelWithNonEditableFields(DirtyFieldsMixin, models.Model): > > tests/models.py:40 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:40: > PytestCollectionWarning: cannot collect test class > 'TestModelWithSelfForeignKey' because it has a __init__ constructor (from: > tests/test_non_regression.py) > class TestModelWithSelfForeignKey(DirtyFieldsMixin, models.Model): > > tests/models.py:57 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:57: > PytestCollectionWarning: cannot collect test class 'TestExpressionModel' > because it has a __init__ constructor (from: tests/test_non_regression.py) > class TestExpressionModel(DirtyFieldsMixin, models.Model): > > tests/models.py:88 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:88: > PytestCollectionWarning: cannot collect test class > 'TestModelWithPreSaveSignal' because it has a __init__ constructor (from: > tests/test_non_regression.py) > class TestModelWithPreSaveSignal(DirtyFieldsMixin, models.Model): > > tests/models.py:110 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:110: > PytestCollectionWarning: cannot collect test class > 'TestDoubleForeignKeyModel' because it has a __init__ constructor (from: > tests/test_non_regression.py) > class TestDoubleForeignKeyModel(DirtyFieldsMixin, models.Model): > > tests/models.py:10 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:10: > PytestCollectionWarning: cannot collect test class 'TestModel' because it > has a __init__ constructor (from: tests/test_save_fields.py) > class TestModel(DirtyFieldsMixin, models.Model): > > tests/models.py:24 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:24: > PytestCollectionWarning: cannot collect test class 'TestMixedFieldsModel' > because it has a __init__ constructor (from: tests/test_save_fields.py) > class TestMixedFieldsModel(DirtyFieldsMixin, models.Model): > > tests/models.py:20 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:20: > PytestCollectionWarning: cannot collect test class 'TestModelWithForeignKey' > because it has a __init__ constructor (from: tests/test_save_fields.py) > class TestModelWithForeignKey(DirtyFieldsMixin, models.Model): > > tests/models.py:10 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:10: > PytestCollectionWarning: cannot collect test class 'TestModel' because it > has a __init__ constructor (from: tests/test_specified_fields.py) > class TestModel(DirtyFieldsMixin, models.Model): > > tests/models.py:123 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:123: > PytestCollectionWarning: cannot collect test class > 'TestModelWithSpecifiedFields' because it has a __init__ constructor (from: > tests/test_specified_fields.py) > class TestModelWithSpecifiedFields(DirtyFieldsMixin, models.Model): > > tests/models.py:137 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:137: > PytestCollectionWarning: cannot collect test class > 'TestModelWithM2MAndSpecifiedFields' because it has a __init__ constructor > (from: tests/test_specified_fields.py) > class TestModelWithM2MAndSpecifiedFields(DirtyFieldsMixin, models.Model): > > tests/models.py:129 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:129: > PytestCollectionWarning: cannot collect test class > 'TestModelWithSpecifiedFieldsAndForeignKey' because it has a __init__ > constructor (from: tests/test_specified_fields.py) > class TestModelWithSpecifiedFieldsAndForeignKey(DirtyFieldsMixin, > models.Model): > > tests/models.py:61 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:61: > PytestCollectionWarning: cannot collect test class 'TestDatetimeModel' > because it has a __init__ constructor (from: > tests/test_timezone_aware_fields.py) > class TestDatetimeModel(DirtyFieldsMixin, models.Model): > > tests/models.py:66 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/tests/models.py:66: > PytestCollectionWarning: cannot collect test class > 'TestCurrentDatetimeModel' because it has a __init__ constructor (from: > tests/test_timezone_aware_fields.py) > class TestCurrentDatetimeModel(DirtyFieldsMixin, models.Model): > > tests/test_timezone_aware_fields.py::test_datetime_fields_when_aware_db_and_naive_current_value > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields/compare.py:46: > RuntimeWarning: DateTimeField received a naive datetime (2016-01-01 > 00:00:00) while time zone support is active. > warnings.warn(u"DateTimeField received a naive datetime (%s)" > > tests/test_timezone_aware_fields.py::test_datetime_fields_when_naive_db_and_aware_current_value > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields/compare.py:52: > RuntimeWarning: Time zone support is not active (settings.USE_TZ=False), and > you pass a time zone aware value (2016-01-01 00:00:00+00:00) Converting > database value before comparison. > warnings.warn(u"Time zone support is not active (settings.USE_TZ=False), " > > tests/test_timezone_aware_fields.py::test_datetime_fields_with_current_timezone_conversion > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields/compare.py:46: > RuntimeWarning: DateTimeField received a naive datetime (2000-01-01 > 06:00:00) while time zone support is active. > warnings.warn(u"DateTimeField received a naive datetime (%s)" > > tests/test_timezone_aware_fields.py::test_datetime_fields_with_current_timezone_conversion_without_timezone_support > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build/dirtyfields/compare.py:52: > RuntimeWarning: Time zone support is not active (settings.USE_TZ=False), and > you pass a time zone aware value (2000-01-01 06:00:00-06:00) Converting > database value before comparison. > warnings.warn(u"Time zone support is not active (settings.USE_TZ=False), " > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED tests/test_memory_leak.py::test_rss_usage - AssertionError: There is > a... > ============= 1 failed, 39 passed, 2 skipped, 31 warnings in 0.35s > ============= > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_django-dirtyfields/build; python3.11 > -m pytest tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/10/28/django-dirtyfields_1.3.1-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231028;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231028&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.