Package Details: python-build123d 0.10.0-1

Git Clone URL: https://aur.archlinux.org/python-build123d.git (read-only, click to copy)
Package Base: python-build123d
Description: A python CAD programming library
Upstream URL: https://github.com/gumyr/build123d
Licenses: Apache
Submitter: rmsc
Maintainer: greyltc
Last Packager: rmsc
Votes: 0
Popularity: 0.000000
First Submitted: 2025-02-21 23:55 (UTC)
Last Updated: 2026-02-27 00:25 (UTC)

Latest Comments

phansel commented on 2026-04-21 21:08 (UTC) (edited on 2026-04-21 21:09 (UTC) by phansel)

Does not build for me. Various tests failed:

================================ short test summary info =================================
FAILED tests/test_direct_api/test_face.py::TestFace::test_make_surface_from_curves - AttributeError: type object 'OCP.BRepFill.BRepFill' has no attribute 'Shell'. Did you...
FAILED tests/test_examples.py::TestExamples::test_ttt-ppp0110_py - AssertionError: 0 != 1 : stdout/stderr: b'' / b'Traceback (most recent call last):\n ...
FAILED tests/test_exporters3d.py::TestExportStep::test_export_step_timestamp_datetime - AssertionError: Lists differ: ['2026-04-21T11:41:12'] != ['2025-05-06T21:30:25']
FAILED tests/test_exporters3d.py::TestExportStep::test_export_step_timestamp_str - AssertionError: Lists differ: ['2026-04-21T11:41:12'] != ['0000-00-00T00:00:00']
= 4 failed, 1323 passed, 1 skipped, 5 xfailed, 2 xpassed, 27 warnings in 307.05s (0:05:07) =
==> ERROR: A failure occurred in check().
  Aborting...
error: failed to build 'python-build123d-0.10.0-1': 
error: packages failed to build: python-build123d-0.10.0-1

The timestamp tests failing makes me wonder if this is a PKGBUILD issue rather than an upstream bug. Why are dates from 2025 and the null date (year 0) hardcoded?

phansel commented on 2026-04-21 19:37 (UTC) (edited on 2026-04-21 19:38 (UTC) by phansel)

Seems to have an unstated dependency on python-webcolors?

Added in 2025: https://github.com/gumyr/build123d/commit/377ec3a40bbb7a50f2766bec8b2c9db876c90ad5

greyltc commented on 2026-01-21 16:56 (UTC)

Just a heads up: I've bumped python-ocp to the latest stable release.

rmsc commented on 2025-02-27 14:26 (UTC) (edited on 2025-02-27 14:27 (UTC) by rmsc)

I've submitted a bug report and a PR fixing it a few days ago, still waiting for feedback from the 'lib3mf' maintainer.

In the meantime, I've created a python-lib3mf package that just puts symlinks to what's already installed by 'lib3mf' into the proper location.

s-ol commented on 2025-02-27 13:29 (UTC)

Here's a working python-lib3mf PKGBUILD. I'm not publishing it on the AUR as I don't intend to maintain this package and I consider this approach subpar packaging as it downloads a binary lib3mf.so from Github rather than use the lib3mf package's version. This could be fixed by removing the absolute path logic from upstream lib3mf/init.py and ensuring proper version adherence between the python and native components.

pkgname=python-lib3mf
pkgdesc="lib3mf is an implementation of the 3D Manufacturing Format file standard"
pkgver=2.4.1
pkgrel=1
arch=('any')
url="https://github.com/3MFConsortium/lib3mf_python"
license=('BSD-3-Clause')
makedepends=('python-setuptools' 'python-installer' 'python-wheel')
_name=${pkgname#python-}
_gitrev=69ad5c36e21fc8e289324ffdea4f6ae506188d2a
source=("https://github.com/3MFConsortium/lib3mf_python/archive/$_gitrev.tar.gz")
sha256sums=('172427c4b0574cdc6c59a5e045a0fb4e7bf76ae39f959805f44172f37bb5127e')

build() {
  cd lib3mf_python-$_gitrev
  python build_wheels.py
}

package() {
  cd lib3mf_python-$_gitrev
  python -m installer --destdir="$pkgdir" dist/*.whl
}

s-ol commented on 2025-02-27 12:58 (UTC)

The python lib3mf module is not provided (anymore?) by the Arch lib3mf package, instead it would be necessary to create a python-lib3mf package and add it as a dep with the release from PyPi or https://github.com/3MFConsortium/lib3mf_python.