From 3a8d9b7830a9f6d7e1f7cf368e420632f5f7d6ea Mon Sep 17 00:00:00 2001
From: Victor Blomqvist <vb@viblo.se>
Date: Fri, 17 Jan 2025 14:13:16 +0100
Subject: [PATCH] Add workaround for Pypy and reenable pypy wheel build

---
 CHANGELOG.rst  | 4 ++++
 pyproject.toml | 1 +
 2 files changed, 5 insertions(+)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index f9706d70..c589ccc0 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -2,6 +2,10 @@
 Changelog 
 =========
 
+.. Pymunk 6.11.0???
+  Changes:
+  - Support pyglet 2.1.x (this means Pyglet 2.0.x wont work )
+  - Added back Pypy wheels with a workaround since it takes such a long for new Pypy version to come out.
 
 Pymunk 6.10.0 (2024-12-22)
 --------------------------
diff --git a/pyproject.toml b/pyproject.toml
index 7952e8bc..e95f79de 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,7 @@
 [build-system]
 requires = [
     "setuptools",
+    "setuptools<74; platform_system=='Windows' and implementation_name=='pypy'",
     "wheel",
     "cffi >= 1.17.1; platform_system != 'Emscripten'",
     "cffi > 1.14.0; platform_system == 'Emscripten'",