Skip to content

Commit

Permalink
Pin to numpy < 2.0 (#283)
Browse files Browse the repository at this point in the history
Pins requirements to NP < 2.0. Bump version
  • Loading branch information
bennahugo authored Oct 8, 2024
1 parent 65e9595 commit d787e29
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .ci/py3.8.docker
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ENV MT_DEPENDENCIES libblitz0-dev python3-dev libblas-dev liblapack-dev libqdbm-
libncurses5-dev bison libbison-dev flex libreadline6-dev python3-pip

# setup base dependencies
RUN apt update
RUN docker-apt-install ${DEBIAN_DEPENDENCIES}
RUN docker-apt-install ${MT_DEPENDENCIES}
RUN pip3 install -U pip setuptools wheel
Expand Down
3 changes: 2 additions & 1 deletion .ci/withoutnvcc.py3.10.docker
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ RUN python3.10 -m pip install purr \
owlcat \
kittens \
'meqtrees-cattery>=1.7.6' \
astro-tigger-lsm
astro-tigger-lsm \
'numpy==1.21.5' # same as system
WORKDIR /src
RUN wget https://github.com/ska-sa/meqtrees-timba/archive/refs/tags/v1.10.tar.gz && \
tar zxvf v1.10.tar.gz && \
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
requires = ['tensorflow >= 2.7.0,<=2.15.0; python_version >="3.10"',
'tensorflow >= 2.7.0,<=2.8.4; python_version >="3.8" and python_version <"3.10"',
'tensorflow <=2.4.4; python_version <"3.8"',
"setuptools >= 0.53.0"]
"setuptools >= 0.53.0",
'numpy >= 1.11.3, < 2.0.0']
build-backend = "setuptools.build_meta"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def readme():
'pynose; python_version >= "3.10"',
'nose; python_version < "3.10"',
'numba >= 0.36.2',
'numpy >= 1.11.3',
'numpy >= 1.11.3, < 2.0.0',
'python-casacore >= 2.1.2',
'ruamel.yaml >= 0.15.22',
]
Expand All @@ -769,7 +769,7 @@ def readme():
log.info('install_requires={}'.format(install_requires))

setup(name='montblanc',
version="0.7.3.1",
version="0.7.3.2",
description='GPU-accelerated RIME implementations.',
long_description=readme(),
url='http://github.com/ska-sa/montblanc',
Expand Down

0 comments on commit d787e29

Please sign in to comment.