Package Details: python-cadquery 2.7.0-1

Git Clone URL: https://aur.archlinux.org/python-cadquery.git (read-only, click to copy)
Package Base: python-cadquery
Description: A parametric CAD scripting framework based on PythonOCC
Upstream URL: https://github.com/CadQuery/cadquery
Licenses: Apache-2.0
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 7
Popularity: 0.000000
First Submitted: 2019-11-27 10:33 (UTC)
Last Updated: 2026-03-17 05:32 (UTC)

Latest Comments

1 2 Next › Last »

LukeLabrie commented on 2026-04-10 11:06 (UTC)

FYI, I think the failing testText test was renamed to test_text, so now it escapes the exception and fails

s-ol commented on 2025-01-24 11:27 (UTC)

Current v2.5.2 (_build_hash=23af517a66928e7c0bc3ebb6b86edf643af4751c) builds fine, prepare() with the patch can be dropped as it has been merged.

I'm not sure why this package uses _build_hash is used instead of #tag=v${pkgver}?

Auerhuhn commented on 2025-01-02 16:36 (UTC)

Hi @greyltc,

Thank you for your comment on opencascade-cadquery, which made me give python-cadquery another try.

However, python-cadquery still fails to build for me in a clean chroot for several reasons explained here.

To fix these issues, I had to modify this PKGBUILD.
It works fine for me with the patch applied (provided that in python-ocp, fmt is also added to depends).

Would you consider applying my fixes?
The following snippet should suffice:

curl -LO https://salsa.debian.org/-/snippets/766/raw/main/python-cadquery-2.4.0-PKGBUILD.patch
less python-cadquery-2.4.0-PKGBUILD.patch
patch -p1 < python-cadquery-2.4.0-PKGBUILD.patch

Thanks again for maintaining this behemoth package, and sorry for bothering you time and again.
CAD stuff always has to be complicated, I guess!

Regards
Claudia

Kunda commented on 2024-03-14 21:15 (UTC)

https://github.com/CadQuery/cadquery/releases/tag/2.4.0
Changelog: https://github.com/CadQuery/cadquery/blob/2.4.0/changes.md

leuko commented on 2024-02-07 18:23 (UTC)

During check() I get the following error:

ImportError while importing test module '/home/u/.cache/pikaur/build/python-cadquery/src/cadquery/tests/test_examples.py

Can someone verify this?

amstan commented on 2023-02-20 18:34 (UTC)

The build was failing for me without python-typish and python-nptyping

Can confirm. this helped with the error:

  File "/usr/lib/python3.10/site-packages/cadquery/sketch.py", line 19, in <module>
    from typish import instance_of, get_type
ModuleNotFoundError: No module named 'typish'

Is it possible not to run the tests?

I installed mine with pikaur -S python-cadquery --mflags=--nocheck, your aur helper might have similar flags.

I think greyltc should consider disabling checks, this is too much of a compiling beast to bicker about fonts missing in a unit tests.

I really wish it also used all my cores when compiling.

cyber1 commented on 2022-12-30 11:25 (UTC)

The build was failing for me without python-typish and python-nptyping. Probably they should be added to the list of dependencies? It also doesn't pass the tests because of missing fonts. I had to install cantarell-fonts-0.100 and Microsoft fonts from AUR. Is it possible not to run the tests?

tujir commented on 2022-09-14 14:49 (UTC)

https://github.com/CadQuery/cadquery/issues/998 ?

amstan commented on 2022-02-08 20:15 (UTC)

Wow, this package takes super long to compile (longest I've seen in the aur, and I've done kernel and chrome before). A couple of hours despite my various cores (and then errors). This alone is discouraging me from ever using cadquery, it seems to be quite the beast in terms of dependencies. I wonder if it would be worth getting a binary instead.

greyltc commented on 2021-03-04 21:47 (UTC) (edited on 2021-03-04 21:47 (UTC) by greyltc)

Yeah. This upstream release does not support opencascade 7.5 that Arch uses. Try my python-cadquery-git package until upstream catches up.