Skip to content

Commit

Permalink
fix: PyPy release
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Sep 17, 2024
1 parent bafd8c7 commit 00f6995
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ jobs:
python-version: "3.12"
- name: Build source distribution
run: |
# FIXME: setuptools was removed starting with Python 3.12
pip install --upgrade --force setuptools
python -m pip install "."
python setup.py sdist
- name: Store the source distribution
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"readme_renderer",
]
install_requires = [
# https://github.com/pypa/distutils/issues/283
"setuptools<72.2.0",
"setuptools>=66.1.0",
'setuptools<72.2.0; implementation_name == "pypy"', # https://github.com/pypa/distutils/issues/283
]

MARISA_ROOT_DIR = "marisa-trie"
Expand Down

0 comments on commit 00f6995

Please sign in to comment.