From d3d094af22f05864970151dc6f90e48008341e5e Mon Sep 17 00:00:00 2001 From: Serge Rey Date: Mon, 26 Jul 2021 17:57:58 -0700 Subject: [PATCH] Bump to 2.4.3 --- CHANGELOG.md | 30 ++++++ mapclassify/__init__.py | 2 +- tools/gitcount.ipynb | 228 +++++++++++++--------------------------- 3 files changed, 104 insertions(+), 156 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6989df98..0446945a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# Version 2.4.3 (2021-07-26) + +This is a bug-fix release + +We closed a total of 14 issues (enhancements and bug fixes) through 5 pull requests, since our last release on 2020-12-22. + +## Issues Closed + - Add min arg to UserDefined (#114) + - Enable python 2 install (#110) + - Inconsistent UserDefined Scale With Multiple Axes (#109) + - Turn off 3.6 testing on ubuntu (#107) + - 3.9 (#108) + - about the classification method's output interval's precision (#106) + - 2.4.2 prep (#103) + - Update change log and version (#102) + - REGR: invariant array fix (#104) + +## Pull Requests + - Add min arg to UserDefined (#114) + - Enable python 2 install (#110) + - 2.4.2 prep (#103) + - Update change log and version (#102) + - REGR: invariant array fix (#104) + +The following individuals contributed to this release: + + - Serge Rey + - Justin Pihony + - Martin Fleischmann + # Version 2.4.1 (2020-12-20) This is a bug-fix release. diff --git a/mapclassify/__init__.py b/mapclassify/__init__.py index 699ce290..88110c22 100644 --- a/mapclassify/__init__.py +++ b/mapclassify/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.4.2" +__version__ = "2.4.3" # __version__ has to be defined in the first line from .classifiers import ( diff --git a/tools/gitcount.ipynb b/tools/gitcount.ipynb index 8daac8e7..c674dd10 100644 --- a/tools/gitcount.ipynb +++ b/tools/gitcount.ipynb @@ -55,7 +55,19 @@ "cell_type": "code", "execution_count": 4, "metadata": {}, - "outputs": [], + "outputs": [ + { + "ename": "ModuleNotFoundError", + "evalue": "No module named 'yaml'", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 15\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 16\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mssl\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 17\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0myaml\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 18\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 19\u001b[0m \u001b[0mcontext\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mssl\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_create_unverified_context\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'yaml'" + ] + } + ], "source": [ "from __future__ import print_function\n", "import os\n", @@ -115,7 +127,7 @@ { "data": { "text/plain": [ - "datetime.datetime(2020, 6, 13, 0, 0)" + "datetime.datetime(2020, 12, 22, 0, 0)" ] }, "execution_count": 7, @@ -169,7 +181,7 @@ { "data": { "text/plain": [ - "42" + "6" ] }, "execution_count": 10, @@ -268,7 +280,7 @@ { "data": { "text/plain": [ - "dict_keys(['Serge Rey', 'Stefanie Lumnitz', 'James Gaboardi', 'Martin Fleischmann', 'Jcs Laptop'])" + "dict_keys(['Serge Rey', 'Justin Pihony'])" ] }, "execution_count": 16, @@ -448,21 +460,11 @@ { "data": { "text/plain": [ - "['Remove timeout on tests. (#96)',\n", - " 'Handle recursion error for head tails. (#95)',\n", - " '[API] add high-level API `mapclassify.classify()` (#90)',\n", - " 'BUG: Fix mapclassify #88 (#89)',\n", - " 'exclude Python 3.6 for Windows (#94)',\n", - " 'CI: update conda action (#93)',\n", - " 'BUG: fix unordered series in greedy (#87)',\n", - " 'MAINT: fix repos name (#85)',\n", - " 'DOC: content type for long description (#84)',\n", - " 'MAINT: update gitcount notebook (#83)',\n", - " 'DOC: figs (#82)',\n", - " 'DOCS: new images for tutorial (#81)',\n", - " 'DOC: missing figs (#80)',\n", - " 'DOCS: update documentation pages (#78)',\n", - " 'Make networkx optional, remove xfail from greedy (#77)']" + "['Add min arg to UserDefined (#114)',\n", + " 'Enable python 2 install (#110)',\n", + " '2.4.2 prep (#103)',\n", + " 'Update change log and version (#102)',\n", + " 'REGR: invariant array fix (#104)']" ] }, "execution_count": 22, @@ -500,7 +502,7 @@ { "data": { "text/plain": [ - "'We closed a total of 39 issues (enhancements and bug fixes) through 15 pull requests, since our last release on 2020-06-13.'" + "'We closed a total of 14 issues (enhancements and bug fixes) through 5 pull requests, since our last release on 2020-12-22.'" ] }, "execution_count": 25, @@ -530,7 +532,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "We closed a total of 39 issues (enhancements and bug fixes) through 15 pull requests, since our last release on 2020-06-13.\n", + "We closed a total of 14 issues (enhancements and bug fixes) through 5 pull requests, since our last release on 2020-12-22.\n", "\n", "## Issues Closed\n", "\n" @@ -563,50 +565,25 @@ "name": "stdout", "output_type": "stream", "text": [ - "We closed a total of 39 issues (enhancements and bug fixes) through 15 pull requests, since our last release on 2020-06-13.\n", + "We closed a total of 14 issues (enhancements and bug fixes) through 5 pull requests, since our last release on 2020-12-22.\n", "\n", "## Issues Closed\n", - " - Remove timeout on tests. (#96)\n", - " - BUG: HeadTailBreaks RecursionError due to floating point issue (#92)\n", - " - Handle recursion error for head tails. (#95)\n", - " - Add streamlined API (#72)\n", - " - [API] add high-level API `mapclassify.classify()` (#90)\n", - " - BUG: Fix mapclassify #88 (#89)\n", - " - exclude Python 3.6 for Windows (#94)\n", - " - CI: update conda action (#93)\n", - " - EqualInterval unclear error when `max_y - min_y = 0` (#88)\n", - " - BUG: fix unordered series in greedy (#87)\n", - " - BUG: greedy(strategy='balanced') does not return correct labels (#86)\n", - " - Extra files in PyPI sdist (#56)\n", - " - MAINT: fix repos name (#85)\n", - " - DOC: content type for long description (#84)\n", - " - MAINT: update gitcount notebook (#83)\n", - " - Update documentations to include tutorial (#63)\n", - " - build binder for notebooks (#71)\n", - " - current version of mapclassify in docs? (#70)\n", - " - 404 for notebook/tutorials links in docs (#79)\n", - " - DOC: figs (#82)\n", - " - DOCS: new images for tutorial (#81)\n", - " - DOC: missing figs (#80)\n", - " - DOCS: update documentation pages (#78)\n", - " - Make networkx optional, remove xfail from greedy (#77)\n", + " - Add min arg to UserDefined (#114)\n", + " - Enable python 2 install (#110)\n", + " - Inconsistent UserDefined Scale With Multiple Axes (#109)\n", + " - Turn off 3.6 testing on ubuntu (#107)\n", + " - 3.9 (#108)\n", + " - about the classification method's output interval's precision (#106)\n", + " - 2.4.2 prep (#103)\n", + " - Update change log and version (#102)\n", + " - REGR: invariant array fix (#104)\n", "\n", "## Pull Requests\n", - " - Remove timeout on tests. (#96)\n", - " - Handle recursion error for head tails. (#95)\n", - " - [API] add high-level API `mapclassify.classify()` (#90)\n", - " - BUG: Fix mapclassify #88 (#89)\n", - " - exclude Python 3.6 for Windows (#94)\n", - " - CI: update conda action (#93)\n", - " - BUG: fix unordered series in greedy (#87)\n", - " - MAINT: fix repos name (#85)\n", - " - DOC: content type for long description (#84)\n", - " - MAINT: update gitcount notebook (#83)\n", - " - DOC: figs (#82)\n", - " - DOCS: new images for tutorial (#81)\n", - " - DOC: missing figs (#80)\n", - " - DOCS: update documentation pages (#78)\n", - " - Make networkx optional, remove xfail from greedy (#77)\n" + " - Add min arg to UserDefined (#114)\n", + " - Enable python 2 install (#110)\n", + " - 2.4.2 prep (#103)\n", + " - Update change log and version (#102)\n", + " - REGR: invariant array fix (#104)\n" ] } ], @@ -633,10 +610,7 @@ "output_type": "stream", "text": [ " - Serge Rey\n", - " - Stefanie Lumnitz\n", - " - James Gaboardi\n", - " - Martin Fleischmann\n", - " - Jcs Laptop\n" + " - Justin Pihony\n" ] } ], @@ -662,58 +636,30 @@ "name": "stdout", "output_type": "stream", "text": [ - "We closed a total of 39 issues (enhancements and bug fixes) through 15 pull requests, since our last release on 2020-06-13.\n", + "We closed a total of 14 issues (enhancements and bug fixes) through 5 pull requests, since our last release on 2020-12-22.\n", "\n", "## Issues Closed\n", - " - Remove timeout on tests. (#96)\n", - " - BUG: HeadTailBreaks RecursionError due to floating point issue (#92)\n", - " - Handle recursion error for head tails. (#95)\n", - " - Add streamlined API (#72)\n", - " - [API] add high-level API `mapclassify.classify()` (#90)\n", - " - BUG: Fix mapclassify #88 (#89)\n", - " - exclude Python 3.6 for Windows (#94)\n", - " - CI: update conda action (#93)\n", - " - EqualInterval unclear error when `max_y - min_y = 0` (#88)\n", - " - BUG: fix unordered series in greedy (#87)\n", - " - BUG: greedy(strategy='balanced') does not return correct labels (#86)\n", - " - Extra files in PyPI sdist (#56)\n", - " - MAINT: fix repos name (#85)\n", - " - DOC: content type for long description (#84)\n", - " - MAINT: update gitcount notebook (#83)\n", - " - Update documentations to include tutorial (#63)\n", - " - build binder for notebooks (#71)\n", - " - current version of mapclassify in docs? (#70)\n", - " - 404 for notebook/tutorials links in docs (#79)\n", - " - DOC: figs (#82)\n", - " - DOCS: new images for tutorial (#81)\n", - " - DOC: missing figs (#80)\n", - " - DOCS: update documentation pages (#78)\n", - " - Make networkx optional, remove xfail from greedy (#77)\n", + " - Add min arg to UserDefined (#114)\n", + " - Enable python 2 install (#110)\n", + " - Inconsistent UserDefined Scale With Multiple Axes (#109)\n", + " - Turn off 3.6 testing on ubuntu (#107)\n", + " - 3.9 (#108)\n", + " - about the classification method's output interval's precision (#106)\n", + " - 2.4.2 prep (#103)\n", + " - Update change log and version (#102)\n", + " - REGR: invariant array fix (#104)\n", "\n", "## Pull Requests\n", - " - Remove timeout on tests. (#96)\n", - " - Handle recursion error for head tails. (#95)\n", - " - [API] add high-level API `mapclassify.classify()` (#90)\n", - " - BUG: Fix mapclassify #88 (#89)\n", - " - exclude Python 3.6 for Windows (#94)\n", - " - CI: update conda action (#93)\n", - " - BUG: fix unordered series in greedy (#87)\n", - " - MAINT: fix repos name (#85)\n", - " - DOC: content type for long description (#84)\n", - " - MAINT: update gitcount notebook (#83)\n", - " - DOC: figs (#82)\n", - " - DOCS: new images for tutorial (#81)\n", - " - DOC: missing figs (#80)\n", - " - DOCS: update documentation pages (#78)\n", - " - Make networkx optional, remove xfail from greedy (#77)\n", + " - Add min arg to UserDefined (#114)\n", + " - Enable python 2 install (#110)\n", + " - 2.4.2 prep (#103)\n", + " - Update change log and version (#102)\n", + " - REGR: invariant array fix (#104)\n", "\n", "The following individuals contributed to this release:\n", "\n", " - Serge Rey\n", - " - Stefanie Lumnitz\n", - " - James Gaboardi\n", - " - Martin Fleischmann\n", - " - Jcs Laptop\n" + " - Justin Pihony\n" ] } ], @@ -741,60 +687,32 @@ "text": [ "# Changes\n", "\n", - "Version 2.4.0 (2020-12-12)\n", + "Version 2.4.3 (2021-07-26)\n", "\n", - "We closed a total of 39 issues (enhancements and bug fixes) through 15 pull requests, since our last release on 2020-06-13.\n", + "We closed a total of 14 issues (enhancements and bug fixes) through 5 pull requests, since our last release on 2020-12-22.\n", "\n", "## Issues Closed\n", - " - Remove timeout on tests. (#96)\n", - " - BUG: HeadTailBreaks RecursionError due to floating point issue (#92)\n", - " - Handle recursion error for head tails. (#95)\n", - " - Add streamlined API (#72)\n", - " - [API] add high-level API `mapclassify.classify()` (#90)\n", - " - BUG: Fix mapclassify #88 (#89)\n", - " - exclude Python 3.6 for Windows (#94)\n", - " - CI: update conda action (#93)\n", - " - EqualInterval unclear error when `max_y - min_y = 0` (#88)\n", - " - BUG: fix unordered series in greedy (#87)\n", - " - BUG: greedy(strategy='balanced') does not return correct labels (#86)\n", - " - Extra files in PyPI sdist (#56)\n", - " - MAINT: fix repos name (#85)\n", - " - DOC: content type for long description (#84)\n", - " - MAINT: update gitcount notebook (#83)\n", - " - Update documentations to include tutorial (#63)\n", - " - build binder for notebooks (#71)\n", - " - current version of mapclassify in docs? (#70)\n", - " - 404 for notebook/tutorials links in docs (#79)\n", - " - DOC: figs (#82)\n", - " - DOCS: new images for tutorial (#81)\n", - " - DOC: missing figs (#80)\n", - " - DOCS: update documentation pages (#78)\n", - " - Make networkx optional, remove xfail from greedy (#77)\n", + " - Add min arg to UserDefined (#114)\n", + " - Enable python 2 install (#110)\n", + " - Inconsistent UserDefined Scale With Multiple Axes (#109)\n", + " - Turn off 3.6 testing on ubuntu (#107)\n", + " - 3.9 (#108)\n", + " - about the classification method's output interval's precision (#106)\n", + " - 2.4.2 prep (#103)\n", + " - Update change log and version (#102)\n", + " - REGR: invariant array fix (#104)\n", "\n", "## Pull Requests\n", - " - Remove timeout on tests. (#96)\n", - " - Handle recursion error for head tails. (#95)\n", - " - [API] add high-level API `mapclassify.classify()` (#90)\n", - " - BUG: Fix mapclassify #88 (#89)\n", - " - exclude Python 3.6 for Windows (#94)\n", - " - CI: update conda action (#93)\n", - " - BUG: fix unordered series in greedy (#87)\n", - " - MAINT: fix repos name (#85)\n", - " - DOC: content type for long description (#84)\n", - " - MAINT: update gitcount notebook (#83)\n", - " - DOC: figs (#82)\n", - " - DOCS: new images for tutorial (#81)\n", - " - DOC: missing figs (#80)\n", - " - DOCS: update documentation pages (#78)\n", - " - Make networkx optional, remove xfail from greedy (#77)\n", + " - Add min arg to UserDefined (#114)\n", + " - Enable python 2 install (#110)\n", + " - 2.4.2 prep (#103)\n", + " - Update change log and version (#102)\n", + " - REGR: invariant array fix (#104)\n", "\n", "The following individuals contributed to this release:\n", "\n", " - Serge Rey\n", - " - Stefanie Lumnitz\n", - " - James Gaboardi\n", - " - Martin Fleischmann\n", - " - Jcs Laptop\n" + " - Justin Pihony\n" ] } ], @@ -851,7 +769,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.6" + "version": "3.8.6" } }, "nbformat": 4,