Source: python-watchfiles Version: 0.21.0-3 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240615 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>>' > # Upstream doesn't set the version number... > sed -i 's/0.0.0/0.21.0/' Cargo.toml > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build -O--buildsystem=pybuild > I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" > module > I: pybuild base:311: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_watchfiles > * Building wheel... > Running `maturin pep517 build-wheel -i /usr/bin/python3.12 --compatibility > off` > debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] > ['-j8'] 0 > debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, > x86_64-linux-gnu > debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', > '/usr/bin/cargo', 'metadata', '--format-version', '1', '--manifest-path', > '/<<PKGBUILDDIR>>/Cargo.toml'],) {} > warning: Both `/<<PKGBUILDDIR>>/debian/cargo_home/config` and > `/<<PKGBUILDDIR>>/debian/cargo_home/config.toml` exist. Using > `/<<PKGBUILDDIR>>/debian/cargo_home/config` > 📦 Including license file "/<<PKGBUILDDIR>>/LICENSE" > 🍹 Building a mixed python/rust project > 🔗 Found pyo3 bindings > 🐍 Found CPython 3.12 at /usr/bin/python3.12 > 📡 Using build options bindings from pyproject.toml > warning: Both `/<<PKGBUILDDIR>>/debian/cargo_home/config` and > `/<<PKGBUILDDIR>>/debian/cargo_home/config.toml` exist. Using > `/<<PKGBUILDDIR>>/debian/cargo_home/config` > Compiling target-lexicon v0.12.12 > Compiling libc v0.2.155 > Compiling python3-dll-a v0.2.6 > Compiling autocfg v1.1.0 > Compiling once_cell v1.19.0 > Compiling proc-macro2 v1.0.85 > Compiling unicode-ident v1.0.12 > Compiling cfg-if v1.0.0 > Compiling crossbeam-utils v0.8.19 > Compiling parking_lot_core v0.9.9 > Compiling heck v0.4.1 > Compiling smallvec v1.13.1 > Compiling scopeguard v1.1.0 > Compiling bitflags v1.3.2 > Compiling same-file v1.0.6 > Compiling lock_api v0.4.11 > Compiling memoffset v0.6.5 > Compiling log v0.4.21 > Compiling walkdir v2.4.0 > Compiling quote v1.0.36 > Compiling indoc v2.0.3 > Compiling unindent v0.2.1 > Compiling pyo3-build-config v0.20.2 > Compiling syn v2.0.66 > Compiling crossbeam-channel v0.5.11 > Compiling inotify-sys v0.1.5 > Compiling inotify v0.9.6 > Compiling parking_lot v0.12.1 > Compiling mio v0.8.11 > Compiling filetime v0.2.23 > Compiling notify v6.1.1 > Compiling pyo3-ffi v0.20.2 > Compiling pyo3 v0.20.2 > Compiling pyo3-macros-backend v0.20.2 > Compiling pyo3-macros v0.20.2 > Compiling watchfiles_rust_notify v0.21.0 (/<<PKGBUILDDIR>>) > Finished release [optimized] target(s) in 25.81s > 📦 Built wheel for CPython 3.12 to > /<<PKGBUILDDIR>>/target/wheels/watchfiles-0.21.0-cp312-cp312-linux_x86_64.whl > /<<PKGBUILDDIR>>/target/wheels/watchfiles-0.21.0-cp312-cp312-linux_x86_64.whl > Successfully built watchfiles-0.21.0-cp312-cp312-linux_x86_64.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:311: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchfiles > * Building wheel... > Running `maturin pep517 build-wheel -i /usr/bin/python3.11 --compatibility > off` > debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] > ['-j8'] 0 > debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, > x86_64-linux-gnu > debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', > '/usr/bin/cargo', 'metadata', '--format-version', '1', '--manifest-path', > '/<<PKGBUILDDIR>>/Cargo.toml'],) {} > warning: Both `/<<PKGBUILDDIR>>/debian/cargo_home/config` and > `/<<PKGBUILDDIR>>/debian/cargo_home/config.toml` exist. Using > `/<<PKGBUILDDIR>>/debian/cargo_home/config` > 📦 Including license file "/<<PKGBUILDDIR>>/LICENSE" > 🍹 Building a mixed python/rust project > 🔗 Found pyo3 bindings > 🐍 Found CPython 3.11 at /usr/bin/python3.11 > 📡 Using build options bindings from pyproject.toml > warning: Both `/<<PKGBUILDDIR>>/debian/cargo_home/config` and > `/<<PKGBUILDDIR>>/debian/cargo_home/config.toml` exist. Using > `/<<PKGBUILDDIR>>/debian/cargo_home/config` > Compiling pyo3-build-config v0.20.2 > Compiling pyo3-ffi v0.20.2 > Compiling pyo3 v0.20.2 > Compiling watchfiles_rust_notify v0.21.0 (/<<PKGBUILDDIR>>) > Finished release [optimized] target(s) in 13.07s > 📦 Built wheel for CPython 3.11 to > /<<PKGBUILDDIR>>/target/wheels/watchfiles-0.21.0-cp311-cp311-linux_x86_64.whl > /<<PKGBUILDDIR>>/target/wheels/watchfiles-0.21.0-cp311-cp311-linux_x86_64.whl > Successfully built watchfiles-0.21.0-cp311-cp311-linux_x86_64.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_watchfiles/build; python3.12 -m > pytest -k 'not test_awatch_interrupt_raise and not > test_ignore_permission_denied' > ============================= test session starts > ============================== > platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_watchfiles/build > configfile: pyproject.toml > testpaths: tests > plugins: timeout-2.3.1, anyio-4.4.0, mock-3.12.0 > timeout: 10.0s > timeout method: signal > timeout func_only: False > collected 152 items / 3 deselected / 149 selected > > tests/test_cli.py ...................... [ > 14%] > tests/test_docs.py .......s [ > 20%] > tests/test_filters.py .................. [ > 32%] > tests/test_force_polling.py .......................... [ > 49%] > tests/test_run_process.py ..s..................... [ > 65%] > tests/test_rust_notify.py .........................F......... [ > 89%] > tests/test_watch.py ...............s > [100%] > > =================================== FAILURES > =================================== > ______________________________ test_polling_repr > _______________________________ > > test_dir = > PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_watchfiles/build/tests/test_files') > > def test_polling_repr(test_dir: Path): > watcher = RustNotify([str(test_dir)], True, True, 123, True, False) > r = repr(watcher) > assert r.startswith('RustNotify(Poll(\n PollWatcher {\n') > > assert 'delay: 123ms' in r > E AssertionError: assert 'delay: 123ms' in 'RustNotify(Poll(\n > PollWatcher {\n watches: Mutex {\n data: <locked>,\n > poisoned: fal...top: false,\n message_channel: Sender { .. },\n > delay: Some(\n 123ms,\n ),\n },\n))' > > tests/test_rust_notify.py:310: AssertionError > ----------------------------- Captured stderr call > ----------------------------- > watcher: PollWatcher { watches: Mutex { data: <locked>, poisoned: false, .. > }, data_builder: Mutex { data: <locked>, poisoned: false, .. }, want_to_stop: > false, message_channel: Sender { .. }, delay: Some(123ms) } > =========================== short test summary info > ============================ > FAILED tests/test_rust_notify.py::test_polling_repr - AssertionError: assert > ... > ============ 1 failed, 145 passed, 3 skipped, 3 deselected in 3.02s > ============ > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_watchfiles/build; python3.12 -m > pytest -k 'not test_awatch_interrupt_raise and not > test_ignore_permission_denied' > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchfiles/build; python3.11 -m > pytest -k 'not test_awatch_interrupt_raise and not > test_ignore_permission_denied' > ============================= test session starts > ============================== > platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchfiles/build > configfile: pyproject.toml > testpaths: tests > plugins: timeout-2.3.1, anyio-4.4.0, mock-3.12.0 > timeout: 10.0s > timeout method: signal > timeout func_only: False > collected 152 items / 3 deselected / 149 selected > > tests/test_cli.py ...................... [ > 14%] > tests/test_docs.py .......s [ > 20%] > tests/test_filters.py .................. [ > 32%] > tests/test_force_polling.py .......................... [ > 49%] > tests/test_run_process.py ..s..................... [ > 65%] > tests/test_rust_notify.py .........................F......... [ > 89%] > tests/test_watch.py ...............s > [100%] > > =================================== FAILURES > =================================== > ______________________________ test_polling_repr > _______________________________ > > test_dir = > PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchfiles/build/tests/test_files') > > def test_polling_repr(test_dir: Path): > watcher = RustNotify([str(test_dir)], True, True, 123, True, False) > r = repr(watcher) > assert r.startswith('RustNotify(Poll(\n PollWatcher {\n') > > assert 'delay: 123ms' in r > E AssertionError: assert 'delay: 123ms' in 'RustNotify(Poll(\n > PollWatcher {\n watches: Mutex {\n data: <locked>,\n > poisoned: fal...top: false,\n message_channel: Sender { .. },\n > delay: Some(\n 123ms,\n ),\n },\n))' > > tests/test_rust_notify.py:310: AssertionError > ----------------------------- Captured stderr call > ----------------------------- > watcher: PollWatcher { watches: Mutex { data: <locked>, poisoned: false, .. > }, data_builder: Mutex { data: <locked>, poisoned: false, .. }, want_to_stop: > false, message_channel: Sender { .. }, delay: Some(123ms) } > =========================== short test summary info > ============================ > FAILED tests/test_rust_notify.py::test_polling_repr - AssertionError: assert > ... > ============ 1 failed, 145 passed, 3 skipped, 3 deselected in 2.96s > ============ > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchfiles/build; python3.11 -m > pytest -k 'not test_awatch_interrupt_raise and not > test_ignore_permission_denied' > 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/06/15/python-watchfiles_0.21.0-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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.