Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Raise the setuptools build requirement to >=83 once Python <3.10 support is dropped

未关闭
#399 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, python

调研方向

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 内容生成。

描述

dependencies DEV: dev-ops TAG: dependencies

❌ 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.yml and .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.yml ignores setuptools major updates while requires-python allows <3.10.
  • After requires-python is raised to >=3.10: [build-system] requires setuptools>=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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

learningequality/morango 的其他 Issue

查看 learningequality/morango 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。