Package Details: python-cadquery-git 2.1.r149.g7b1a99c-1

Git Clone URL: https://aur.archlinux.org/python-cadquery-git.git (read-only, click to copy)
Package Base: python-cadquery-git
Description: A parametric CAD scripting framework based on PythonOCC built from git
Upstream URL: https://github.com/CadQuery/cadquery
Licenses: Apache
Conflicts: python-cadquery
Provides: python-cadquery
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 0
Popularity: 0.000000
First Submitted: 2019-12-31 13:08
Last Updated: 2021-06-04 09:38

Required by (2)

Sources (1)

Latest Comments

ChrisMorgan commented on 2021-06-04 05:07

python-typing_extensions needs to be moved from checkdepends to depends, you can’t import cadquery without it (cadquery imports cadquery.occ_impl.shapes, which imports typing_extensions).

DCengineer commented on 2021-03-06 17:50

@greyltc It did install, but I had to install python-nptyping manually first. I'm using pacaur, and for some reason it tried to install python-nptyping with pacman.

==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: python-nptyping
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python-nptyping
==> ERROR: Could not resolve all dependencies.
error: failed to build python-nptyping package(s)

greyltc commented on 2021-03-06 10:24

@DCengineer fixed now maybe?

DCengineer commented on 2021-03-05 05:22

@greyltc Still getting the same set of unit test failures with the 2.1.r65.g0325474-2 PKGBUILD.

DCengineer commented on 2021-03-03 03:51

Getting multiple patching prompts:

Patching file cadquery/cq.py
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 3746 with fuzz 2 (offset 204 lines).
patching file cadquery/occ_impl/shapes.py
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 158 (offset 10 lines).
Hunk #2 succeeded at 2837 with fuzz 2 (offset 272 lines).
patching file tests/test_cadquery.py
Hunk #1 succeeded at 3055 (offset 344 lines).
...
patching file tests/test_cadquery.py
Reversed (or previously applied) patch detected!  Assume -R? [n] y
...
patching file tests/test_cadquery.py
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 3517 (offset 347 lines).

DCengineer commented on 2021-02-23 17:18

Multiple unit test errors/warnings

===================================== ERRORS ======================================
_____________________ ERROR collecting tests/test_assembly.py _____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_assembly.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
___________________ ERROR collecting tests/test_cad_objects.py ____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_cad_objects.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
_____________________ ERROR collecting tests/test_cadquery.py _____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_cadquery.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
_______________________ ERROR collecting tests/test_cqgi.py _______________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_cqgi.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
_____________________ ERROR collecting tests/test_examples.py _____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_examples.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
____________________ ERROR collecting tests/test_exporters.py _____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_exporters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
____________________ ERROR collecting tests/test_importers.py _____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_importers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
_____________________ ERROR collecting tests/test_jupyter.py ______________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_jupyter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
____________________ ERROR collecting tests/test_selectors.py _____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_selectors.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
____________________ ERROR collecting tests/test_workplanes.py ____________________
ImportError while importing test module '/home/caleb/.cache/pacaur/python-cadquery-git/src/cadquery/tests/test_workplanes.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/__init__.py:1: in <module>
    from cadquery import *
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/__init__.py:31: in <module>
    from .assembly import Assembly, Color, Constraint
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/assembly.py:10: in <module>
    from .occ_impl.solver import (
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
cadquery/occ_impl/solver.py:2: in <module>
    from nptyping import NDArray as Array
/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py:142: in _import
    return original_import(name, *args, **kwargs)
E   ModuleNotFoundError: No module named 'nptyping'
================================ warnings summary =================================
cadquery/selectors.py:194
  ~/.cache/pacaur/python-cadquery-git/src/cadquery/cadquery/selectors.py:194: DeprecationWarning: invalid escape sequence \|
    """

cadquery/selectors.py:680
  ~/.cache/pacaur/python-cadquery-git/src/cadquery/cadquery/selectors.py:680: DeprecationWarning: invalid escape sequence \|
    """

cadquery/selectors.py:743
  ~/.cache/pacaur/python-cadquery-git/src/cadquery/cadquery/selectors.py:743: DeprecationWarning: invalid escape sequence \|
    """

-- Docs: https://docs.pytest.org/en/stable/warnings.html
============================= short test summary info =============================
ERROR tests/test_assembly.py
ERROR tests/test_cad_objects.py
ERROR tests/test_cadquery.py
ERROR tests/test_cqgi.py
ERROR tests/test_examples.py
ERROR tests/test_exporters.py
ERROR tests/test_importers.py
ERROR tests/test_jupyter.py
ERROR tests/test_selectors.py
ERROR tests/test_workplanes.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!!!
========================= 3 warnings, 10 errors in 1.08s ==========================

Jarshvor commented on 2020-11-08 04:21

Jupyter test failed for me, preventing installation: FAILED tests/test_jupyter.py::TestJupyter::test_repr_html - ModuleNotFoundError: No module named 'IPython'

Was resolved by installing ipython. Not sure if this needs to be a dependency.

emanus commented on 2020-10-18 09:40

Building also failed during check(), but for different reason than Z2h-A6n. I had to install python-nptyping as (python-typing-extensions was already present).

Z2h-A6n commented on 2020-09-25 18:41

I believe that python-typing-extensions should be added to checkdepends. Building this package fails during check() with failed tests resulting from a missing typing_extensions module if python-typing-extensions isn't installed, but succeeds if it is.