Drop Python 3.9 support and update dev tooling - #371
Conversation
BREAKING CHANGE: minimum supported Python version is now 3.10; Python 3.9 is no longer tested or officially supported. - remove Python 3.9 from CI test matrix and wheel builds - replace oldest-supported-numpy with numpy>=2.0.0 as build dependency - upgrade docformatter pre-commit hook to v1.7.8, fixing Python 3.14 incompatibility (resolves PyCQA/docformatter#293 and deepcharles#340) - configure docformatter wrap limits to match black's line length (88) - reformat docstrings across codebase to comply with updated tooling - add __all__ to ruptures.exceptions and ruptures.metrics.sanity_check Refs: deepcharles#360
|
There are several files in the PR with reformatted docstrings. The change appears to be due to the If this turns out to be an issue, or if you'd like more clarity on why these changes were made, I can spend some time documenting the underlying reasons more thoroughly. For now, I preferred not to dig further and to proceed with the reformatting so the tests would pass. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #371 +/- ##
=======================================
Coverage 98.77% 98.77%
=======================================
Files 40 40
Lines 980 982 +2
=======================================
+ Hits 968 970 +2
Misses 12 12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Very helpful thanks! Merging now |
Summary
oldest-supported-numpywithnumpy>=2.0.0as a build dependency.docformatterpre-commit hook from v1.7.7 to v1.7.8, which fixesinstallation on Python 3.14 (see docformatter fails to install as a pre-commit hook when running with python-3.14 PyCQA/docformatter#340).
Notes
Added
__all__toruptures.exceptionsandruptures.metrics.sanity_checkto resolve a formatting conflict between
blackanddocformatterthatappeared when a module docstring is immediately followed by a class definition.