Your message dated Thu, 19 Dec 2024 10:19:47 +0000
with message-id <e1toddd-00ehvz...@fasolo.debian.org>
and subject line Bug#1090261: fixed in pristine-lfs 20241219.0-1
has caused the Debian Bug report #1090261,
regarding pristine-lfs: FTBFS: E TypeError: 'PosixPath' object does not support
the context manager protocol
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1090261: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090261
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:pristine-lfs
Version: 20241001.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running config
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/errors.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/main.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/gitwrap.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/log.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
copying pristine_lfs/util.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
running egg_info
creating pristine_lfs.egg-info
writing pristine_lfs.egg-info/PKG-INFO
writing dependency_links to pristine_lfs.egg-info/dependency_links.txt
writing entry points to pristine_lfs.egg-info/entry_points.txt
writing requirements to pristine_lfs.egg-info/requires.txt
writing top-level names to pristine_lfs.egg-info/top_level.txt
writing manifest file 'pristine_lfs.egg-info/SOURCES.txt'
reading manifest file 'pristine_lfs.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*/stubs/*'
warning: no previously-included files found matching '.git*'
adding license file 'COPYING'
writing manifest file 'pristine_lfs.egg-info/SOURCES.txt'
copying pristine_lfs/gitwrap.pyi ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/pristine_lfs
generating a manpage from pristine-lfs.rst to pristine-lfs.1
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/errors.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/main.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/gitwrap.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/log.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
copying pristine_lfs/util.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
running egg_info
writing pristine_lfs.egg-info/PKG-INFO
writing dependency_links to pristine_lfs.egg-info/dependency_links.txt
writing entry points to pristine_lfs.egg-info/entry_points.txt
writing requirements to pristine_lfs.egg-info/requires.txt
writing top-level names to pristine_lfs.egg-info/top_level.txt
reading manifest file 'pristine_lfs.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*/stubs/*'
warning: no previously-included files found matching '.git*'
adding license file 'COPYING'
writing manifest file 'pristine_lfs.egg-info/SOURCES.txt'
copying pristine_lfs/gitwrap.pyi ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pristine_lfs
generating a manpage from pristine-lfs.rst to pristine-lfs.1
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build;
python3.13 -m pytest --junit-xml=/dev/null
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1
collected 14 items
pristine_lfs/util.py .... [ 28%]
tests/test_git_works.py E [ 35%]
tests/test_checkout.py EE [ 50%]
tests/test_commit.py .... [ 78%]
tests/test_import_dsc.py . [ 85%]
tests/test_list.py E [ 92%]
tests/test_verify.py . [100%]
==================================== ERRORS ====================================
_________________ ERROR at setup of test_git_works[/bin/true] __________________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_git_works__bin_true_0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5e68478f83101246388ff8167e755a5346df33b441df34887aa52cd3a80c8535')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
________ ERROR at setup of test_pristine_lfs_simple_checkout[/bin/true] ________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_pristine_lfs_simple_check0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5e68478f83101246388ff8167e755a5346df33b441df34887aa52cd3a80c8535')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
_________ ERROR at setup of test_pristine_lfs_auto_checkout[/bin/true] _________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_pristine_lfs_auto_checkou0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5e68478f83101246388ff8167e755a5346df33b441df34887aa52cd3a80c8535')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
_____________ ERROR at setup of test_pristine_lfs_list[/bin/true] ______________
fake_tarball =
WorkDir(path=PosixPath('/tmp/pytest-of-buildd/pytest-0/test_pristine_lfs_list__bin_tr0'),
tarball=PosixPath('true_0.orig.tar.gz'), size=15017,
sha='5d91c2344deaccab9b5f887cf5698283a648b2f1598f0ff56bedec380a5395c1')
@pytest.fixture
def fake_pristine_lfs(fake_tarball):
repo, tarball, size, sha = fake_tarball
git.checkout('-b', 'pristine-lfs')
git.lfs.track('*.tar.*')
> with Path('.gitattributes') as f:
E TypeError: 'PosixPath' object does not support the context manager
protocol
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/conftest.py:68: TypeError
=============================== warnings summary ===============================
.pybuild/cpython3_3.13/build/tests/test_commit.py: 28 warnings
.pybuild/cpython3_3.13/build/tests/test_import_dsc.py: 5 warnings
.pybuild/cpython3_3.13/build/tests/test_verify.py: 12 warnings
/usr/lib/python3/dist-packages/sh.py:1980: DeprecationWarning: This process
(pid=108958) is multi-threaded, use of fork() may lead to deadlocks in the
child.
self.pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------ generated xml file: /dev/null -------------------------
=========================== short test summary info ============================
ERROR tests/test_git_works.py::test_git_works[/bin/true] - TypeError: 'PosixP...
ERROR tests/test_checkout.py::test_pristine_lfs_simple_checkout[/bin/true] - ...
ERROR tests/test_checkout.py::test_pristine_lfs_auto_checkout[/bin/true] - Ty...
ERROR tests/test_list.py::test_pristine_lfs_list[/bin/true] - TypeError: 'Pos...
================== 10 passed, 45 warnings, 4 errors in 1.58s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest
--junit-xml=/dev/null
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m pytest --junit-xml=/dev/null
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: typeguard-4.4.1
collected 14 items
pristine_lfs/util.py .... [ 28%]
tests/test_git_works.py . [ 35%]
tests/test_checkout.py .. [ 50%]
tests/test_commit.py .... [ 78%]
tests/test_import_dsc.py . [ 85%]
tests/test_list.py . [ 92%]
tests/test_verify.py . [100%]
=============================== warnings summary ===============================
.pybuild/cpython3_3.12/build/tests/test_git_works.py::test_git_works[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_checkout.py::test_pristine_lfs_simple_checkout[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_checkout.py::test_pristine_lfs_auto_checkout[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_list.py::test_pristine_lfs_list[/bin/true]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/conftest.py:68:
DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for
removal in Python 3.13; Path objects as a context manager is a no-op
with Path('.gitattributes') as f:
.pybuild/cpython3_3.12/build/tests/test_checkout.py::test_pristine_lfs_auto_checkout[/bin/true]
.pybuild/cpython3_3.12/build/tests/test_list.py::test_pristine_lfs_list[/bin/true]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/conftest.py:96:
DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for
removal in Python 3.13; Path objects as a context manager is a no-op
with Path('debian/changelog') as changelog:
.pybuild/cpython3_3.12/build/tests/test_commit.py: 22 warnings
.pybuild/cpython3_3.12/build/tests/test_import_dsc.py: 2 warnings
.pybuild/cpython3_3.12/build/tests/test_list.py: 3 warnings
.pybuild/cpython3_3.12/build/tests/test_verify.py: 6 warnings
/usr/lib/python3/dist-packages/sh.py:1980: DeprecationWarning: This process
(pid=110652) is multi-threaded, use of fork() may lead to deadlocks in the
child.
self.pid = os.fork()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------ generated xml file: /dev/null -------------------------
======================= 14 passed, 39 warnings in 2.61s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202412/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: pristine-lfs
Source-Version: 20241219.0-1
Done: Andrej Shadura <andrew.shad...@collabora.co.uk>
We believe that the bug you reported is fixed in the latest version of
pristine-lfs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1090...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <andrew.shad...@collabora.co.uk> (supplier of updated
pristine-lfs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Dec 2024 11:07:25 +0100
Source: pristine-lfs
Architecture: source
Version: 20241219.0-1
Distribution: unstable
Urgency: medium
Maintainer: Andrej Shadura <andre...@debian.org>
Changed-By: Andrej Shadura <andrew.shad...@collabora.co.uk>
Closes: 1090261
Changes:
pristine-lfs (20241219.0-1) unstable; urgency=medium
.
[ Rebecca N. Palmer ]
* Support Python 3.13 and test on it (Closes: #1090261).
* Stop using glob('**') as it changed meaning in Python 3.13.
.
[ Andrej Shadura ]
* Rmeove pgpsigurlmangle from debian/watch as PyPI no longer hosts PGP
signatures.
Checksums-Sha1:
03df1fa635cd2df32b255605defa3e9e908f64e1 1699 pristine-lfs_20241219.0-1.dsc
7e9d63e556c25c532ed3e80d4cf30a253e678251 25080
pristine-lfs_20241219.0.orig.tar.gz
093d0164de7370418468b42d9958a1e13ac1e256 10272
pristine-lfs_20241219.0-1.debian.tar.xz
Checksums-Sha256:
ef9721b32ed7eb12b91496f41e82842761181a7f57f30e6303ab91a487d5b7bd 1699
pristine-lfs_20241219.0-1.dsc
e35232ac760cb64f29ad43ca19cff6d37711f0a8b7c9e742a4787b6a865de447 25080
pristine-lfs_20241219.0.orig.tar.gz
b83b6fba6eb95d92464a15a0e2be3aae990d0ed5167969c41a5a02b3c1e03a87 10272
pristine-lfs_20241219.0-1.debian.tar.xz
Files:
285f1f26e71bb4f85fc962c62aca1280 1699 utils optional
pristine-lfs_20241219.0-1.dsc
0ce74d8772cca5e4899d1557a0543745 25080 utils optional
pristine-lfs_20241219.0.orig.tar.gz
58232588b42981e5fb570291e10d4bd0 10272 utils optional
pristine-lfs_20241219.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCZ2PwsgAKCRDoRGtKyMdy
YWAVAP4ioaYdmTPrPiZQLb93pfrTCk9jOIQI+QqPP420GiNMXwD+N7j+qICxvOoB
HPsD4K4Smgj7/MBWEG2FdJo32EMW1Qg=
=As1i
-----END PGP SIGNATURE-----
pgpviwQFxR6M1.pgp
Description: PGP signature
--- End Message ---