Skip to content

Commit

Permalink
DNM: use fast-histogram+casa-formats-io dev builds against numpy-2.0;…
Browse files Browse the repository at this point in the history
… contourpy+pandas unpinned
  • Loading branch information
dhomeier committed Feb 27, 2024
1 parent e6c8e3a commit 3def015
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ deps =
dev: shapely==2.0.1+78.gba0924e
dev: contourpy>=0.0.dev0
dev: pandas>=0.0.dev0
dev: git+https://github.com/radio-astro-tools/casa-formats-io.git
dev: git+https://github.com/astrofrog/fast-histogram.git
# pytest*
dev: coverage
Expand All @@ -55,6 +56,22 @@ deps =
dev: pytz
dev: six
dev: tzdata
# ipython
dev: asttokens
dev: decorator
dev: executing
dev: jedi>=0.16
dev: matplotlib-inline
dev: parso
dev: pexpect
dev: prompt_toolkit>=3.0.41,<3.1.0
dev: ptyprocess
dev: pure-eval
dev: pygments>=2.4.0
dev: stack_data
dev: traitlets
dev: wcwidth
# LTS
lts: astropy==5.0.*
lts: matplotlib==3.5.*
# Pin numpy-lts until permanent solution for #2353/#2428
Expand All @@ -78,11 +95,12 @@ extras =
all: all
docs: docs
visual: visualtest
# Need `--no-deps` as long as pandas and contours have no branch for numpy>=2.0 -
# Need `--pre` for packages like pandas having no released version supporting numpy>=2.0 yet,
# + `--no-deps` for casa-formats-io having no branch for numpy>=2.0 -
# for as long all test deps need to be manually pulled in above as well!
install_command =
!dev: python -I -m pip install
dev: python -I -m pip install -v --pre
dev: python -I -m pip install -v --pre --no-deps
commands =
test: pip freeze
test: pytest --pyargs glue --cov glue --cov-config={toxinidir}/setup.cfg {env:MPLFLAGS} {posargs}
Expand Down

0 comments on commit 3def015

Please sign in to comment.