Skip to content

Commit

Permalink
Downgrade numpy <2.0.0 (#166)
Browse files Browse the repository at this point in the history
* Downgrade numpy <2.0.0

 - Avoid binary incompatibility

* black formatting
  • Loading branch information
ch-sa authored Aug 18, 2024
1 parent 4a5ea8e commit dcfe94f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion labelCloud/view/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def __init__(self, control: "Controller") -> None:
Path(__file__)
.resolve()
.parent.parent.joinpath("resources")
.joinpath("icons").as_posix()
.joinpath("icons")
.as_posix()
)
)
)
Expand Down
7 changes: 3 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.21.6
numpy>=1.21.6,<2.0.0 # Avoids binary incompatibility error.
open3d>=0.15.2
PyOpenGL==3.1.6 # prevents 'NoneType' object has no attribute 'glGetError'
PyOpenGL==3.1.6 # Prevents 'NoneType' object has no attribute 'glGetError'.
PyOpenGL-accelerate~=3.1.5
PyQt5~=5.15.7

Expand All @@ -12,5 +12,4 @@ pytest-qt~=4.2.0
black>=23.1.0
mypy~=1.3.0
PyQt5-stubs~=5.15.6
types-setuptools~=67.8.0
types-pkg-resources~=0.1.3
types-setuptools~=71.1.0
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ packages =
labelCloud.view
labelCloud.view.startup
install_requires =
numpy>1.20.0
numpy>1.20.0,<2.0.0
open3d
PyOpenGL
PyOpenGL-accelerate
Expand Down

0 comments on commit dcfe94f

Please sign in to comment.