Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#399 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

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.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của learningequality/morango

Tất cả issue của learningequality/morango

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.