Raise the setuptools build requirement to >=83 once Python <3.10 support is dropped
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, python
- Lĩnh vực
- build-system, ci-cd
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
❌ 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.
- Ngôn ngữ chính
- Python
- Star
- 15
- Fork
- 23
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của learningequality/morango
-
DEV: dev-ops DEV: distributions DOCS: developer
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
learningequality/morango#387 ·
-
DEV: backend DEV: dev-ops TAG: unit tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
learningequality/morango#385 ·
-
DEV: backend P0 - critical TAG: tech update / debt TAG: unit tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
learningequality/morango#364 ·
-
Scope filters should list read-write partitions lastCó thể đã có người làm @bjester đã nhận 5 ngày trước. Đang mởDEV: backend P0 - critical TAG: tech update / debt
learningequality/morango#398 · 1 người được giao ·
-
Remove the deferred FK validation API and unused backend bulk helpersCó thể đã có người làm @bjester đã nhận 6 ngày trước. Đang mởTAG: tech update / debt
learningequality/morango#396 · 1 người được giao ·
Tất cả issue của learningequality/morango
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
UKGovernmentBEIS/optstop#10 ·
-
maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pollen-robotics/reachy_mini#1508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] `cloud-keys.env` values retain enclosing quotes causing 401 Unauthorized, and missing utf-8 encoding crashes on WindowsCó thể đã có người làm @divyanshu07-code đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
open-jarvis/OpenJarvis#1192 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sylvainmetayer/homelab#851 ·
Maintainer thường phản hồi trong vòng 1 ngày