Skip to content

Allow building with flit_core 4 - #1420

Open
kraj wants to merge 1 commit into
arrow-py:masterfrom
kraj:flit-core-4
Open

kraj wants to merge 1 commit into
arrow-py:masterfrom
kraj:flit-core-4

Conversation

@kraj

@kraj kraj commented Nov 30, 2026

Copy link
Copy Markdown

flit_core 4 keeps the flit_core.buildapi backend and the [project] metadata table that this project uses, so the <4 upper bound on the build requirement only stops it from building with flit_core 4.x. This raises it to <5.

Tested by building the sdist and the wheel with flit_core 4.2.0 (python -m build --no-isolation).

flit_core 4 keeps the flit_core.buildapi backend and the [project]
metadata table that this project uses, so raise the upper bound of the
build requirement to <5. Built with flit_core 4.2.0.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Copilot AI balanced review requested due to automatic review settings November 30, 2026 01:46
@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2224255) to head (f9456be).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1420   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         2315      2315           
  Branches       358       358           
=========================================
  Hits          2315      2315           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the change to allow flit_core 4.x while retaining support from version 3.2.

No open issues 🎉

What changed in this PR

Allows the project to build with flit_core 4.x while retaining support for versions starting at 3.2.

Changes:

  • Raises the build requirement’s upper bound from <4 to <5, leaving the build backend and project metadata unchanged.
File Description
pyproject.toml Expands the allowed flit_core build dependency range to include 4.x.

Review effort: Balanced

kraj added a commit to YoeDistro/meta-openembedded that referenced this pull request Nov 30, 2026
The flit_core 4 patches for these recipes have been sent upstream; point
Upstream-Status at the pull requests and the tomcli mailing list post:

  python3-argh               neithere/argh#249
  python3-arrow              arrow-py/arrow#1420
  python3-asyncinotify       ProCern/asyncinotify#25
  python3-cairocffi          Kozea/cairocffi#242
  python3-gspread            burnash/gspread#1614
  python3-mdit-py-plugins    executablebooks/mdit-py-plugins#180
  python3-mdurl              executablebooks/mdurl#28
  python3-ordered-set        rspeer/ordered-set#115
  python3-pytest-freezer     pytest-dev/pytest-freezer#18
  python3-python-xmp-toolkit python-xmp-toolkit/python-xmp-toolkit#106
  python3-tomli-w            hukkin/tomli-w#92
  tomcli                     https://lists.sr.ht/~gotmax23/tomcli

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this pull request Nov 30, 2026
The flit_core 4 patches for these recipes have been sent upstream; point
Upstream-Status at the pull requests and the tomcli mailing list post:

  python3-argh               neithere/argh#249
  python3-arrow              arrow-py/arrow#1420
  python3-asyncinotify       ProCern/asyncinotify#25
  python3-cairocffi          Kozea/cairocffi#242
  python3-gspread            burnash/gspread#1614
  python3-mdit-py-plugins    executablebooks/mdit-py-plugins#180
  python3-mdurl              executablebooks/mdurl#28
  python3-ordered-set        rspeer/ordered-set#115
  python3-pytest-freezer     pytest-dev/pytest-freezer#18
  python3-python-xmp-toolkit python-xmp-toolkit/python-xmp-toolkit#106
  python3-tomli-w            hukkin/tomli-w#92
  tomcli                     https://lists.sr.ht/~gotmax23/tomcli

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kraj added a commit to YoeDistro/meta-openembedded that referenced this pull request Nov 30, 2026
The flit_core 4 patches for these recipes have been sent upstream; point
Upstream-Status at the pull requests and the tomcli mailing list post:

  python3-argh               neithere/argh#249
  python3-arrow              arrow-py/arrow#1420
  python3-asyncinotify       ProCern/asyncinotify#25
  python3-cairocffi          Kozea/cairocffi#242
  python3-gspread            burnash/gspread#1614
  python3-mdit-py-plugins    executablebooks/mdit-py-plugins#180
  python3-mdurl              executablebooks/mdurl#28
  python3-ordered-set        rspeer/ordered-set#115
  python3-pytest-freezer     pytest-dev/pytest-freezer#18
  python3-python-xmp-toolkit python-xmp-toolkit/python-xmp-toolkit#106
  python3-tomli-w            hukkin/tomli-w#92
  tomcli                     https://lists.sr.ht/~gotmax23/tomcli

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants