From ba499256e680263a282449c507cd2e90da4a7514 Mon Sep 17 00:00:00 2001 From: Serge Date: Sat, 25 Jul 2020 17:15:55 -0700 Subject: [PATCH] [ENH] Version bump for 2.2 and pointer to changelog --- CHANGELOG.txt | 102 +---------------- pointpats/__init__.py | 4 +- tools/gitcount.ipynb | 249 +++++++++++++++++++++++------------------- 3 files changed, 141 insertions(+), 214 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e41ec37..4942ccb 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,101 +1 @@ -# Version 2.1.0 (2019-07-01) - -We closed a total of 27 issues (enhancements and bug fixes) through 13 pull requests, since our last release on 2018-10-30. - -## Issues Closed - - update setup.py to accommodate the transition to python3.6 and 3.7 (#34) - - prepare for release of v2.1.0 (#31) - - (docs) reference label style (#33) - - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32) - - (docs) migrate from readthedocs configuration file v1 to v2 (#30) - - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29) - - doc: edits to notebook (#28) - - require libpysal>=4.0.0 (#27) - - `README` in markdown instead of `.rst`? (#24) - - add README.md to resolve issue #24 (#26) - - fix missing reference labels in rendered sphinx docs (#25) - - add badges for docs and pypi release (#23) - - Online docs for pointpats (#22) - - add changelog for release 2.0.0 (#21) - -## Pull Requests - - update setup.py to accommodate the transition to python3.6 and 3.7 (#34) - - prepare for release of v2.1.0 (#31) - - (docs) reference label style (#33) - - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32) - - (docs) migrate from readthedocs configuration file v1 to v2 (#30) - - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29) - - doc: edits to notebook (#28) - - require libpysal>=4.0.0 (#27) - - add README.md to resolve issue #24 (#26) - - fix missing reference labels in rendered sphinx docs (#25) - - add badges for docs and pypi release (#23) - - Online docs for pointpats (#22) - - add changelog for release 2.0.0 (#21) - -The following individuals contributed to this release: - - - Hu Shao - - Wei Kang - - James Gaboardi - - Serge Rey - - Dani Arribas-Bel - -# Version 2.0.0 (2018-10-30) - -We closed a total of 16 issues (enhancements and bug fixes) through 8 pull requests, since our last release on 2018-05-18. - -## Issues Closed - - remove api.py & adjust notebooks and doctests for changes in libpysal (#19) - - version pointpats only in pointpats/__ini__.py (#18) - - include /tests in the release (#17) - - configure dual testing (#16) - - install stable released libpysal for travis testing (#15) - - force UTF8 encoding for the long description read (#14) - - Prepare for the release (#13) - - chore: libpysal is 3 only now so removing travis tests on python 2 (#12) - -## Pull Requests - - remove api.py & adjust notebooks and doctests for changes in libpysal (#19) - - version pointpats only in pointpats/__ini__.py (#18) - - include /tests in the release (#17) - - configure dual testing (#16) - - install stable released libpysal for travis testing (#15) - - force UTF8 encoding for the long description read (#14) - - Prepare for the release (#13) - - chore: libpysal is 3 only now so removing travis tests on python 2 (#12) - -The following individuals contributed to this release: - - - Hu Shao - - Wei Kang - - Levi John Wolf - -v<1.1.0>, 2018-05-17 - -This release is the first tagged release of pointpats on Github. -Starting from this release, pointpats supports python 3.5 and 3.6 only. - -GitHub stats for 2017/04/22 - 2018/05/17 - -These lists are automatically generated, and may be incomplete or contain duplicates. - - -We closed a total of 9 issues, 4 pull requests and 5 regular issues; -this is the full list (generated with the script -:file:`tools/github_stats.py`): - -Pull Requests (4): - -* :ghpull:`12`: b'chore: libpysal is 3 only now so removing travis tests on python 2' -* :ghpull:`11`: b'try removing conversion and see if this passes' -* :ghpull:`10`: b'updating license' -* :ghpull:`9`: b'Update the Readme file, change the relative URL links to absolute URLs' - -Issues (5): - -* :ghissue:`12`: b'chore: libpysal is 3 only now so removing travis tests on python 2' -* :ghissue:`11`: b'try removing conversion and see if this passes' -* :ghissue:`10`: b'updating license' -* :ghissue:`9`: b'Update the Readme file, change the relative URL links to absolute URLs' -* :ghissue:`8`: b'Relative links to notebooks on pypi landing page are broken' +Changelog is at https://github.com/pysal/pointpats/releases diff --git a/pointpats/__init__.py b/pointpats/__init__.py index 19f0f37..48e829a 100644 --- a/pointpats/__init__.py +++ b/pointpats/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.1.1" +__version__ = "2.2.0" # __version__ has to be defined in the first line from .pointpattern import PointPattern @@ -7,4 +7,4 @@ from .process import * from .quadrat_statistics import * from .distance_statistics import * -from .spacetime import * \ No newline at end of file +from .spacetime import * diff --git a/tools/gitcount.ipynb b/tools/gitcount.ipynb index 0e69eb3..570ba32 100644 --- a/tools/gitcount.ipynb +++ b/tools/gitcount.ipynb @@ -26,8 +26,8 @@ "outputs": [], "source": [ "package_name = 'pointpats'\n", - "release_date = '2019-07-01'\n", - "start_date = '2018-10-30'" + "release_date = '2020-07-25'\n", + "start_date = '2019-07-01'" ] }, { @@ -81,7 +81,7 @@ { "data": { "text/plain": [ - "'/Users/weikang/Google Drive/python_repos/pysal-refactor/pointpats/tools'" + "'/home/serge/Dropbox/p/pysal/src/subpackages/pointpats/tools'" ] }, "execution_count": 4, @@ -101,7 +101,7 @@ { "data": { "text/plain": [ - "datetime.datetime(2018, 10, 30, 0, 0)" + "datetime.datetime(2019, 7, 1, 0, 0)" ] }, "execution_count": 5, @@ -155,7 +155,7 @@ { "data": { "text/plain": [ - "40" + "116" ] }, "execution_count": 8, @@ -254,7 +254,7 @@ { "data": { "text/plain": [ - "dict_keys(['Hu Shao', 'Wei Kang', 'James Gaboardi', 'Serge Rey', 'Dani Arribas-Bel'])" + "dict_keys(['Serge Rey', 'Levi John Wolf', 'Wei Kang', 'Sugam Srivastava', 'James Gaboardi', 'Hu Shao'])" ] }, "execution_count": 14, @@ -434,19 +434,22 @@ { "data": { "text/plain": [ - "['update setup.py to accommodate the transition to python3.6 and 3.7 (#34)',\n", - " 'prepare for release of v2.1.0 (#31)',\n", - " '(docs) reference label style (#33)',\n", - " '(docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)',\n", - " '(docs) migrate from readthedocs configuration file v1 to v2 (#30)',\n", - " '(docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)',\n", - " 'doc: edits to notebook (#28)',\n", - " 'require libpysal>=4.0.0 (#27)',\n", - " 'add README.md to resolve issue #24 (#26)',\n", - " 'fix missing reference labels in rendered sphinx docs (#25)',\n", - " 'add badges for docs and pypi release (#23)',\n", - " 'Online docs for pointpats (#22)',\n", - " 'add changelog for release 2.0.0 (#21)']" + "['make quadrat statistics accept a numpy array as argument (#58)',\n", + " 'add numba-fied version of skyum code (#56)',\n", + " 'Ripley numpy (#54)',\n", + " '#47 : Added enhancements to mbr in pointpats (#48)',\n", + " '(doc) add inline docstring for the equation of L function (#53)',\n", + " '(bug) fix for calculating rule of thumb (rot) for a point pattern (#46)',\n", + " 'BUG: fix for K function (#45)',\n", + " '(docs) auto display inherited class members (#43)',\n", + " '(docs) remove generated rst files (#42)',\n", + " '(docs) update docs (#41)',\n", + " 'Add space time interaction tests (#38)',\n", + " 'updating dual travis test procdeure (#39)',\n", + " 'update Readme for v2.1.0 (#37)',\n", + " 'update setup.py for transition to py36 and py37 (#36)',\n", + " 'update changelog for releasing v2.1.0 (#35)',\n", + " 'update setup.py to accommodate the transition to python3.6 and 3.7 (#34)']" ] }, "execution_count": 20, @@ -484,7 +487,7 @@ { "data": { "text/plain": [ - "'We closed a total of 27 issues (enhancements and bug fixes) through 13 pull requests, since our last release on 2018-10-30.'" + "'We closed a total of 34 issues (enhancements and bug fixes) through 16 pull requests, since our last release on 2019-07-01.'" ] }, "execution_count": 23, @@ -514,7 +517,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "We closed a total of 27 issues (enhancements and bug fixes) through 13 pull requests, since our last release on 2018-10-30.\n", + "We closed a total of 34 issues (enhancements and bug fixes) through 16 pull requests, since our last release on 2019-07-01.\n", "\n", "## Issues Closed\n", "\n" @@ -547,38 +550,45 @@ "name": "stdout", "output_type": "stream", "text": [ - "We closed a total of 27 issues (enhancements and bug fixes) through 13 pull requests, since our last release on 2018-10-30.\n", + "We closed a total of 34 issues (enhancements and bug fixes) through 16 pull requests, since our last release on 2019-07-01.\n", "\n", "## Issues Closed\n", + " - make quadrat statistics accept a numpy array as argument (#58)\n", + " - add numba-fied version of skyum code (#56)\n", + " - Ripley numpy (#54)\n", + " - #47 : Added enhancements to mbr in pointpats (#48)\n", + " - intensity estimates for new ripley functions are very incorrect sometimes (#55)\n", + " - (doc) add inline docstring for the equation of L function (#53)\n", + " - (BUG) L function and its Simulation Envelope under the null (CSR) not close to 0 (#44)\n", + " - (bug) fix for calculating rule of thumb (rot) for a point pattern (#46)\n", + " - BUG: fix for K function (#45)\n", + " - (docs) auto display inherited class members (#43)\n", + " - (docs) remove generated rst files (#42)\n", + " - (docs) update docs (#41)\n", + " - Add space time interaction tests (#38)\n", + " - updating dual travis test procdeure (#39)\n", + " - update Readme for v2.1.0 (#37)\n", + " - update setup.py for transition to py36 and py37 (#36)\n", + " - update changelog for releasing v2.1.0 (#35)\n", " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n", - " - prepare for release of v2.1.0 (#31)\n", - " - (docs) reference label style (#33)\n", - " - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)\n", - " - (docs) migrate from readthedocs configuration file v1 to v2 (#30)\n", - " - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)\n", - " - doc: edits to notebook (#28)\n", - " - require libpysal>=4.0.0 (#27)\n", - " - `README` in markdown instead of `.rst`? (#24)\n", - " - add README.md to resolve issue #24 (#26)\n", - " - fix missing reference labels in rendered sphinx docs (#25)\n", - " - add badges for docs and pypi release (#23)\n", - " - Online docs for pointpats (#22)\n", - " - add changelog for release 2.0.0 (#21)\n", "\n", "## Pull Requests\n", - " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n", - " - prepare for release of v2.1.0 (#31)\n", - " - (docs) reference label style (#33)\n", - " - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)\n", - " - (docs) migrate from readthedocs configuration file v1 to v2 (#30)\n", - " - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)\n", - " - doc: edits to notebook (#28)\n", - " - require libpysal>=4.0.0 (#27)\n", - " - add README.md to resolve issue #24 (#26)\n", - " - fix missing reference labels in rendered sphinx docs (#25)\n", - " - add badges for docs and pypi release (#23)\n", - " - Online docs for pointpats (#22)\n", - " - add changelog for release 2.0.0 (#21)\n" + " - make quadrat statistics accept a numpy array as argument (#58)\n", + " - add numba-fied version of skyum code (#56)\n", + " - Ripley numpy (#54)\n", + " - #47 : Added enhancements to mbr in pointpats (#48)\n", + " - (doc) add inline docstring for the equation of L function (#53)\n", + " - (bug) fix for calculating rule of thumb (rot) for a point pattern (#46)\n", + " - BUG: fix for K function (#45)\n", + " - (docs) auto display inherited class members (#43)\n", + " - (docs) remove generated rst files (#42)\n", + " - (docs) update docs (#41)\n", + " - Add space time interaction tests (#38)\n", + " - updating dual travis test procdeure (#39)\n", + " - update Readme for v2.1.0 (#37)\n", + " - update setup.py for transition to py36 and py37 (#36)\n", + " - update changelog for releasing v2.1.0 (#35)\n", + " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n" ] } ], @@ -604,11 +614,12 @@ "name": "stdout", "output_type": "stream", "text": [ - " - Hu Shao\n", + " - Serge Rey\n", + " - Levi John Wolf\n", " - Wei Kang\n", + " - Sugam Srivastava\n", " - James Gaboardi\n", - " - Serge Rey\n", - " - Dani Arribas-Bel\n" + " - Hu Shao\n" ] } ], @@ -634,46 +645,54 @@ "name": "stdout", "output_type": "stream", "text": [ - "We closed a total of 27 issues (enhancements and bug fixes) through 13 pull requests, since our last release on 2018-10-30.\n", + "We closed a total of 34 issues (enhancements and bug fixes) through 16 pull requests, since our last release on 2019-07-01.\n", "\n", "## Issues Closed\n", + " - make quadrat statistics accept a numpy array as argument (#58)\n", + " - add numba-fied version of skyum code (#56)\n", + " - Ripley numpy (#54)\n", + " - #47 : Added enhancements to mbr in pointpats (#48)\n", + " - intensity estimates for new ripley functions are very incorrect sometimes (#55)\n", + " - (doc) add inline docstring for the equation of L function (#53)\n", + " - (BUG) L function and its Simulation Envelope under the null (CSR) not close to 0 (#44)\n", + " - (bug) fix for calculating rule of thumb (rot) for a point pattern (#46)\n", + " - BUG: fix for K function (#45)\n", + " - (docs) auto display inherited class members (#43)\n", + " - (docs) remove generated rst files (#42)\n", + " - (docs) update docs (#41)\n", + " - Add space time interaction tests (#38)\n", + " - updating dual travis test procdeure (#39)\n", + " - update Readme for v2.1.0 (#37)\n", + " - update setup.py for transition to py36 and py37 (#36)\n", + " - update changelog for releasing v2.1.0 (#35)\n", " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n", - " - prepare for release of v2.1.0 (#31)\n", - " - (docs) reference label style (#33)\n", - " - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)\n", - " - (docs) migrate from readthedocs configuration file v1 to v2 (#30)\n", - " - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)\n", - " - doc: edits to notebook (#28)\n", - " - require libpysal>=4.0.0 (#27)\n", - " - `README` in markdown instead of `.rst`? (#24)\n", - " - add README.md to resolve issue #24 (#26)\n", - " - fix missing reference labels in rendered sphinx docs (#25)\n", - " - add badges for docs and pypi release (#23)\n", - " - Online docs for pointpats (#22)\n", - " - add changelog for release 2.0.0 (#21)\n", "\n", "## Pull Requests\n", + " - make quadrat statistics accept a numpy array as argument (#58)\n", + " - add numba-fied version of skyum code (#56)\n", + " - Ripley numpy (#54)\n", + " - #47 : Added enhancements to mbr in pointpats (#48)\n", + " - (doc) add inline docstring for the equation of L function (#53)\n", + " - (bug) fix for calculating rule of thumb (rot) for a point pattern (#46)\n", + " - BUG: fix for K function (#45)\n", + " - (docs) auto display inherited class members (#43)\n", + " - (docs) remove generated rst files (#42)\n", + " - (docs) update docs (#41)\n", + " - Add space time interaction tests (#38)\n", + " - updating dual travis test procdeure (#39)\n", + " - update Readme for v2.1.0 (#37)\n", + " - update setup.py for transition to py36 and py37 (#36)\n", + " - update changelog for releasing v2.1.0 (#35)\n", " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n", - " - prepare for release of v2.1.0 (#31)\n", - " - (docs) reference label style (#33)\n", - " - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)\n", - " - (docs) migrate from readthedocs configuration file v1 to v2 (#30)\n", - " - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)\n", - " - doc: edits to notebook (#28)\n", - " - require libpysal>=4.0.0 (#27)\n", - " - add README.md to resolve issue #24 (#26)\n", - " - fix missing reference labels in rendered sphinx docs (#25)\n", - " - add badges for docs and pypi release (#23)\n", - " - Online docs for pointpats (#22)\n", - " - add changelog for release 2.0.0 (#21)\n", "\n", "The following individuals contributed to this release:\n", "\n", - " - Hu Shao\n", + " - Serge Rey\n", + " - Levi John Wolf\n", " - Wei Kang\n", + " - Sugam Srivastava\n", " - James Gaboardi\n", - " - Serge Rey\n", - " - Dani Arribas-Bel\n" + " - Hu Shao\n" ] } ], @@ -701,48 +720,56 @@ "text": [ "# Changes\n", "\n", - "Version 2.1.0 (2019-07-01)\n", + "Version 2.2.0 (2020-07-25)\n", "\n", - "We closed a total of 27 issues (enhancements and bug fixes) through 13 pull requests, since our last release on 2018-10-30.\n", + "We closed a total of 34 issues (enhancements and bug fixes) through 16 pull requests, since our last release on 2019-07-01.\n", "\n", "## Issues Closed\n", + " - make quadrat statistics accept a numpy array as argument (#58)\n", + " - add numba-fied version of skyum code (#56)\n", + " - Ripley numpy (#54)\n", + " - #47 : Added enhancements to mbr in pointpats (#48)\n", + " - intensity estimates for new ripley functions are very incorrect sometimes (#55)\n", + " - (doc) add inline docstring for the equation of L function (#53)\n", + " - (BUG) L function and its Simulation Envelope under the null (CSR) not close to 0 (#44)\n", + " - (bug) fix for calculating rule of thumb (rot) for a point pattern (#46)\n", + " - BUG: fix for K function (#45)\n", + " - (docs) auto display inherited class members (#43)\n", + " - (docs) remove generated rst files (#42)\n", + " - (docs) update docs (#41)\n", + " - Add space time interaction tests (#38)\n", + " - updating dual travis test procdeure (#39)\n", + " - update Readme for v2.1.0 (#37)\n", + " - update setup.py for transition to py36 and py37 (#36)\n", + " - update changelog for releasing v2.1.0 (#35)\n", " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n", - " - prepare for release of v2.1.0 (#31)\n", - " - (docs) reference label style (#33)\n", - " - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)\n", - " - (docs) migrate from readthedocs configuration file v1 to v2 (#30)\n", - " - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)\n", - " - doc: edits to notebook (#28)\n", - " - require libpysal>=4.0.0 (#27)\n", - " - `README` in markdown instead of `.rst`? (#24)\n", - " - add README.md to resolve issue #24 (#26)\n", - " - fix missing reference labels in rendered sphinx docs (#25)\n", - " - add badges for docs and pypi release (#23)\n", - " - Online docs for pointpats (#22)\n", - " - add changelog for release 2.0.0 (#21)\n", "\n", "## Pull Requests\n", + " - make quadrat statistics accept a numpy array as argument (#58)\n", + " - add numba-fied version of skyum code (#56)\n", + " - Ripley numpy (#54)\n", + " - #47 : Added enhancements to mbr in pointpats (#48)\n", + " - (doc) add inline docstring for the equation of L function (#53)\n", + " - (bug) fix for calculating rule of thumb (rot) for a point pattern (#46)\n", + " - BUG: fix for K function (#45)\n", + " - (docs) auto display inherited class members (#43)\n", + " - (docs) remove generated rst files (#42)\n", + " - (docs) update docs (#41)\n", + " - Add space time interaction tests (#38)\n", + " - updating dual travis test procdeure (#39)\n", + " - update Readme for v2.1.0 (#37)\n", + " - update setup.py for transition to py36 and py37 (#36)\n", + " - update changelog for releasing v2.1.0 (#35)\n", " - update setup.py to accommodate the transition to python3.6 and 3.7 (#34)\n", - " - prepare for release of v2.1.0 (#31)\n", - " - (docs) reference label style (#33)\n", - " - (docs) change the css to accommodate new versions of sphinx and sphinx bootstrap theme (#32)\n", - " - (docs) migrate from readthedocs configuration file v1 to v2 (#30)\n", - " - (docs) updating supported python versions (3.6 and 3.7) in setup.py (#29)\n", - " - doc: edits to notebook (#28)\n", - " - require libpysal>=4.0.0 (#27)\n", - " - add README.md to resolve issue #24 (#26)\n", - " - fix missing reference labels in rendered sphinx docs (#25)\n", - " - add badges for docs and pypi release (#23)\n", - " - Online docs for pointpats (#22)\n", - " - add changelog for release 2.0.0 (#21)\n", "\n", "The following individuals contributed to this release:\n", "\n", - " - Hu Shao\n", + " - Serge Rey\n", + " - Levi John Wolf\n", " - Wei Kang\n", + " - Sugam Srivastava\n", " - James Gaboardi\n", - " - Serge Rey\n", - " - Dani Arribas-Bel\n" + " - Hu Shao\n" ] } ], @@ -799,7 +826,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.3" + "version": "3.7.6" } }, "nbformat": 4,