Update README & docs CI for Python 3.12 support#125
Draft
C-Achard wants to merge 6 commits into
Draft
Conversation
Add PyPI Python versions badge and replace the Black code-style badge with a Ruff badge. Bump release to v0.2.3 and include changelog entries (Python 3.10–3.12 support, deprecation fixes, packaging moved to pyproject.toml, added uv.lock) plus a warning about SwinUNetR `in_channels` issues. Update compatibility line to Python 3.10 to 3.12.
Bump and extend pre-commit configuration and migrate pyproject to a PEP 621 style layout. .pre-commit-config.yaml: update pre-commit-hooks rev, replace/update ruff hook to astral-sh/ruff-pre-commit with auto-fix and unsafe-fixes, add ruff-format, mdformat (with mdformat-myst), pyproject-fmt and validate-pyproject hooks; keep napari-plugin-checks. pyproject.toml: add [build-system], normalize project metadata (name, license, requires-python, classifiers), move authors to [[project.authors]], declare dynamic version, reorganize and deduplicate dependencies and optional-dependencies, add project.urls and napari entry-point, add [tool.setuptools] packaging settings, move and refine ruff configuration under [tool.ruff.lint], and add [tool.pyproject-fmt] settings. Overall this modernizes packaging and enables enhanced linting/formatting via pre-commit hooks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the documentation and compatibility for the project to support Python 3.10 through 3.12, and addresses several deprecation issues for newer Python versions. It also updates the README with new badges and version information, and includes packaging improvements for more reproducible installs.
Python version compatibility updates:
.napari/DESCRIPTION.md,README.md). [1] [2]README.md). [1] [2]Documentation and packaging improvements:
uv.lockfor reproducible installs (README.md). [1] [2]README.md).Code maintenance:
model_SwinUNetR.py, reflecting the dropped support for older Python versions.