Skip to content

Commit dcfe94f

Browse files
authored
Downgrade numpy <2.0.0 (#166)
* Downgrade numpy <2.0.0 - Avoid binary incompatibility * black formatting
1 parent 4a5ea8e commit dcfe94f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

labelCloud/view/gui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def __init__(self, control: "Controller") -> None:
131131
Path(__file__)
132132
.resolve()
133133
.parent.parent.joinpath("resources")
134-
.joinpath("icons").as_posix()
134+
.joinpath("icons")
135+
.as_posix()
135136
)
136137
)
137138
)

requirements.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
numpy>=1.21.6
1+
numpy>=1.21.6,<2.0.0 # Avoids binary incompatibility error.
22
open3d>=0.15.2
3-
PyOpenGL==3.1.6 # prevents 'NoneType' object has no attribute 'glGetError'
3+
PyOpenGL==3.1.6 # Prevents 'NoneType' object has no attribute 'glGetError'.
44
PyOpenGL-accelerate~=3.1.5
55
PyQt5~=5.15.7
66

@@ -12,5 +12,4 @@ pytest-qt~=4.2.0
1212
black>=23.1.0
1313
mypy~=1.3.0
1414
PyQt5-stubs~=5.15.6
15-
types-setuptools~=67.8.0
16-
types-pkg-resources~=0.1.3
15+
types-setuptools~=71.1.0

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ packages =
5151
labelCloud.view
5252
labelCloud.view.startup
5353
install_requires =
54-
numpy>1.20.0
54+
numpy>1.20.0,<2.0.0
5555
open3d
5656
PyOpenGL
5757
PyOpenGL-accelerate

0 commit comments

Comments
 (0)