Skip to content

Commit

Permalink
Update requirements files for numpy constraint.
Browse files Browse the repository at this point in the history
Updating project requirements.txt and GUI service requirements file
(python/gui/dependencies.txt) to constrain numpy version consistent with
default used by worker image builds set up in example.env.
  • Loading branch information
robertbartel committed Jul 29, 2024
1 parent f3f53b3 commit 78b2f4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions example.env
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ PYCHARM_REMOTE_DEBUG_SERVER_PORT_GUI=55875
################################################################################

## Version of Numpy to select when installing (e.g., within Docker images)
## Note that this probably needs to stay in sync with what is in a few other places
## that don't read directly from this file:
## - requirement.txt
## - python/gui/dependencies.txt
# Note: mind the consecutive equal signs; the value being set here is '==1.26.4'
NUMPY_INSTALL_CONSTRAINT===1.26.4

Expand Down
2 changes: 1 addition & 1 deletion python/gui/dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ channels
channels-redis
djangorestframework
psycopg2-binary # TODO: get source package in future. Note that psycopg2 cannot be used on Mac; psycopg2-binary must be used
numpy
numpy==1.26.4
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python-dotenv
djangorestframework
git+https://github.com/noaa-owp/hypy@master#egg=hypy&subdirectory=python
hydrotools.nwis-client
numpy
numpy==1.26.4
scikit-learn
minio
uri
Expand Down

0 comments on commit 78b2f4c

Please sign in to comment.