-
Notifications
You must be signed in to change notification settings - Fork 91
chore: improve pyproject.toml from sp-repo-review checks #2623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: improve pyproject.toml from sp-repo-review checks #2623
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2623 +/- ##
=======================================
Coverage 98.23% 98.23%
=======================================
Files 65 65
Lines 4198 4198
Branches 592 592
=======================================
Hits 4124 4124
Misses 45 45
Partials 29 29
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:
|
Thanks @henryiii
c.f. PR #2566. We're dropping and going to Python 3.9 for the lower bound for $ pixi exec --with norwegianblue eol python
┌───────┬────────────┬─────────┬────────────────┬────────────┬────────────┐
│ cycle │ release │ latest │ latest release │ support │ eol │
├───────┼────────────┼─────────┼────────────────┼────────────┼────────────┤
│ 3.14 │ 2025-10-07 │ 3.14.0 │ 2025-10-07 │ 2027-10-01 │ 2030-10-31 │
│ 3.13 │ 2024-10-07 │ 3.13.9 │ 2025-10-14 │ 2026-10-01 │ 2029-10-31 │
│ 3.12 │ 2023-10-02 │ 3.12.12 │ 2025-10-09 │ 2025-04-02 │ 2028-10-31 │
│ 3.11 │ 2022-10-24 │ 3.11.14 │ 2025-10-09 │ 2024-04-01 │ 2027-10-31 │
│ 3.10 │ 2021-10-04 │ 3.10.19 │ 2025-10-09 │ 2023-04-05 │ 2026-10-31 │
│ 3.9 │ 2020-10-05 │ 3.9.24 │ 2025-10-09 │ 2022-05-17 │ 2025-10-31 │
│ 3.8 │ 2019-10-14 │ 3.8.20 │ 2024-09-06 │ 2021-05-03 │ 2024-10-07 │
│ 3.7 │ 2018-06-27 │ 3.7.17 │ 2023-06-05 │ 2020-06-27 │ 2023-06-27 │
│ 3.6 │ 2016-12-23 │ 3.6.15 │ 2021-09-03 │ 2018-12-24 │ 2021-12-23 │
│ 3.5 │ 2015-09-13 │ 3.5.10 │ 2020-09-05 │ False │ 2020-09-30 │
│ 3.4 │ 2014-03-16 │ 3.4.10 │ 2019-03-18 │ False │ 2019-03-18 │
│ 3.3 │ 2012-09-29 │ 3.3.7 │ 2017-09-19 │ False │ 2017-09-29 │
│ 3.2 │ 2011-02-20 │ 3.2.6 │ 2014-10-12 │ False │ 2016-02-20 │
│ 2.7 │ 2010-07-03 │ 2.7.18 │ 2020-04-19 │ False │ 2020-01-01 │
│ 3.1 │ 2009-06-27 │ 3.1.5 │ 2012-04-06 │ False │ 2012-04-09 │
│ 3.0 │ 2008-12-03 │ 3.0.1 │ 2009-02-12 │ False │ 2009-06-27 │
│ 2.6 │ 2008-10-01 │ 2.6.9 │ 2013-10-29 │ False │ 2013-10-29 │
└───────┴────────────┴─────────┴────────────────┴────────────┴────────────┘
Yeah, Ruff is a TODO item. Also doing a large PR where we apply a lot of the style changes in one go to make it a transition point. |
8a3ef08 to
88d2369
Compare
|
@henryiii Do you have a GitHub Action setup to run edit: Yes. - repo: https://github.com/scientific-python/repo-review
rev: <version>
hooks:
- id: repo-review
additional_dependencies: ["repo-review[cli]", "sp-repo-review==<version>"]- uses: scientific-python/repo-review@<version>
with:
plugins: sp-repo-review |
|
Commit message: |
This is a quick pass with
uvx sp-repo-review[all] .and fixing the low hanging fruit. 3.8 is still supported? It's about time to drop 3.9 (official EoL) or 3.11 (SPEC 0). ;)I'd recommend the remaining checks be worked on, and maybe move from black to ruff-format, and use SPDX license.
General
hatchling.buildPyProject
GitHub Actions
Pre-commit
Must have one of
https://github.com/hukkin/mdformat,https://github.com/rbubley/mirrors-prettier,https://github.com/rvben/rumdl-pre-commitin.pre-commit-config.yamlMyPy
Ruff
Must select the flake8-bugbear
Bchecks. Recommended:Must select the isort
Ichecks. Recommended:Documentation
Setuptools Config
Validate-PyProject
Checks
[build-system],[project],[tool.black],[tool.cibuildwheel],[tool.hatch],[tool.maturin],[tool.mypy],[tool.pdm],[tool.poe],[tool.poetry],[tool.pyright],[tool.pytest],[tool.repo-review],[tool.ruff],[tool.scikit-build],[tool.setuptools_scm],[tool.taskipy],[tool.tombi],[tool.tox],[tool.ty],[tool.uv],[tool.setuptools]