Skip to content

Prepare 0.20 - #514

Merged
derrynknife merged 2 commits into
devfrom
release/0.20-prep
Nov 22, 2026
Merged

derrynknife merged 2 commits into
devfrom
release/0.20-prep

Conversation

@derrynknife

Copy link
Copy Markdown
Owner

Summary

Prepares RePyability 0.20.

  • _version.py is 0.20, and docs/guide/saving.md shows it.
  • surpyval>=0.29. The pyproject comment says what 0.29 brings.
  • NEXT_REMOVAL goes from "0.20" to "0.21", so what 0.20 deprecates is refused in 0.21. REMOVED_IN_0_21 folds into NEXT_REMOVAL, and REMOVED_IN_0_22 follows it for 0.21's development. 0.19 deprecated nothing, so nothing is removed in 0.20.
  • test_what_0_19_deprecates_goes_in_0_20 becomes test_what_0_20_deprecates_goes_in_0_21. The two other 0.21 reminders now read NEXT_REMOVAL.
  • The changelog's [Unreleased] section is dated [0.20] - 2026-11-22, with a summary. Change the date if the release goes out on another day.
  • The renewal processes are built with from_params (GeneralizedRenewal, GeneralizedOneRenewal, ARA, ARI), the name surpyval 0.29 gives fit_from_parameters. This covers the doctests, tests and guides.

Merge only once surpyval 0.29 is on PyPI. from_params and the new floor need it.

Tests

Run against surpyval dev, with -W error::FutureWarning:

  • api consistency, opportunities, exact-or-horizon, fitted processes, imperfect repair, overhaul/replace, fitted-kind uncertainty, public surpyval interface and packaging: 183 passed;
  • doctests of repairable.py and maintenance/__init__.py: 15 passed.

Hooks pass, mypy included.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V339RzRHo8RS8Cz3uSbQgP

derrynknife and others added 2 commits November 22, 2026 10:19
Version 0.20 with surpyval>=0.29. NEXT_REMOVAL becomes 0.21, where what
0.20 deprecates goes, and REMOVED_IN_0_22 follows it; 0.19 deprecated
nothing, so nothing is removed. The changelog's section is dated, with
its summary.

With the minimum at 0.29, the renewal processes are built with
from_params (GeneralizedRenewal, GeneralizedOneRenewal, ARA, ARI), the
name surpyval 0.29 gives fit_from_parameters, which warns there and goes
in surpyval 0.30.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V339RzRHo8RS8Cz3uSbQgP
@derrynknife
derrynknife merged commit e8fee7a into dev Nov 22, 2026
@derrynknife
derrynknife deleted the release/0.20-prep branch November 22, 2026 13:46
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