Skip to content

Bump version to 2.2.0 - #40

Merged
huangziwei merged 1 commit into
masterfrom
bump-2.2.0
Aug 18, 2026
Merged

Bump version to 2.2.0#40
huangziwei merged 1 commit into
masterfrom
bump-2.2.0

Conversation

@huangziwei

Copy link
Copy Markdown
Collaborator

rfest/version.py is the single source — pyproject.toml reads it through
[tool.setuptools.dynamic] — so this is the whole change. A local uv build
produces rfest-2.2.0-py3-none-any.whl and import rfest reports 2.2.0.

Release notes, ready to paste

Everything below is the span from the v2.1.2 tag to master: one README commit
and #32 through #38.


Corrected — this release changes results

Any hyperparameters selected by fit() on an evidence-optimized model differ
from 2.1.2. If you have published numbers from ASD, ALD, ARD, Ridge,
fASD or sARD, they were produced with the objective described below.

Changed

  • Requires Python 3.11 or newer. The old floor of 3.6 was never real: on
    3.10 the resolver lands on a jax from 2023.
  • Dependencies are now declared. pip install rfest previously installed
    none of jax, numpy, scipy, scikit-learn or matplotlib — setup.cfg had no
    install_requires and requirements.txt is not consulted by an install.
  • opencv-python, used for contour areas in rfest.check, is the contours
    extra: pip install "rfest[contours]".
  • Packaging moved to PEP 621 metadata in pyproject.toml; setup.cfg and
    requirements.txt are gone.

Added


Two notes before releasing

On the number. 2.2.0 as asked. Worth knowing that this both raises the
Python floor and changes numerical output, which is the usual case for a major
bump — say the word if you would rather this were 3.0.0.

On the order with #39. Publishing the GitHub release is what triggers the
upload, so:

So either release 2.2.0 first and switch afterwards, or configure PyPI, merge
#39, then release.

No tag in this PR — creating the GitHub release creates v2.2.0 and fires the
publish workflow.

Everything since the v2.1.2 tag: the evidence objective and prior covariance
corrections, which change the hyperparameters `fit()` selects, and the
packaging and CI work.
@huangziwei
huangziwei merged commit 83468d0 into master Aug 18, 2026
4 checks passed
@huangziwei
huangziwei deleted the bump-2.2.0 branch August 18, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant