Package: src:python-fs Version: 2.4.16-9 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-fs, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** [... snipped ...] tests/test_zipfs.py:177: AssertionError _____________________ TestReadZipFSMem.test_geturl_for_fs ______________________ self = <tests.test_zipfs.TestReadZipFSMem testMethod=test_geturl_for_fs> def test_geturl_for_fs(self): test_file = "foo/bar/egg/foofoo" expected = "zip://{zip_file_path}!/{file_inside_zip}".format( zip_file_path=self._temp_path.replace("\\", "/"), file_inside_zip=test_file ) > self.assertEqual(self.fs.geturl(test_file, purpose="fs"), expected) E AssertionError: 'zip://///tmp/tmpfzsa8rab!/foo/bar/egg/foofoo' != 'zip:///tmp/tmpfzsa8rab!/foo/bar/egg/foofoo' E - zip://///tmp/tmpfzsa8rab!/foo/bar/egg/foofoo E ? -- E + zip:///tmp/tmpfzsa8rab!/foo/bar/egg/foofoo tests/test_zipfs.py:177: AssertionError =============================== warnings summary =============================== fs/base.py:74 fs/base.py:74 fs/base.py:74 fs/base.py:74 fs/base.py:74 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/base.py:74: DeprecationWarning: method 'settext' has been deprecated, please rename to 'writetext' warnings.warn( .pybuild/cpython3_3.14/build/tests/test_copy.py: 10 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_copy.py:47: 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). utcnow = datetime.datetime.utcnow() .pybuild/cpython3_3.14/build/tests/test_copy.py::TestCopyIfNewer::test_copy_file_if_same_fs /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_copy.py:176: 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). "foo2/exists", datetime.datetime.utcnow() + datetime.timedelta(hours=1) .pybuild/cpython3_3.14/build/tests/test_copy.py::TestCopyIfOlder::test_copy_file_if_same_fs /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_copy.py:421: 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). "foo2/exists", datetime.datetime.utcnow() - datetime.timedelta(hours=1) .pybuild/cpython3_3.14/build/tests/test_ftp_parse.py::TestFTPParse::test_decode_linux /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/_ftp_parse.py:89: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguous and fails to parse leap day. The default behavior will change in Python 3.15 to either always raise an exception or to use a different default year (TBD). To avoid trouble, add a specific year to the input & format. See https://github.com/python/cpython/issues/70647. _t = time.strptime(t, frmt) .pybuild/cpython3_3.14/build/tests/test_iotools.py::TestIOTools::test_readlines /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored while finalizing file <fs.iotools.RawWrapper object at 0x7fa22d195ae0>: None Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/iotools.py", line 37, in close super(RawWrapper, self).close() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/iotools.py", line 46, in flush return self._f.flush() ~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) .pybuild/cpython3_3.14/build/tests/test_iotools.py::TestIOTools::test_readlines /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored while finalizing file <fs.iotools.RawWrapper object at 0x7fa22d195a50>: None Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/iotools.py", line 37, in close super(RawWrapper, self).close() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/iotools.py", line 46, in flush return self._f.flush() ~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) .pybuild/cpython3_3.14/build/tests/test_iotools.py::TestIOTools::test_writelines /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored while finalizing file <fs.iotools.RawWrapper object at 0x7fa22d195ea0>: None Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/iotools.py", line 37, in close super(RawWrapper, self).close() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/iotools.py", line 46, in flush return self._f.flush() ~~~~~~~~~~~~~^^ ValueError: flush of closed file warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) .pybuild/cpython3_3.14/build/tests/test_wrap.py::TestWrapReadOnlySyspath::test_copy_file_if_newer /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/copy.py:163: DeprecationWarning: copy_file_if_newer is deprecated. Use copy_file_if instead. warnings.warn( .pybuild/cpython3_3.14/build/tests/test_wrap.py::TestWrapReadOnlySyspath::test_copy_fs_if_newer /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/fs/copy.py:70: DeprecationWarning: copy_fs_if_newer is deprecated. Use copy_fs_if instead. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_osfs.py::TestOSFS::test_complex_geturl - AssertionError: 'o... FAILED tests/test_subfs.py::TestOSFS::test_complex_geturl - AssertionError: '... FAILED tests/test_subfs.py::TestSubFS::test_complex_geturl - AssertionError: ... FAILED tests/test_tarfs.py::TestReadTarFS::test_geturl_for_fs - AssertionErro... FAILED tests/test_tarfs.py::TestReadTarFSMem::test_geturl_for_fs - AssertionE... FAILED tests/test_tempfs.py::TestOSFS::test_complex_geturl - AssertionError: ... FAILED tests/test_tempfs.py::TestTempFS::test_complex_geturl - AssertionError... FAILED tests/test_zipfs.py::TestReadZipFS::test_geturl_for_fs - AssertionErro... FAILED tests/test_zipfs.py::TestReadZipFSMem::test_geturl_for_fs - AssertionE... =========== 9 failed, 2135 passed, 23 skipped, 23 warnings in 19.76s =========== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest --ignore tests/test_ftpfs.py I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --ignore tests/test_ftpfs.py ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: typeguard-4.4.4 collected 2167 items tests/test_appfs.py .................................................... [ 2%] ..................s..................................................... [ 5%] ...........................s............................................ [ 9%] ....................................s................................... [ 12%] .............................................s.......................... [ 15%] ......................................................s................. [ 19%] ...............................................................s........ [ 22%] .. [ 22%] tests/test_base.py . [ 22%] tests/test_bulk.py . [ 22%] tests/test_copy.py .......................................... [ 24%] tests/test_doctest.py .................................................. [ 26%] ........... [ 27%] tests/test_encoding.py ... [ 27%] tests/test_enums.py . [ 27%] tests/test_error_tools.py .. [ 27%] tests/test_errors.py .... [ 27%] tests/test_filesize.py .... [ 27%] tests/test_fscompat.py ... [ 28%] tests/test_ftp_parse.py ....... [ 28%] tests/test_glob.py .......... [ 28%] tests/test_imports.py . [ 28%] tests/test_info.py ......... [ 29%] tests/test_iotools.py ............ [ 29%] tests/test_lrucache.py . [ 29%] tests/test_memoryfs.py ................................................. [ 32%] .................................. [ 33%] tests/test_mirror.py ................................ [ 35%] tests/test_mode.py .. [ 35%] tests/test_mountfs.py .................................................. [ 37%] ........................................................................ [ 40%] ........................................... [ 42%] tests/test_move.py ............. [ 43%] tests/test_multifs.py .................................................. [ 45%] .........................s............ [ 47%] tests/test_new_name.py . [ 47%] tests/test_opener.py ................................. [ 49%] tests/test_osfs.py .............s....................................... [ 51%] .......................s........... [ 53%] tests/test_path.py ..................... [ 54%] tests/test_permissions.py .............. [ 54%] tests/test_subfs.py .............s...................................... [ 57%] ........................s........................s...................... [ 60%] ........................................s............ [ 62%] tests/test_tarfs.py .................................................... [ 65%] .................s...................................................... [ 68%] ........................s............................................... [ 72%] ...............................s........................................ [ 75%] ......................................s................................. [ 78%] .............................................s.......................... [ 82%] .................... [ 82%] tests/test_tempfs.py .............s..................................... [ 85%] .........................s..........................s................... [ 88%] ...........................................s........... [ 91%] tests/test_time.py .. [ 91%] tests/test_tools.py ... [ 91%] tests/test_tree.py .... [ 91%] tests/test_url_tools.py . [ 91%] tests/test_walk.py .................... [ 92%] tests/test_wildcard.py ... [ 92%] tests/test_wrap.py .................................. [ 94%] tests/test_wrapfs.py ... [ 94%] tests/test_zipfs.py .................................................... [ 96%] .................s.................................................... [100%] =============================== warnings summary =============================== fs/base.py:74 fs/base.py:74 fs/base.py:74 fs/base.py:74 fs/base.py:74 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/base.py:74: DeprecationWarning: method 'settext' has been deprecated, please rename to 'writetext' warnings.warn( .pybuild/cpython3_3.13/build/tests/test_copy.py: 10 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_copy.py:47: 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). utcnow = datetime.datetime.utcnow() .pybuild/cpython3_3.13/build/tests/test_copy.py::TestCopyIfNewer::test_copy_file_if_same_fs /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_copy.py:176: 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). "foo2/exists", datetime.datetime.utcnow() + datetime.timedelta(hours=1) .pybuild/cpython3_3.13/build/tests/test_copy.py::TestCopyIfOlder::test_copy_file_if_same_fs /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_copy.py:421: 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). "foo2/exists", datetime.datetime.utcnow() - datetime.timedelta(hours=1) .pybuild/cpython3_3.13/build/tests/test_ftp_parse.py::TestFTPParse::test_decode_linux /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/_ftp_parse.py:89: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious and fails to parse leap day. The default behavior will change in Python 3.15 to either always raise an exception or to use a different default year (TBD). To avoid trouble, add a specific year to the input & format. See https://github.com/python/cpython/issues/70647. _t = time.strptime(t, frmt) .pybuild/cpython3_3.13/build/tests/test_iotools.py::TestIOTools::test_readlines /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <fs.iotools.RawWrapper object at 0x7ff9051131c0> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/iotools.py", line 37, in close super(RawWrapper, self).close() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/iotools.py", line 46, in flush return self._f.flush() ~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) .pybuild/cpython3_3.13/build/tests/test_iotools.py::TestIOTools::test_readlines /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <fs.iotools.RawWrapper object at 0x7ff905144460> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/iotools.py", line 37, in close super(RawWrapper, self).close() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/iotools.py", line 46, in flush return self._f.flush() ~~~~~~~~~~~~~^^ ValueError: I/O operation on closed file. Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) .pybuild/cpython3_3.13/build/tests/test_iotools.py::TestIOTools::test_writelines /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <fs.iotools.RawWrapper object at 0x7ff9051449a0> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/iotools.py", line 37, in close super(RawWrapper, self).close() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/iotools.py", line 46, in flush return self._f.flush() ~~~~~~~~~~~~~^^ ValueError: flush of closed file Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) .pybuild/cpython3_3.13/build/tests/test_wrap.py::TestWrapReadOnlySyspath::test_copy_file_if_newer /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/copy.py:163: DeprecationWarning: copy_file_if_newer is deprecated. Use copy_file_if instead. warnings.warn( .pybuild/cpython3_3.13/build/tests/test_wrap.py::TestWrapReadOnlySyspath::test_copy_fs_if_newer /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fs/copy.py:70: DeprecationWarning: copy_fs_if_newer is deprecated. Use copy_fs_if instead. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================ 2144 passed, 23 skipped, 23 warnings in 18.78s ================ dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --test-pytest --test-args="--ignore tests/test_ftpfs.py" returned exit code 13 make[1]: *** [debian/rules:11: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

