Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setuptools in rawhide broken on Python 3.12 #10862

Closed
sarnold opened this issue Jul 17, 2023 · 1 comment
Closed

setuptools in rawhide broken on Python 3.12 #10862

sarnold opened this issue Jul 17, 2023 · 1 comment
Assignees
Labels
Infrastructure Our content build system

Comments

@sarnold
Copy link
Contributor

sarnold commented Jul 17, 2023

Description of problem:

Python 3.12 has removed some deprecated (since 3.4 even) imp bits that breaks pkg_resources in rawhide build.

SCAP Security Guide Version:

master branch (and others) with Py3.12 and distro not-the-latest setuptools

Operating System Version:

GH CI ubuntu-latest

Steps to Reproduce:

  1. run the Build workflow
  2. check status of jobs
  3. rawhide job fails immediately

Additional Information/Debugging Steps:

  1. review this PR: gh-98040: Remove just the imp module python/cpython#98573

Possible solutions:

  1. refactor to use importlib/other
  2. use the patched pkgutil in v66.1.0 or newer
@marcusburghardt marcusburghardt added the Infrastructure Our content build system label Sep 4, 2023
@marcusburghardt
Copy link
Member

Fixed by #10819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Our content build system
Projects
None yet
Development

No branches or pull requests

2 participants