Skip to content

Commit a93aeeb

Browse files
committedJul 10, 2024·
add dependency to numpy<2, as 2.0 does not work with currrent cadquery #13
1 parent b9bf01d commit a93aeeb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
 

‎environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- python>=3.8,<=3.12
6-
- numpy~=1.26
6+
- numpy<2
77
- ipython
88
- ocp=7.7.2
99
- vtk=*=qt*
@@ -28,7 +28,7 @@ dependencies:
2828
- appdirs
2929
- pip
3030
- recommonmark
31-
- cadquery>=2
31+
- cadquery>=2.4
3232
- pip:
3333
- sphinx-toolbox>=3.5.0
3434

‎requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
# use dev version of cadquery, current 2.4 has an issue with numpy 2.0
1+
# current caadquery 2.4 has an issue with numpy 2.0
22
# see https://github.com/CadQuery/cadquery/issues/1616
3-
cadquery @ git+https://github.com/CadQuery/cadquery
3+
numpy<2
4+
cadquery>=2.4

‎setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
author_email='mail@andreaskahler.com',
1212
packages=find_packages(),
1313
install_requires=[
14+
'numpy<2',
1415
'cadquery>=2.4'
1516
],
1617
python_requires=">=3.8",

0 commit comments

Comments
 (0)
Please sign in to comment.