Skip to content

Commit

Permalink
poetry: Pin numpy < 1.24
Browse files Browse the repository at this point in the history
`datashader` up to 1.14.4 was using `numpy.warnings` which got removed in 1.24.
They have fixed this on master, but they have not released a new version yet.
Adding this pin forces us to make a new thalassa release as soon as 1.14.5 gets released,
because if we don't we won't be able to use thalassa with up to date numpy versions.

holoviz/datashader#1158
  • Loading branch information
pmav99 committed May 5, 2023
1 parent 15296ff commit 63de40b
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 42 deletions.
70 changes: 35 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ holoviews = "*"
hvplot = "*"
llvmlite = "*"
netCDF4 = "*"
numpy = "*"
# datashader has fixed the incompatibilities with numpy, but they haven't released a new package
# As soon as datashader 1.4.5 gets released we should be able to remove the pin
# https://github.com/holoviz/datashader/issues/1158
numpy = "<1.24"
pandas = "*"
panel = "*"
"ruamel.yaml" = "*"
Expand Down
6 changes: 3 additions & 3 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ numba==0.57.0 ; python_version >= "3.9"
numbagg==0.2.2 ; python_version >= "3.9"
numcodecs==0.11.0 ; python_version >= "3.9"
numpy-groupies==0.9.20 ; python_version >= "3.9"
numpy==1.24.3 ; python_version >= "3.9"
numpy==1.23.5 ; python_version >= "3.9"
packaging==23.1 ; python_version >= "3.9"
pandas==2.0.1 ; python_version >= "3.9"
pandocfilters==1.5.0 ; python_version >= "3.9"
Expand Down Expand Up @@ -114,8 +114,8 @@ pywin32==306 ; sys_platform == "win32" and platform_python_implementation != "Py
pyyaml==6.0 ; python_version >= "3.9"
pyzmq==25.0.2 ; python_version >= "3.9"
requests==2.30.0 ; python_version >= "3.9"
ruamel-yaml-clib==0.2.7 ; platform_python_implementation == "CPython" and python_version < "3.11" and python_version >= "3.9"
ruamel-yaml==0.17.22 ; python_version >= "3.9"
ruamel-yaml-clib==0.2.7 ; platform_python_implementation == "CPython" and python_version < "3.12" and python_version >= "3.9"
ruamel-yaml==0.17.23 ; python_version >= "3.9"
scipy==1.9.3 ; python_version >= "3.9"
setuptools==67.7.2 ; python_version >= "3.9"
shapely==2.0.1 ; python_version >= "3.9"
Expand Down
6 changes: 3 additions & 3 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ numba==0.57.0 ; python_version >= "3.9"
numbagg==0.2.2 ; python_version >= "3.9"
numcodecs==0.11.0 ; python_version >= "3.9"
numpy-groupies==0.9.20 ; python_version >= "3.9"
numpy==1.24.3 ; python_version >= "3.9"
numpy==1.23.5 ; python_version >= "3.9"
packaging==23.1 ; python_version >= "3.9"
pandas==2.0.1 ; python_version >= "3.9"
panel==0.14.4 ; python_version >= "3.9"
Expand All @@ -68,8 +68,8 @@ pytz==2023.3 ; python_version >= "3.9"
pyviz-comms==2.2.1 ; python_version >= "3.9"
pyyaml==6.0 ; python_version >= "3.9"
requests==2.30.0 ; python_version >= "3.9"
ruamel-yaml-clib==0.2.7 ; platform_python_implementation == "CPython" and python_version < "3.11" and python_version >= "3.9"
ruamel-yaml==0.17.22 ; python_version >= "3.9"
ruamel-yaml-clib==0.2.7 ; platform_python_implementation == "CPython" and python_version < "3.12" and python_version >= "3.9"
ruamel-yaml==0.17.23 ; python_version >= "3.9"
scipy==1.9.3 ; python_version >= "3.9"
setuptools==67.7.2 ; python_version >= "3.9"
shapely==2.0.1 ; python_version >= "3.9"
Expand Down

0 comments on commit 63de40b

Please sign in to comment.