Created attachment 906157 [details] emerge --info ============================================================================================================ FAILURES ============================================================================================================= __________________________________________________________ TestOptions.test_nowarn_accidental_env_marker_misconfig[[options]\ninstall_requires = bar;baz\nboo = xxx;yyy] __________________________________________________________ [gw4] linux -- Python 3.12.6 /var/tmp/portage/dev-python/setuptools-74.1.3/work/setuptools-74.1.3-python3_12/install/usr/bin/python3.12 self = <setuptools.tests.config.test_setupcfg.TestOptions object at 0x7f5c91291580>, config = '[options]\ninstall_requires = bar;baz\nboo = xxx;yyy' tmpdir = local('/var/tmp/portage/dev-python/setuptools-74.1.3/temp/pytest-of-portage/pytest-0/popen-gw4/test_nowarn_accidental_env_mar0'), recwarn = WarningsRecorder(record=True) @pytest.mark.parametrize( "config", [ "[options.extras_require]\nfoo =\n bar;python_version<'3'", "[options.extras_require]\nfoo = bar;baz\nboo = xxx;yyy", "[options.extras_require]\nfoo =\n bar;python_version<'3'\n", "[options.extras_require]\nfoo = bar;baz\nboo = xxx;yyy\n", "[options.extras_require]\nfoo =\n bar\n python_version<3\n", "[options]\ninstall_requires =\n bar;python_version<'3'", "[options]\ninstall_requires = bar;baz\nboo = xxx;yyy", "[options]\ninstall_requires =\n bar;python_version<'3'\n", "[options]\ninstall_requires = bar;baz\nboo = xxx;yyy\n", "[options]\ninstall_requires =\n bar\n python_version<3\n", ], ) @pytest.mark.filterwarnings("error::setuptools.SetuptoolsDeprecationWarning") def test_nowarn_accidental_env_marker_misconfig(self, config, tmpdir, recwarn): fake_env(tmpdir, config) num_warnings = len(recwarn) with get_dist(tmpdir) as _: pass # The examples are valid, no warnings shown > assert len(recwarn) == num_warnings E assert 1 == 0 E + where 1 = len(WarningsRecorder(record=True)) _ = <setuptools.dist.Distribution object at 0x7f5c90d0f590> config = '[options]\ninstall_requires = bar;baz\nboo = xxx;yyy' num_warnings = 0 recwarn = WarningsRecorder(record=True) self = <setuptools.tests.config.test_setupcfg.TestOptions object at 0x7f5c91291580> tmpdir = local('/var/tmp/portage/dev-python/setuptools-74.1.3/temp/pytest-of-portage/pytest-0/popen-gw4/test_nowarn_accidental_env_mar0') setuptools/tests/config/test_setupcfg.py:744: AssertionError # emerge -pqv '=dev-python/setuptools-74.1.3::gentoo' [ebuild U ] dev-python/setuptools-74.1.3 [72.1.0] USE="test" PYTHON_TARGETS="python3_12 (-pypy3) -python3_10 -python3_11 (-python3_13) (-python3_13t)"
Created attachment 906158 [details] Full build.log