Raise the setuptools build requirement to >=83 once Python <3.10 support is dropped
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, python
- 领域
- build-system, ci-cd
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
❌ 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.
- 主要语言
- Python
- 星标
- 15
- 派生
- 23
- 平均合并
- 3 天 22 小时
- 30 天内合并 PR
- 6
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
learningequality/morango 的其他 Issue
-
DEV: dev-ops DEV: distributions DOCS: developer
难度 1/5 1-3 小时 新手友好度 78/100
learningequality/morango#387 ·
-
DEV: backend DEV: dev-ops TAG: unit tests
难度 2/5 1-3 小时 新手友好度 70/100
learningequality/morango#385 ·
-
DEV: backend P0 - critical TAG: tech update / debt TAG: unit tests
难度 2/5 1-3 小时 新手友好度 72/100
learningequality/morango#364 ·
-
Scope filters should list read-write partitions last可能已有人在做 @bjester 于 6 天前认领。 未关闭DEV: backend P0 - critical TAG: tech update / debt
learningequality/morango#398 · 已指派 1 人 ·
-
Remove the deferred FK validation API and unused backend bulk helpers可能已有人在做 @bjester 于 7 天前认领。 未关闭TAG: tech update / debt
learningequality/morango#396 · 已指派 1 人 ·
查看 learningequality/morango 的全部 Issue
相似的 Issue
-
lesson-submission pending-review
难度 2/5 1-3 小时 新手友好度 72/100
Ikalus1988/MisakaNet#3956 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
aws-samples/sample-per-model-bedrock#574 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
521xueweihan/HelloGitHub#4133 ·
-
plot_components fails for logistic models with minmax scaling and no floor可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 4 天内回复
-
Update migen未关闭
难度 2/5 1-3 小时 新手友好度 70/100
YosysHQ/oss-cad-suite-build#220 ·