chore: bump python floor to 3.14, modernize CI/build, ruff FURB sweep#118
Open
FIrgolitsch wants to merge 2 commits intopr-o-galvo-fixfrom
Open
chore: bump python floor to 3.14, modernize CI/build, ruff FURB sweep#118FIrgolitsch wants to merge 2 commits intopr-o-galvo-fixfrom
FIrgolitsch wants to merge 2 commits intopr-o-galvo-fixfrom
Conversation
- pyproject.toml: requires-python >=3.14 - Drop `from __future__ import annotations` across the codebase (no-op on 3.14) - linumpy.config.threads: adopt os.process_cpu_count() over os.cpu_count() - Update CI matrices (.github/workflows/python-app.yml, publish.yaml) to py3.14 - Bump .readthedocs.yaml + Dockerfile base image to py3.14; drop unused .python-version copy - Remove .pep8speaks.yml (deprecated service); add docker-publish.yml for GHCR - Misc workflow cleanup: drop redundant python-version pins, fix nextflow-ci checkout - ruff: enable FURB rule set + apply modernization sweep (pathlib, dict.fromkeys, list comprehensions, etc.) - README + docs/NEXTFLOW_WORKFLOWS: update python version refs
This was referenced May 1, 2026
…il-alignment, sort-declarations)
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.
PR — Python 3.14 migration + build/CI modernization + ruff FURB sweep
Bumps the project to Python 3.14 as the new floor and modernizes the build, CI, and codebase to take advantage of it.
Runtime
pyproject.toml:requires-python = ">=3.14".from __future__ import annotationsacross the codebase (no-op on 3.14, removes ~70 stale imports).linumpy.config.threads: adoptos.process_cpu_count()overos.cpu_count()(respects cgroup/affinity limits).CI / build
.github/workflows/python-app.yml,publish.yaml: matrices bumped to 3.14..readthedocs.yaml: Python 3.14.Dockerfile: base image bumped topython:3.14; drop unused.python-versionfromCOPY..pep8speaks.yml(deprecated service)..github/workflows/docker-publish.yml: builds and pushes the image to GHCR on tag.python-versionpins, fixnextflow-cicheckout.Code modernization
FURBrule set + apply the modernization sweep acrosslinumpy/andscripts/(pathlib,dict.fromkeys, list comprehensions,str.removeprefix/suffix, etc.).docs/NEXTFLOW_WORKFLOWS.md: update Python version references.No behavioural changes — pure tooling/version bump + automated style refactors verified by ruff and ty.