Skip to content

Commit

Permalink
Upgrade to python casacore 3.3.1, test on Python 3.8 (#116)
Browse files Browse the repository at this point in the history
* Upgrade to python-casacore 3.3.1
* Add Python 3.8 to travis testing matrix
  • Loading branch information
sjperkins authored May 13, 2020
1 parent fa97c11 commit ea2aaa8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ matrix:
include:
- env: TARGET=python36
- env: TARGET=python37
- env: TARGET=python38
sudo: required
services:
- docker
Expand Down
20 changes: 20 additions & 0 deletions .travis/python38.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM kernsuite/base:5

# Install base requirements
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:deadsnakes/ppa -y
RUN DEBIAN_FRONTEND=noninteractive apt update -y
RUN DEBIAN_FRONTEND=noninteractive apt install -y build-essential curl git python3-distutils python3.8 python3.8-dev
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.8 get-pip.py
ADD . /code
WORKDIR /code

# Test without xarray
RUN python3.8 -m pip install .[testing]
RUN python3.8 -m pip freeze
RUN python3.8 -m pytest --flake8 -s -vvv /code/daskms

# Test with xarray
RUN python3.8 -m pip install .[testing,xarray]
RUN python3.8 -m pip freeze
RUN python3.8 -m pytest --flake8 -s -vvv /code/daskms
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
History
=======

0.2.6 (YYYY-MM-DD)
------------------
* Test on Python 3.8 (:pr:`116`)
* Depend on python-casacore 3.3.1 (:pr:`116`)

0.2.5 (2020-05-11)
------------------
* Remove deadlock in TableProxy weakref.finalize on Python 3.6 (:pr:`113`)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
if not on_rtd:
install_requires += [
"numpy >= 1.14.0",
"python-casacore >= 3.2.0",
"python-casacore >= 3.3.1",
]


Expand Down

0 comments on commit ea2aaa8

Please sign in to comment.