From 466d180cc0d1e5821ab56230cb6409d2289ce669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Wed, 17 Aug 2022 14:41:42 +0200 Subject: [PATCH 1/5] sphinx: remove unneeded dependency --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2e4703c..b1ebc3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,6 @@ doc = [ "sphinx>=4", "sphinx-gallery>=0.8", "sphinx-rtd-theme>=1", - "sphinxcontrib-napoleon", ] plot = ["matplotlib>=3,<4"] sklearn = ["scikit-learn>=0.19"] From 1da8bd16d59d6927f3ac9569dbf574f6716a0099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Wed, 17 Aug 2022 14:42:15 +0200 Subject: [PATCH 2/5] sphinx: better class documentations --- docs/source/_templates/autosummary/class.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/source/_templates/autosummary/class.rst diff --git a/docs/source/_templates/autosummary/class.rst b/docs/source/_templates/autosummary/class.rst new file mode 100644 index 0000000..c5c858a --- /dev/null +++ b/docs/source/_templates/autosummary/class.rst @@ -0,0 +1,13 @@ +{{ fullname | escape | underline}} + +.. currentmodule:: {{ module }} + +.. autoclass:: {{ objname }} + :members: + :undoc-members: + :inherited-members: + :show-inheritance: + +.. raw:: latex + + \clearpage From f716a6e5df4e9b11e813ed9087b44909e271a81e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Wed, 17 Aug 2022 14:54:27 +0200 Subject: [PATCH 3/5] update v1.7 changelog --- CHANGELOG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 290c83f..def272c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,30 @@ Changelog ========= +Version 1.7.0 +------------- +*August ?, 2022* + +**New features** + +* added support for GSTools latlon models ([#245](https://github.com/GeoStat-Framework/PyKrige/pull/245)) + +**Changes** + +* drop Python 3.6 support (setuptools>60 needs py>3.7) ([#242](https://github.com/GeoStat-Framework/PyKrige/pull/242)) +* move `setup.cfg` content to `pyproject.toml` ([PEP 621](https://peps.python.org/pep-0621/)) ([#242](https://github.com/GeoStat-Framework/PyKrige/pull/242)) +* move to `src/` based package structure (better for testing, building and structure) ([#242](https://github.com/GeoStat-Framework/PyKrige/pull/242)) +* build wheels for apple silicon ([#242](https://github.com/GeoStat-Framework/PyKrige/pull/242)) +* apply isort and add check to CI ([#242](https://github.com/GeoStat-Framework/PyKrige/pull/242)) +* fix documentation ([#242](https://github.com/GeoStat-Framework/PyKrige/pull/242), [#252](https://github.com/GeoStat-Framework/PyKrige/pull/252)) + +**Bug fixes** + +* fix AttributeError: 'UniversalKriging' object has no attribute 'external_Z_array' ([#247](https://github.com/GeoStat-Framework/PyKrige/pull/247)) +* remove deprecated scipy (v1.9) method pinv2 ([#237](https://github.com/GeoStat-Framework/PyKrige/pull/237)) +* correcting partial sill in C backend ([#226](https://github.com/GeoStat-Framework/PyKrige/pull/226)) + + Version 1.6.1 ------------- *September 02, 2021* From 33fe6513c38f669f290f38483a4ff9ac2089e73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Thu, 18 Aug 2022 12:07:44 +0200 Subject: [PATCH 4/5] metadata: improve authors/maintainers/license for PyPI release --- pyproject.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b1ebc3b..4c1adae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,15 +14,13 @@ requires-python = ">=3.7" name = "PyKrige" description = "Kriging Toolkit for Python." authors = [ - {name = "Benjamin S. Murphy"}, - {name = "Sebastian Müller", email = "info@geostat-framework.org"}, + {name = "Benjamin S. Murphy, Sebastian Müller", email = "info@geostat-framework.org"}, ] maintainers = [ - {name = "Sebastian Müller", email = "info@geostat-framework.org"}, - {name = "Roman Yurchak"}, + {name = "Sebastian Müller, Roman Yurchak", email = "info@geostat-framework.org"}, ] readme = "README.md" -license = {file = "LICENSE"} +license = {text = "BSD-3-Clause"} dynamic = ["version"] classifiers = [ "Development Status :: 5 - Production/Stable", @@ -40,6 +38,7 @@ classifiers = [ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: GIS", "Topic :: Scientific/Engineering :: Mathematics", @@ -80,6 +79,9 @@ Homepage = "https://github.com/GeoStat-Framework/PyKrige" Source = "https://github.com/GeoStat-Framework/PyKrige" Tracker = "https://github.com/GeoStat-Framework/PyKrige/issues" +[tool.setuptools] +license-files = ["LICENSE"] + [tool.setuptools_scm] write_to = "src/pykrige/_version.py" write_to_template = "__version__ = '{version}'" From 199966bef05be8375d974b942af4acef5600c302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Thu, 18 Aug 2022 20:22:03 +0200 Subject: [PATCH 5/5] set date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index def272c..8e8e6b9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Changelog Version 1.7.0 ------------- -*August ?, 2022* +*August 18, 2022* **New features**