Skip to content

Commit 2df6d43

Browse files
committed
Prep 6.10.0
1 parent 8dff21e commit 2df6d43

File tree

8 files changed

+28
-14
lines changed

8 files changed

+28
-14
lines changed

CHANGELOG.rst

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,31 @@ Changelog
33
=========
44

55

6-
.. Pymunk 6.10.0??
7-
Changes:
8-
- Added from_polars() static method to Vec2d to easily create Vec2ds from polar coordinates.
9-
- Improved docs (of Vec2d)
6+
Pymunk 6.10.0 (2024-12-22)
7+
--------------------------
8+
9+
**Pyodode/pyscript fixes**
10+
11+
This is a minor update to Pymunk that make the Pyodide wheels working again.
12+
It also introduces tests in the build to prevent similar issues in the future.
13+
14+
Changes:
15+
16+
- Added from_polars() static method to Vec2d to easily create Vec2ds from
17+
polar coordinates.
18+
- Improved docs (of Vec2d)
19+
- Relax CFFI version requirement for pyodide to let it work even before
20+
Pyodide updates CFFI.
21+
- Test pyodide wheels when built.
22+
1023

1124
Pymunk 6.9.0 (2024-10-13)
1225
-------------------------
1326

1427
**Python 3.13**
1528

1629
This is a minor update to Pymunk with wheels for CPython 3.13. In addition,
17-
with this release Pymunk no longer officialy support Python 3.7, since its not
30+
with this release Pymunk no longer officially support Python 3.7, since its not
1831
supported anymore, and CFFI, which Pymunk uses, no longer provides wheels for
1932
it. In addition, Pypy is somewhat broken until they release a version with
2033
latest CFFI. Details on the Pypy issue here:

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ authors:
55
given-names: "Victor"
66
title: "Pymunk"
77
abstract: "A easy-to-use pythonic rigid body 2d physics library"
8-
version: 6.9.0
9-
date-released: 2024-10-13
8+
version: 6.10.0
9+
date-released: 2024-12-22
1010
url: "https://pymunk.org"

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ the Pymunk webpage for some examples.
1818

1919
2007 - 2024, Victor Blomqvist - vb@viblo.se, MIT License
2020

21-
This release is based on the latest Pymunk release (6.9.0),
21+
This release is based on the latest Pymunk release (6.10.0),
2222
using Chipmunk2D 7 rev dfc2fb8ca023ce6376fa2cf4a7f91c92ee08a970.
2323

2424

TODO.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ v6.x
3535
- Think about the copyright notice in some files. Keep / put everywere / remove?
3636
- Constraint private accumulated over previous time step properties are not saved when pickle.
3737
- Add a test to check that version property is correctly set matching setup.py (and readme?)
38+
- Make space step size default 1/60, and/or make it possible to set on the space instead of pasing in to step function to make api easier to use "right"
3839

3940
v7+ (all potentially breaking changes)
4041
---

pymunk/_pyglet15_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ def draw_circle(
133133
c.opacity = color[3]
134134
self.draw_shapes.append(c)
135135
cc = pos + Vec2d.from_polar(radius, angle)
136-
c = outline_color.as_int()
136+
oc = outline_color.as_int()
137137
l = pyglet.shapes.Line(
138-
pos.x, pos.y, cc.x, cc.y, width=1, color=c[:3], batch=self.batch, group=fg
138+
pos.x, pos.y, cc.x, cc.y, width=1, color=oc[:3], batch=self.batch, group=fg
139139
)
140140
self.draw_shapes.append(l)
141141

pymunk/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
cp = _chipmunk_cffi.lib
3333
ffi = _chipmunk_cffi.ffi
3434

35-
version = "6.9.0"
35+
version = "6.10.0"
3636

3737
chipmunk_version = "%s-%s" % (
3838
ffi.string(cp.cpVersionString).decode("utf-8"),

pymunk/vec2d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
# SOFTWARE.
2222
# ----------------------------------------------------------------------------
2323

24-
"""This module contain the Vec2d class that is used in all of pymunk when a
25-
vector is needed.
24+
"""This module contains the Vec2d class that is used in all of Pymunk when a
25+
2d vector is needed.
2626
2727
It is easy to create Vec2ds::
2828

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99

1010
[project]
1111
name = "pymunk"
12-
version = "6.9.0" # remember to change me for new versions!
12+
version = "6.10.0" # remember to change me for new versions!
1313
# Require cffi >1.14.0 since that (and older) has problem with returing structs from functions.
1414
# Require cffi >= 1.17.1 since older cant work with latest setuptools version
1515
dependencies = [

0 commit comments

Comments
 (0)