https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/ini2toml-0.14 fails tests. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 892736 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any FAILED tests/test_cli.py::test_auto_formatting - SystemExit: 2 tests/test_cli.py::test_auto_formatting FAILED [51/72] self.exit(2, _('%(prog)s: error: %(message)s\n') % args)
What do you get from: pypy3 -c 'from pyproject_fmt import Config, format_pyproject'
(In reply to Michał Górny from comment #3) > What do you get from: > > pypy3 -c 'from pyproject_fmt import Config, format_pyproject' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name 'Config' from 'pyproject_fmt' (/usr/lib/pypy3.10/site-packages/pyproject_fmt/__init__.py)
Ah, sorry, my bad. I must've accidentally tested against -1.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0820eebcad838498394f337123b2d18c2b81be0 commit f0820eebcad838498394f337123b2d18c2b81be0 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-05-13 12:51:22 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-05-13 12:53:44 +0000 dev-python/ini2toml: Remove pyproject-fmt (<2) dep entirely The package currently does not support dev-python/pyproject-fmt-2 API. Let's remove the dependency to avoid forcing a downgrade, and instead skip the test if the correct version is not installed. Closes: https://bugs.gentoo.org/931741 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/ini2toml/ini2toml-0.14.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)