[BUG] setuptools._distutils.util.byte_compile indirect requires distutils

Open
#4,164 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start at setuptools._distutils.util.byte_compile and reproduce with Python 3.12 using python3.12 setup.py install --skip-build; inspect the attached setup-py-install-failure.txt output for the indirect distutils requirement. Done means indirect byte compilation succeeds when installing setuptools without distutils.

Written by the indexing model from the issue text.

Description

bug Needs Triage
setuptools version

setuptools==69.0.2

Python version

Python 3.12

OS

openSUSE Tumbleweed

Additional environment information

No response

Description

While trying to install setuptools itself, we fail due to no distutils. This may belong under https://github.com/pypa/setuptools/milestone/8

Expected behavior

Indirect byte compilation should succeed with Python 3.12.

How to Reproduce

python3.12 setup.py install --skip-build

Output

setup-py-install-failure.txt

Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pypa/setuptools

All issues in pypa/setuptools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.