Skip to content

Commit

Permalink
fix(build): Added missing setuptools versions pinning that break the …
Browse files Browse the repository at this point in the history
…PyPy builds
  • Loading branch information
flozz committed Nov 25, 2024
1 parent de1ff4c commit 6bd6232
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Changelog

* Nothing yet ;)

* fix(build): Added missing setuptools versions pinning that break the PyPy builds (@flozz)

* **v1.3.2 / v1.3.2-1:**

* fix(build): Fixed Windows build with recent setuptools versions (@flozz)
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
[build-system]
requires = [
"setuptools",
# ↓ See: https://github.com/pypa/distutils/issues/283
"setuptools<72; implementation_name=='pypy'",
# ↓ See https://github.com/wanadev/mozjpeg-lossless-optimization/issues/26
"setuptools<74; platform_system=='Windows' and implementation_name=='pypy'",
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target-version = ['py39']

0 comments on commit 6bd6232

Please sign in to comment.