Skip to content

Commit

Permalink
build: update numpy (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisochoatri committed Jan 31, 2024
1 parent f8067e5 commit ac4c2a6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN pip install --no-cache-dir \
ARG WORKSPACE=/home/dgp
WORKDIR ${WORKSPACE}
COPY requirements.txt requirements-dev.txt /tmp/
RUN pip install --no-cache-dir cython==0.29.21 numpy==1.19.4
RUN pip install --no-cache-dir cython==0.29.30 numpy==1.20.3
RUN pip install --no-cache-dir -r /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements-dev.txt

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ clean:
find dgp/contribs/pd -name "*_pb2.py" | xargs rm -rf

develop:
pip install cython==0.29.21 numpy==1.19.4 grpcio==1.41.0 grpcio-tools==1.41.0
pip install cython==0.29.30 numpy==1.20.3 grpcio==1.41.0 grpcio-tools==1.41.0
pip install --editable .

docker-build:
Expand Down Expand Up @@ -83,7 +83,7 @@ setup-linters:
pre-commit install
pre-commit install --hook-type commit-msg

test: clean build-proto
test: build-proto
PYTHONPATH=$(PWD):$(PYTHONPATH) \
$(UNITTEST) $(UNITTEST_OPTS) $(PWD)/tests/

Expand Down
2 changes: 1 addition & 1 deletion docs/VIRTUAL_ENV.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DGP.

```sh
dgp$ pip install --upgrade pip
dgp$ pip install cython==0.29.21 numpy==1.19.4
dgp$ pip install cython==0.29.30 numpy==1.20.3
dgp$ pip install -r requirements.txt -r requirements-dev.txt
```

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ torch>=1.8.1
torchvision>=0.9.1
tqdm>=4.29.1
tenacity>=6.0.0
xarray==2022.6.0
xarray>=2022.6.0
numpy>=1.20.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run(self):
'dgp_cli=dgp.cli:cli',
]},
include_package_data=True,
setup_requires=['cython==0.29.21', 'grpcio==1.41.0', 'grpcio-tools==1.41.0'],
setup_requires=['cython==0.29.30', 'grpcio==1.41.0', 'grpcio-tools==1.41.0'],
install_requires=requirements,
extras_require={'dev': requirements_dev},
zip_safe=False,
Expand Down

0 comments on commit ac4c2a6

Please sign in to comment.