From afe5a246278a5f54d60fe58e47401a1fe30d347e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sun, 17 Nov 2024 12:44:11 +0100 Subject: [PATCH] Release 2.8.0 (#495) Release PR for 2.8.0 * changelog * version bump --- .all-contributorsrc | 10 ++++++++ CODEOWNERS | 14 +++++++++++ README.md | 2 +- docs/source/_static/switcher.json | 7 +++++- docs/source/changelog.rst | 40 +++++++++++++++++++++++++++++++ pyproject.toml | 2 +- skpro/__init__.py | 2 +- skpro/base/_base.py | 24 ------------------- 8 files changed, 73 insertions(+), 28 deletions(-) create mode 100644 CODEOWNERS diff --git a/.all-contributorsrc b/.all-contributorsrc index 2293833f..7d9c22ed 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -195,6 +195,16 @@ "contributions": [ "doc" ] + }, + { + "login": "sairevanth25", + "name": "Sai Revanth Gowravajhala", + "avatar_url": "https://avatars.githubusercontent.com/u/132150745?v=4", + "profile": "https://github.com/SaiRevanth25", + "contributions": [ + "code", + "doc" + ] } ] } diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 00000000..d024d0c1 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,14 @@ +# The file specifies framework level core developers for automated review requests +# +# Note: historically, this file has been used to maintain a list of +# algorithm maintainers as specified in GOVERNANCE.md. +# This is no longer the case, algorithm maintainers are now +# specified directly in the estimator, +# in the "maintainers" tag of the respective scikit-base object. +# +# Algorithm maintainers are programmatically queryable +# via Estimator.get_class_tag("maintainers"). +# Further lookup such as "which algorithms does M maintain" +# can be carried out using registry.all_estimators + +* @achieveordie @benheid @fkiraly @fnhirwa @geetu040 @pranavvp16 @sairevanth25 @XinyuWuu @yarnabrina diff --git a/README.md b/README.md index ba57a1b2..371c6f28 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -:rocket: **Version 2.7.0 out now!** [Read the release notes here.](https://skpro.readthedocs.io/en/latest/changelog.html). +:rocket: **Version 2.8.0 out now!** [Read the release notes here.](https://skpro.readthedocs.io/en/latest/changelog.html). `skpro` is a library for supervised probabilistic prediction in python. It provides `scikit-learn`-like, `scikit-base` compatible interfaces to: diff --git a/docs/source/_static/switcher.json b/docs/source/_static/switcher.json index 904bbdd2..71963dad 100644 --- a/docs/source/_static/switcher.json +++ b/docs/source/_static/switcher.json @@ -5,7 +5,12 @@ "url": "https://skpro.readthedocs.io/en/latest/" }, { - "name": "2.7.0 (stable)", + "name": "2.8.0 (stable)", + "version": "stable", + "url": "https://skpro.readthedocs.io/en/v2.8.0/" + }, + { + "name": "2.7.0", "version": "stable", "url": "https://skpro.readthedocs.io/en/v2.7.0/" }, diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index ffda1181..bf8ad626 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -15,6 +15,46 @@ You can also subscribe to ``skpro``'s For planned changes and upcoming releases, see roadmap in the `issue tracker `_. +[2.8.0] - 2024-11-17 +==================== + +Feature and maintenance release. + +Dependency changes +~~~~~~~~~~~~~~~~~~ + +* ``scikit-base`` bounds have been updated to ``>=0.6.1,<0.13.0``. +* ``pymc`` is now a soft dependency, for probabilistic regressors. +* ``polars`` (data container soft dependency) bounds have been updated to ``<1.14.0``. + +Enhancements +~~~~~~~~~~~~ + +* [ENH] Creating a new Bayesian Regressor with ``pymc`` as a backend (:pr:`358`) :user:`meraldoantonio` +* [ENH] add suite test for docstring and ``get_test_params`` coverage (:pr:`482`) :user:`fkiraly` +* [ENH] Synchronize dependency checker with ``sktime`` counterpart (:pr:`490`) :user:`meraldoantonio` + +Maintenance +~~~~~~~~~~~ + +* [MNT] fix failing ``code-quality`` CI step (:pr:`483`) :user:`fkiraly` +* [MNT] [Dependabot](deps): Update ``scikit-base`` requirement from ``<0.12.0,>=0.6.1`` to ``>=0.6.1,<0.13.0`` (:pr:`483`) :user:`dependabot[bot]` +* [MNT] [Dependabot](deps): Update ``sphinx-gallery`` requirement from ``<0.18.0`` to ``<0.19.0`` (:pr:`481`) :user:`dependabot[bot]` +* [MNT] [Dependabot](deps): Update ``sphinx-issues`` requirement from ``<5.0.0`` to ``<6.0.0`` (:pr:`484`) :user:`dependabot[bot]` +* [MNT] [Dependabot](deps): Update ``polars`` requirement from ``<1.10.0`` to ``<1.14.0`` (:pr:`491`) :user:`dependabot[bot]` +* [MNT] [Dependabot](deps): Bump codecov/codecov-action from ``4`` to ``5`` (:pr:`494`) :user:`dependabot[bot]` + +Documentation +~~~~~~~~~~~~~ + +* [DOC] in docstring, rename ``Example`` to ``Examples`` sections (:pr:`487`) :user:`fkiraly` + +Contributors +~~~~~~~~~~~~ + +:user:`fkiraly`, +:user:`meraldoantonio` + [2.7.0] - 2024-10-08 ==================== diff --git a/pyproject.toml b/pyproject.toml index dc53f4f7..72173f8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "skpro" -version = "2.7.0" +version = "2.8.0" description = "A unified framework for tabular probabilistic regression, time-to-event prediction, and probability distributions in python" authors = [ {name = "skpro developers", email = "info@sktime.net"}, diff --git a/skpro/__init__.py b/skpro/__init__.py index 62dc671a..acc60bcc 100644 --- a/skpro/__init__.py +++ b/skpro/__init__.py @@ -1,6 +1,6 @@ """skpro.""" -__version__ = "2.7.0" +__version__ = "2.8.0" __all__ = ["show_versions"] diff --git a/skpro/base/_base.py b/skpro/base/_base.py index 08c9f78c..093ac455 100644 --- a/skpro/base/_base.py +++ b/skpro/base/_base.py @@ -28,30 +28,6 @@ class BaseObject(_CommonTags, _BaseObject): def __init__(self): super().__init__() - import sys - from warnings import warn - - from packaging.specifiers import SpecifierSet - - py39_or_higher = SpecifierSet(">=3.9") - sys_version = sys.version.split(" ")[0] - - # todo 2.8.0 - check whether python 3.8 eol is reached. - # If yes, remove this msg. - if sys_version not in py39_or_higher: - warn( - f"From skpro 2.5.0, skpro requires Python version >=3.9, " - f"but found {sys_version}. " - "The package can still be installed, until 3.8 end of life " - "is reached, " - "but some functionality may not work as test coverage is dropped." - "Kindly note for context: python 3.8 will reach end of life " - "in October 2024, and multiple skpro core dependencies, " - "including scikit-learn, have already dropped support for 3.8. ", - category=DeprecationWarning, - stacklevel=2, - ) - class BaseEstimator(_CommonTags, _BaseEstimator): """Base class for fittable objects."""