Skip to content

Commit babfd44

Browse files
derek73claude
andcommitted
Install setuptools explicitly for Python 3.12+ compatibility
distutils was removed from the stdlib in Python 3.12, and setuptools is no longer bundled. Explicitly installing it fixes `python setup.py sdist` on 3.12 and 3.13. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ec2df69 commit babfd44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies
2929
run: |
30-
python -m pip install --upgrade pip
30+
python -m pip install --upgrade pip setuptools
3131
python -m pip install twine
3232
python -m pip install sphinx
3333
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi

0 commit comments

Comments
 (0)