Source: dirty-equals Version: 0.7.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 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>>' > TZ=utc dh_auto_test > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dirty-equals/build; python3.12 -m > pytest --ignore=tests/test_docs.py > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dirty-equals/build > configfile: pyproject.toml > testpaths: tests > collected 540 items > > tests/test_base.py ............................. [ > 5%] > tests/test_boolean.py ............................................ [ > 13%] > tests/test_datetime.py ..........................F...................... [ > 22%] > [ > 22%] > tests/test_dict.py ..................................................... [ > 32%] > ..... [ > 33%] > tests/test_inspection.py ............................ [ > 38%] > tests/test_list_tuple.py ............................................... [ > 47%] > ............................... [ > 52%] > tests/test_numeric.py .................................................. [ > 62%] > ................................. [ > 68%] > tests/test_other.py .................................................... [ > 77%] > ............................................................ [ > 89%] > tests/test_strings.py .................................................. [ > 98%] > ......... > [100%] > > =================================== FAILURES > =================================== > ________________________________ test_is_now_tz > ________________________________ > > def test_is_now_tz(): > > now_ny = > > datetime.utcnow().replace(tzinfo=timezone.utc).astimezone(pytz.timezone('America/New_York')) > E 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). > > tests/test_datetime.py:102: DeprecationWarning > =========================== short test summary info > ============================ > FAILED tests/test_datetime.py::test_is_now_tz - DeprecationWarning: > datetime.... > ======================== 1 failed, 539 passed in 0.76s > ========================= > E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_dirty-equals/build; python3.12 -m > pytest --ignore=tests/test_docs.py > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dirty-equals/build; python3.11 -m > pytest --ignore=tests/test_docs.py > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_dirty-equals/build > configfile: pyproject.toml > testpaths: tests > collected 540 items > > tests/test_base.py ............................. [ > 5%] > tests/test_boolean.py ............................................ [ > 13%] > tests/test_datetime.py ................................................. [ > 22%] > [ > 22%] > tests/test_dict.py ..................................................... [ > 32%] > ..... [ > 33%] > tests/test_inspection.py ............................ [ > 38%] > tests/test_list_tuple.py ............................................... [ > 47%] > ............................... [ > 52%] > tests/test_numeric.py .................................................. [ > 62%] > ................................. [ > 68%] > tests/test_other.py .................................................... [ > 77%] > ............................................................ [ > 89%] > tests/test_strings.py .................................................. [ > 98%] > ......... > [100%] > > ============================= 540 passed in 0.77s > ============================== > dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/12/12/dirty-equals_0.7.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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.