From 9d2c28fedae0d9e0c15f10cbc83779c83f0a44e2 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Wed, 2 Sep 2020 11:15:50 -0700 Subject: [PATCH 1/5] add required python version to setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 0ed7bd95b..bae693725 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,7 @@ def configuration(parent_package='', top_path=None): metadata = dict( name="discretize", version="0.4.15", + python_requires='>=3.6', setup_requires=build_requires, install_requires=install_requires, author="SimPEG developers", From 7cce71ceb162f7ab059b21d940b166995afd2871 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Wed, 2 Sep 2020 11:18:35 -0700 Subject: [PATCH 2/5] test on 3.6, 3.7, 3.8 --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a60be9d6..f2dc9f14c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,21 +25,20 @@ matrix: env: - PYTHON=3.6 - TEST=true - - TEST_DIR="tests/base tests/cyl tests/tree" + - TEST_DIR="tests/base tests/cyl tests/tree tests/docs" - name: "Python 3.7 - base, cyl, tree" os: linux env: - PYTHON=3.7 - TEST=true - TEST_DIR="tests/base tests/cyl tests/tree" - - # test the docs code on 3.6, 3.7 - - name: "Python 3.6 - docs" + - name: "Python 3.8 - base, cyl, tree" os: linux env: - - PYTHON=3.6 + - PYTHON=3.8 - TEST=true - - TEST_DIR="tests/docs" + - TEST_DIR="tests/base tests/cyl tests/tree tests/docs" + # ... and delploy the docs on 3.7 - name: "Python 3.7 - docs" os: linux From b4a0a913a0a2b1ee994bba514d71c19c4909140f Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Wed, 2 Sep 2020 11:18:53 -0700 Subject: [PATCH 3/5] update claim --- docs/content/installing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/installing.rst b/docs/content/installing.rst index c8e2412c1..4a3512dea 100644 --- a/docs/content/installing.rst +++ b/docs/content/installing.rst @@ -6,7 +6,7 @@ Installing Which Python? ============= -Currently, `discretize` will run on 3.5, 3.6 and 3.7. We recommend that you +Currently, `discretize` will run on 3.6, 3.7, and 3.8. We recommend that you use the latest version of Python available on `Anaconda `_. Installing Python From 16c9f06b05c0309729e420dbbcd56cf679994106 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Wed, 2 Sep 2020 11:19:06 -0700 Subject: [PATCH 4/5] add 0.5.0 release notes --- docs/release/0.5.0-notes.rst | 37 ++++++++++++++++++++++++++++++++++++ docs/release/index.rst | 1 + 2 files changed, 38 insertions(+) create mode 100644 docs/release/0.5.0-notes.rst diff --git a/docs/release/0.5.0-notes.rst b/docs/release/0.5.0-notes.rst new file mode 100644 index 000000000..fc5296655 --- /dev/null +++ b/docs/release/0.5.0-notes.rst @@ -0,0 +1,37 @@ +.. currentmodule:: discretize + +.. _0.5.0_notes: + +=================================== +``discretize`` 0.5.0 Release Notes +=================================== + +This minor release has a few small bug fixes as well as a new volume averaging +operator. + +The Volume Averaging operator has been implemented for arbitrary `TensorMesh`, +`TreeMesh`, and combinations of them. It is defined as being a mass conserving +operation. More details can be found in its documentation, :func:`discretize.utils.volume_average`. + +There are also some updates for the new deprecations in ``matplotlib`` to hopefully +throw less deprecation warnings internally. There are still a few left which are +on our radar to fix in the next patch. + +We are also dropping support for python 3.5 which will reach end-of-life within +a few weeks. + +Contributors +============ + +* @jcapriot +* @prisae +* @bluetyson + + +Pull requests +============= + +* `#212 `__: Volume average +* `#216 `__: Update 2_tensor_mesh.py +* `#217 `__: Fix Slicer matplotlib-warning. +* `#213 `__: 0.5.0 release notes and requirements update diff --git a/docs/release/index.rst b/docs/release/index.rst index c3fa064d3..816098753 100644 --- a/docs/release/index.rst +++ b/docs/release/index.rst @@ -4,6 +4,7 @@ Release Notes .. toctree:: :maxdepth: 2 + 0.5.0 <0.5.0-notes> 0.4.15 <0.4.15-notes> 0.4.14 <0.4.14-notes> 0.4.13 <0.4.13-notes> From 73aa225b9b7e5d7e6afe5f8c63290e105fef559a Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Wed, 2 Sep 2020 12:39:41 -0700 Subject: [PATCH 5/5] update links for PR's --- docs/release/0.5.0-notes.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/release/0.5.0-notes.rst b/docs/release/0.5.0-notes.rst index fc5296655..d1e7622b5 100644 --- a/docs/release/0.5.0-notes.rst +++ b/docs/release/0.5.0-notes.rst @@ -31,7 +31,7 @@ Contributors Pull requests ============= -* `#212 `__: Volume average -* `#216 `__: Update 2_tensor_mesh.py -* `#217 `__: Fix Slicer matplotlib-warning. -* `#213 `__: 0.5.0 release notes and requirements update +* `#212 `__: Volume average +* `#216 `__: Update 2_tensor_mesh.py +* `#217 `__: Fix Slicer matplotlib-warning. +* `#220 `__: 0.5.0 release notes and requirements update