Skip to content

pybullet: Add version 3.2.7 - #2170

Merged
luhenry merged 1 commit into
mainfrom
pybullet
Sep 21, 2026
Merged

luhenry merged 1 commit into
mainfrom
pybullet

Conversation

@luhenry

@luhenry luhenry commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Compiles the Bullet Physics SDK's C++ sources into the pybullet and eglRenderer extension modules. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheel.sh — manylinux container, pip install -r requirements.txt, pip wheel, auditwheel repair.

Differs from upstream

  • Checks out a commit, not a tag — 3.2.7 was released without one; that tree is byte-identical to the PyPI sdist.
  • numpy comes from our registry with build isolation off — setup.py enables its numpy paths from a plain import numpy.
  • CFLAGS=-Wno-error=incompatible-pointer-types — pybullet.c hands PyObject* to numpy's PyArrayObject* accessors, which GCC 14 rejects and GCC 13 only warned about.

Testing

  • Runs examples/pybullet/unittests — upstream's own test loop in wheel.sh is boilerplate that installs an unrelated package.
  • Stages data/ beside those tests, which resolve r2d2.urdf and friends through bullet's relative search path.

License: OK

Built on cp312; 18 passed, 0 skipped.

luhenry added a commit that referenced this pull request Sep 21, 2026
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-21 13:46 UTC

Build the Bullet Physics Python bindings for riscv64. setup.py compiles
the Bullet3 C++ sources directly into the pybullet and eglRenderer
extension modules; every SSE and x86 asm path is already gated on
__i386__/__x86_64__, so no patch is needed.

3.2.7 was released without a git tag, so the workflow pins the release
commit; its tree is byte-identical to the PyPI sdist.

pybullet.c hands PyObject* to numpy's PyArrayObject* accessors. GCC 13,
which upstream's manylinux2014 image ships, only warns; the GCC 14.3.1 in
manylinux_2_39_riscv64 makes -Wincompatible-pointer-types a hard error, so
the build passes -Wno-error for it.
@luhenry
luhenry marked this pull request as ready for review September 21, 2026 13:45
@luhenry
luhenry merged commit fb2655a into main Sep 21, 2026
12 checks passed
@luhenry
luhenry deleted the pybullet branch September 21, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant