Raise the setuptools build requirement to >=83 once Python <3.10 support is dropped
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, python
- Ambito
- build-system, ci-cd
Direzione di ricerca
Start with .github/dependabot.yml, pyproject.toml, and the Python 3.9 jobs in .github/workflows/tox.yml, .github/workflows/check_migrations_sqlite.yml, and .github/workflows/python-publish.yml. The issue sets the dependency and CI changes, but they depend on dropping Python 3.6–3.9 support first; check the requires-python floor before changing the build requirement. Done means Dependabot ignores setuptools major updates while Python below 3.10 is supported, then setuptools ≥83 and the listed CI workflows pass after the floor is raised.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Dependabot PR #347 raised the [build-system] requirement in pyproject.toml from setuptools>=64 to setuptools>=83.0.0, and was closed unmerged. setuptools 83 requires Python >=3.10, while morango declares requires-python = ">=3.6,<3.15", so the floor can only rise after morango drops Python 3.6–3.9.
Complexity: Low
Target branch: release-v0.9.x
Context
- On #347, wheel builds on Python 3.9 could not resolve
setuptools>=83.0.0, failing the "Python tests" and "Migrations for SQLite versions" workflows. - The package is built on Python 3.9 in
.github/workflows/tox.yml,.github/workflows/check_migrations_sqlite.ymland.github/workflows/python-publish.yml. - Installing the sdist on Python 3.6–3.9 would also fail, since pip builds it in an isolated env that needs setuptools >=83.
The Change
- Once Python <3.10 support is dropped, the build requirement should be
setuptools>=83, with the three build jobs above running on Python >=3.10. - Until then, dependabot should stop proposing setuptools major versions.
Acceptance Criteria
-
.github/dependabot.ymlignores setuptools major updates whilerequires-pythonallows <3.10. - After
requires-pythonis raised to >=3.10:[build-system]requiressetuptools>=83, and the wheel builds and all test workflows pass in CI.
AI usage
rtibblesbot (Claude Code) reviewed #347 and drafted this issue from that review and the repository's build and CI config.
Filed from #347's review.
- Lingua principale
- Python
- Stelle
- 15
- Fork
- 23
- Merge medio
- 3g 22h
- PR unite (30g)
- 6
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di learningequality/morango
-
DEV: dev-ops DEV: distributions DOCS: developer
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
learningequality/morango#387 ·
-
DEV: backend DEV: dev-ops TAG: unit tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
learningequality/morango#385 ·
-
DEV: backend P0 - critical TAG: tech update / debt TAG: unit tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
learningequality/morango#364 ·
-
Scope filters should list read-write partitions lastForse già presa @bjester l’ha presa 5 giorni fa. ApertaDEV: backend P0 - critical TAG: tech update / debt
learningequality/morango#398 · 1 assegnatario ·
-
Remove the deferred FK validation API and unused backend bulk helpersForse già presa @bjester l’ha presa 7 giorni fa. ApertaTAG: tech update / debt
learningequality/morango#396 · 1 assegnatario ·
Tutte le issue di learningequality/morango
Issue simili
-
tests/strategies_test.py:174 goes uncovered on about 1 run in 100, failing the coverage ratchetApertaflaky-watch
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
btclib-org/btclib#2839 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
nion-software/nionswift#2018 ·
I maintainer di solito rispondono entro 1 giorno
-
Deleting a member fails when another member's share transfer points to themForse già presa @Beerlesklopfer l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
FoodCoopX/wirgarten-tapir#1336 ·
I maintainer di solito rispondono entro 3 giorni
-
pydanty:is-working
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
pydantic/pydantic-ai#11467 ·
I maintainer di solito rispondono entro 1 giorno
-
Link Checker ReportApertaautomated issue linkchecker report
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
QuantEcon/lecture-python.myst#1098 ·
I maintainer di solito rispondono entro 1 giorno