Skip to content

Commit

Permalink
Release 2.8.0 (#495)
Browse files Browse the repository at this point in the history
Release PR for 2.8.0

* changelog
* version bump
  • Loading branch information
fkiraly authored Nov 17, 2024
1 parent 44fb25f commit afe5a24
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 28 deletions.
10 changes: 10 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
]
}
14 changes: 14 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a href="https://skpro.readthedocs.io/en/latest"><img src="https://github.com/sktime/skpro/blob/main/docs/source/images/skpro-banner.png" width="500" align="right" /></a>

: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:
Expand Down
7 changes: 6 additions & 1 deletion docs/source/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
},
Expand Down
40 changes: 40 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,46 @@ You can also subscribe to ``skpro``'s
For planned changes and upcoming releases, see roadmap in the
`issue tracker <https://github.com/sktime/skpro/issues>`_.

[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
====================
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"},
Expand Down
2 changes: 1 addition & 1 deletion skpro/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""skpro."""

__version__ = "2.7.0"
__version__ = "2.8.0"

__all__ = ["show_versions"]

Expand Down
24 changes: 0 additions & 24 deletions skpro/base/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit afe5a24

Please sign in to comment.