Description of problem: Package python-setuptools fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 67.7.2-5.fc39 Steps to Reproduce: koji build --scratch f39 python-setuptools-67.7.2-5.fc39.src.rpm Additional info: There are 6 tests failing, 4 of them are DeprecationWarnings treated as errors and can be surpassed with -Wdefault in the spec file =================================== FAILURES =================================== _________________________ test_legacy_editable_install _________________________ venv = <setuptools.tests.environment.VirtualEnv object at 0x3ff94c05520> tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_legacy_editable_install0') tmpdir_cwd = local('/builddir/build/BUILD/setuptools-67.7.2') def test_legacy_editable_install(venv, tmpdir, tmpdir_cwd): pyproject = """ [build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta" [project] name = "myproj" version = "42" """ path.build({"pyproject.toml": DALS(pyproject), "mymod.py": ""}) # First: sanity check cmd = ["pip", "install", "--no-build-isolation", "-e", "."] > output = str(venv.run(cmd, cwd=tmpdir), "utf-8").lower() /builddir/build/BUILD/setuptools-67.7.2/setuptools/tests/test_build_meta.py:883: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/setuptools-67.7.2/setuptools/tests/environment.py:34: in run return subprocess.check_output(cmd, *args, **kwargs) /usr/lib64/python3.12/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = ([Path('/tmp/pytest-of-mockbuild/pytest-0/test_legacy_editable_install0/venv/.env/bin/pip'), 'install', '--no-build-isolation', '-e', '.'],) kwargs = {'cwd': local('/tmp/pytest-of-mockbuild/pytest-0/test_legacy_editable_install0'), 'env': {'CC': 'gcc', 'CFLAGS': '-O2 ...e=z14 -fasynchronous-unwind-tables -fstack-clash-protection ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...}, 'stdout': -1} process = <Popen: returncode: 1 args: [Path('/tmp/pytest-of-mockbuild/pytest-0/test_le...> stdout = b"Obtaining file:///tmp/pytest-of-mockbuild/pytest-0/test_legacy_editable_install0\n Checking if build backend suppor...ble metadata (pyproject.toml): started\n Preparing editable metadata (pyproject.toml): finished with status 'error'\n" stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-mockbuild/pytest-0/test_legacy_editable_install0/venv/.env/bin/pip'), 'install', '--no-build-isolation', '-e', '.']' returned non-zero exit status 1. /usr/lib64/python3.12/subprocess.py:571: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.12.0.beta.4-64 in 188ms creator CPython3Posix(dest=/tmp/pytest-of-mockbuild/pytest-0/test_legacy_editable_install0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, via=copy, app_data_dir=/builddir/.local/share/virtualenv) added seed packages: pip==23.1.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing ./pyproject-wheeldir/setuptools-67.7.2-py3-none-any.whl Installing collected packages: setuptools Successfully installed setuptools-67.7.2 ----------------------------- Captured stderr call ----------------------------- error: subprocess-exited-with-error × Preparing editable metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [10 lines of output] running dist_info creating /tmp/pip-modern-metadata-sug8ruca/myproj.egg-info writing /tmp/pip-modern-metadata-sug8ruca/myproj.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-sug8ruca/myproj.egg-info/dependency_links.txt writing top-level names to /tmp/pip-modern-metadata-sug8ruca/myproj.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-sug8ruca/myproj.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-modern-metadata-sug8ruca/myproj.egg-info/SOURCES.txt' writing manifest file '/tmp/pip-modern-metadata-sug8ruca/myproj.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-sug8ruca/myproj-42.dist-info' error: invalid command 'bdist_wheel' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. _____ TestSetupRequires.test_setup_requires_override_nspkg[use_setup_cfg0] _____ self = <setuptools.tests.test_easy_install.TestSetupRequires object at 0x3ff95111f70> use_setup_cfg = () @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) def test_setup_requires_override_nspkg(self, use_setup_cfg): """ Like ``test_setup_requires_overrides_version_conflict`` but where the ``setup_requires`` package is part of a namespace package that has *already* been imported. """ with contexts.save_pkg_resources_state(): with contexts.tempdir() as temp_dir: foobar_1_archive = os.path.join(temp_dir, 'foo.bar-0.1.tar.gz') make_nspkg_sdist(foobar_1_archive, 'foo.bar', '0.1') # Now actually go ahead an extract to the temp dir and add the # extracted path to sys.path so foo.bar v0.1 is importable foobar_1_dir = os.path.join(temp_dir, 'foo.bar-0.1') os.mkdir(foobar_1_dir) with tarfile.open(foobar_1_archive) as tf: > tf.extractall(foobar_1_dir) setuptools/tests/test_easy_install.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/tarfile.py:2248: in extractall filter_function = self._get_filter_function(filter) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tarfile.TarFile object at 0x3ff91141d30>, filter = None def _get_filter_function(self, filter): if filter is None: filter = self.extraction_filter if filter is None: > warnings.warn( 'Python 3.14 will, by default, filter extracted tar ' + 'archives and reject files or modify their metadata. ' + 'Use the filter argument to control this behavior.', DeprecationWarning) E DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. /usr/lib64/python3.12/tarfile.py:2213: DeprecationWarning _____ TestSetupRequires.test_setup_requires_override_nspkg[use_setup_cfg1] _____ self = <setuptools.tests.test_easy_install.TestSetupRequires object at 0x3ff95110c50> use_setup_cfg = ('dependency_links',) @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) def test_setup_requires_override_nspkg(self, use_setup_cfg): """ Like ``test_setup_requires_overrides_version_conflict`` but where the ``setup_requires`` package is part of a namespace package that has *already* been imported. """ with contexts.save_pkg_resources_state(): with contexts.tempdir() as temp_dir: foobar_1_archive = os.path.join(temp_dir, 'foo.bar-0.1.tar.gz') make_nspkg_sdist(foobar_1_archive, 'foo.bar', '0.1') # Now actually go ahead an extract to the temp dir and add the # extracted path to sys.path so foo.bar v0.1 is importable foobar_1_dir = os.path.join(temp_dir, 'foo.bar-0.1') os.mkdir(foobar_1_dir) with tarfile.open(foobar_1_archive) as tf: > tf.extractall(foobar_1_dir) setuptools/tests/test_easy_install.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/tarfile.py:2248: in extractall filter_function = self._get_filter_function(filter) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tarfile.TarFile object at 0x3ff90e08dd0>, filter = None def _get_filter_function(self, filter): if filter is None: filter = self.extraction_filter if filter is None: > warnings.warn( 'Python 3.14 will, by default, filter extracted tar ' + 'archives and reject files or modify their metadata. ' + 'Use the filter argument to control this behavior.', DeprecationWarning) E DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. /usr/lib64/python3.12/tarfile.py:2213: DeprecationWarning _____ TestSetupRequires.test_setup_requires_override_nspkg[use_setup_cfg2] _____ self = <setuptools.tests.test_easy_install.TestSetupRequires object at 0x3ff95113bf0> use_setup_cfg = ('setup_requires',) @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) def test_setup_requires_override_nspkg(self, use_setup_cfg): """ Like ``test_setup_requires_overrides_version_conflict`` but where the ``setup_requires`` package is part of a namespace package that has *already* been imported. """ with contexts.save_pkg_resources_state(): with contexts.tempdir() as temp_dir: foobar_1_archive = os.path.join(temp_dir, 'foo.bar-0.1.tar.gz') make_nspkg_sdist(foobar_1_archive, 'foo.bar', '0.1') # Now actually go ahead an extract to the temp dir and add the # extracted path to sys.path so foo.bar v0.1 is importable foobar_1_dir = os.path.join(temp_dir, 'foo.bar-0.1') os.mkdir(foobar_1_dir) with tarfile.open(foobar_1_archive) as tf: > tf.extractall(foobar_1_dir) setuptools/tests/test_easy_install.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/tarfile.py:2248: in extractall filter_function = self._get_filter_function(filter) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tarfile.TarFile object at 0x3ff90e0a690>, filter = None def _get_filter_function(self, filter): if filter is None: filter = self.extraction_filter if filter is None: > warnings.warn( 'Python 3.14 will, by default, filter extracted tar ' + 'archives and reject files or modify their metadata. ' + 'Use the filter argument to control this behavior.', DeprecationWarning) E DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. /usr/lib64/python3.12/tarfile.py:2213: DeprecationWarning _____ TestSetupRequires.test_setup_requires_override_nspkg[use_setup_cfg3] _____ self = <setuptools.tests.test_easy_install.TestSetupRequires object at 0x3ff95113c80> use_setup_cfg = ('dependency_links', 'setup_requires') @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) def test_setup_requires_override_nspkg(self, use_setup_cfg): """ Like ``test_setup_requires_overrides_version_conflict`` but where the ``setup_requires`` package is part of a namespace package that has *already* been imported. """ with contexts.save_pkg_resources_state(): with contexts.tempdir() as temp_dir: foobar_1_archive = os.path.join(temp_dir, 'foo.bar-0.1.tar.gz') make_nspkg_sdist(foobar_1_archive, 'foo.bar', '0.1') # Now actually go ahead an extract to the temp dir and add the # extracted path to sys.path so foo.bar v0.1 is importable foobar_1_dir = os.path.join(temp_dir, 'foo.bar-0.1') os.mkdir(foobar_1_dir) with tarfile.open(foobar_1_archive) as tf: > tf.extractall(foobar_1_dir) setuptools/tests/test_easy_install.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.12/tarfile.py:2248: in extractall filter_function = self._get_filter_function(filter) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tarfile.TarFile object at 0x3ff90e0a570>, filter = None def _get_filter_function(self, filter): if filter is None: filter = self.extraction_filter if filter is None: > warnings.warn( 'Python 3.14 will, by default, filter extracted tar ' + 'archives and reject files or modify their metadata. ' + 'Use the filter argument to control this behavior.', DeprecationWarning) E DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. /usr/lib64/python3.12/tarfile.py:2213: DeprecationWarning ____________________ test_test_command_install_requirements ____________________ venv = <setuptools.tests.environment.VirtualEnv object at 0x3ff816978f0> tmpdir = local('/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0') tmpdir_cwd = local('/builddir/build/BUILD/setuptools-67.7.2') def test_test_command_install_requirements(venv, tmpdir, tmpdir_cwd): # Ensure pip/wheel packages are installed. > venv.run(["python", "-c", "__import__('pkg_resources').require(['pip', 'wheel'])"]) /builddir/build/BUILD/setuptools-67.7.2/setuptools/tests/test_virtualenv.py:178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/setuptools-67.7.2/setuptools/tests/environment.py:34: in run return subprocess.check_output(cmd, *args, **kwargs) /usr/lib64/python3.12/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = ([Path('/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv/.env/bin/python'), '-c', "__import__('pkg_resources').require(['pip', 'wheel'])"],) kwargs = {'cwd': Path('/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv'), 'env': {'CC': 'gcc', 'CFLAGS':...e=z14 -fasynchronous-unwind-tables -fstack-clash-protection ', 'CONFIG_SITE': 'NONE', 'CXX': 'g++', ...}, 'stdout': -1} process = <Popen: returncode: 1 args: [Path('/tmp/pytest-of-mockbuild/pytest-0/test_te...> stdout = b'', stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '[Path('/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv/.env/bin/python'), '-c', "__import__('pkg_resources').require(['pip', 'wheel'])"]' returned non-zero exit status 1. /usr/lib64/python3.12/subprocess.py:571: CalledProcessError ---------------------------- Captured stdout setup ----------------------------- created virtual environment CPython3.12.0.beta.4-64 in 228ms creator CPython3Posix(dest=/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, via=copy, app_data_dir=/builddir/.local/share/virtualenv) added seed packages: pip==23.1.2 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Processing ./pyproject-wheeldir/setuptools-67.7.2-py3-none-any.whl Installing collected packages: setuptools Successfully installed setuptools-67.7.2 ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv/.env/lib/python3.12/site-packages/pkg_resources/__init__.py", line 966, in require needed = self.resolve(parse_requirements(requirements)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv/.env/lib/python3.12/site-packages/pkg_resources/__init__.py", line 827, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/tmp/pytest-of-mockbuild/pytest-0/test_test_command_install_requ0/venv/.env/lib/python3.12/site-packages/pkg_resources/__init__.py", line 868, in _resolve_dist raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'wheel' distribution was not found and is required by the application =============================== warnings summary =============================== setuptools/tests/test_config_discovery.py::TestDiscoverPackagesAndPyModules::test_py_modules_when_wheel_dir_is_cwd /usr/lib/python3.12/site-packages/wheel/bdist_wheel.py:419: DeprecationWarning: onerror argument is deprecated, use onexc instead rmtree(self.bdist_dir, onerror=remove_readonly) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] pkg_resources/tests/test_pkg_resources.py:387: Testing case-insensitive filesystems. SKIPPED [3] pkg_resources/tests/test_pkg_resources.py:404: Testing systems using backslashes as path separators. SKIPPED [1] setuptools/tests/test_develop.py:64: TODO: needs a fixture to cause 'develop' to be invoked without mutating environment. SKIPPED [1] setuptools/tests/test_distutils_adoption.py:58: stdlib distutils is removed from Python 3.12+ SKIPPED [3] setuptools/tests/test_distutils_adoption.py:126: stdlib distutils is removed from Python 3.12+ SKIPPED [1] setuptools/tests/test_distutils_adoption.py:157: stdlib distutils is removed from Python 3.12+ SKIPPED [1] setuptools/tests/test_install_scripts.py:50: Windows only SKIPPED [1] setuptools/tests/test_install_scripts.py:78: Windows only SKIPPED [1] setuptools/tests/test_msvc14.py:15: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:33: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:51: These tests are only for win32 SKIPPED [1] setuptools/tests/test_msvc14.py:67: These tests are only for win32 SKIPPED [1] setuptools/tests/test_windows_wrappers.py:80: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:121: Windows only SKIPPED [1] setuptools/tests/test_windows_wrappers.py:182: Windows only XFAIL setuptools/tests/test_bdist_egg.py::Test::test_exclude_source_files - Byte code disabled XFAIL setuptools/tests/test_build_py.py::test_excluded_subpackages - reason: #3260 XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 1.2: Project-Url-attrs5] - Issue #1578: project_urls not read XFAIL setuptools/tests/test_dist.py::test_read_metadata[Metadata Version 2.1: Provides Extra-attrs9] - provides_extras not read XFAIL setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[extras_require_with_marker_in_setup_cfg] XPASS pkg_resources/tests/test_pkg_resources.py::test_distribution_version_missing[egg-info-PKG-INFO-EggInfoDistribution] https://github.com/python/cpython/issues/103632 XPASS pkg_resources/tests/test_pkg_resources.py::test_distribution_version_missing[dist-info-METADATA-DistInfoDistribution] https://github.com/python/cpython/issues/103632 XPASS pkg_resources/tests/test_pkg_resources.py::test_distribution_version_missing_undetected_path https://github.com/python/cpython/issues/103632 XPASS pkg_resources/tests/test_resources.py::TestDistro::testDistroDependsOptions https://github.com/python/cpython/issues/103632 XPASS setuptools/tests/test_archive_util.py::test_unicode_files #710 and #712 = 6 failed, 1040 passed, 19 skipped, 6 deselected, 5 xfailed, 5 xpassed, 1 warning in 139.95s (0:02:19) =
Created attachment 1975369 [details] preliminary patch for pip Attaching preliminary patch for pip (maybe a different version, let me know if it doesn't apply). Upstream it'll need to go through the PEP process. for the spec: # Backport CVE-2007-4559 mitigations # pip itself (upstream issue): https://github.com/pypa/pip/issues/12111 # distlib (accepted upstream): https://github.com/pypa/distlib/pull/201 Patch7: cve-2007-4559-tarfile.patch
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
python-setuptools now builds.
Reopening, currently it builds without tests.