Skip to content

Loosen the Cython build dependency specifier to >= 3.2.0 - #214

Merged
webknjaz merged 3 commits into
aio-libs:masterfrom
gundalow:loosen-cython-specifier
May 8, 2026
Merged

webknjaz merged 3 commits into
aio-libs:masterfrom
gundalow:loosen-cython-specifier

Conversation

@gundalow

@gundalow gundalow commented May 8, 2026 •

Copy link
Copy Markdown
Contributor

What do these changes do?

Changed the Cython build dependency specifier in get_requires_for_build_wheel() from ~= 3.2.0 (>= 3.2.0, < 3.3.0) to >= 3.2.0, removing the upper version bound.

The pinned version in requirements/cython.txt (== 3.2.4) is unchanged and continues to control the exact Cython version used in CI and cibuildwheel. This change only affects downstream packagers who disable build isolation or set their own constraints.

Are there changes in behavior for the user?

No change for propcache's own builds. Downstream packagers (e.g., distro packagers) who supply their own Cython >= 3.3.0 will no longer hit a dependency resolution conflict.

Related issue number

Follows guidance from:

Checklist

  • I think the code is well written
  • Unit tests for the changes exist: N/A
  • Documentation reflects the changes

Changelog

image

Changed the Cython build dependency specifier in `get_requires_for_build_wheel()` from `~= 3.2.0` (`>= 3.2.0, < 3.3.0`) to `>= 3.2.0`, removing the upper version bound.

The pinned version in `requirements/cython.txt` (`== 3.2.4`) is unchanged and continues to control the exact Cython version used in CI and cibuildwheel. This change only affects downstream packagers who disable build isolation or set their own constraints.
@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label May 8, 2026
@codspeed

codspeed Bot commented May 8, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 4 untouched benchmarks


Comparing gundalow:loosen-cython-specifier (cce4071) with master (35b1b5b)

Open in CodSpeed

@codecov

codecov Bot commented May 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.63%. Comparing base (35b1b5b) to head (cce4071).
⚠️ Report is 59 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #214   +/-   ##
=======================================
  Coverage   97.63%   97.63%           
=======================================
  Files          17       17           
  Lines         847      847           
  Branches       44       44           
=======================================
  Hits          827      827           
  Misses         12       12           
  Partials        8        8           
Flag Coverage Δ
CI-GHA 97.63% <100.00%> (ø)
MyPy 91.84% <100.00%> (ø)
OS-Linux 97.48% <ø> (ø)
OS-Windows 94.52% <ø> (ø)
OS-macOS 94.52% <ø> (ø)
Py-3.10.11 92.69% <ø> (ø)
Py-3.10.20 94.52% <ø> (ø)
Py-3.11.15 96.11% <ø> (ø)
Py-3.11.9 94.29% <ø> (ø)
Py-3.12.10 94.29% <ø> (ø)
Py-3.12.13 96.11% <ø> (ø)
Py-3.13.13 96.11% <ø> (ø)
Py-3.13.13t 96.11% <ø> (ø)
Py-3.14.4 96.08% <ø> (ø)
Py-3.14.4t 96.08% <ø> (ø)
Py-3.9.13 92.67% <ø> (ø)
Py-3.9.25 94.50% <ø> (ø)
Py-pypy3.10.16-7.3.19 78.08% <ø> (ø)
Py-pypy3.9.19-7.3.16 78.03% <ø> (ø)
VM-macos-latest 94.52% <ø> (ø)
VM-ubuntu-latest 97.48% <ø> (ø)
VM-windows-11-arm 94.29% <ø> (ø)
VM-windows-latest 94.52% <ø> (ø)
pytest 97.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@webknjaz webknjaz left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like this. The change note needs to adjusted a bit, though.
Plus I'd like to hear from @Dreamsorcerer, @bdraco and/or @lysnikolaou regarding possible issues w/ Cython before this is merged.

Comment thread CHANGES/214.packaging.rst Resolved
@Dreamsorcerer

Copy link
Copy Markdown
Member

I like this. The change note needs to adjusted a bit, though. Plus I'd like to hear from @Dreamsorcerer, @bdraco and/or @lysnikolaou regarding possible issues w/ Cython before this is merged.

Me: No idea, not familiar enough with Cython versioning.
Bdraco: yeah I think now that Cython has fixed the stability issues we can drop the pin.

So probably good to go.

@gundalow

gundalow commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

CI issue unrelated.
No change to Codecov percentage in this PR

@webknjaz webknjaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Further corrections.

Comment thread CHANGES/184.packaging.rst Resolved
Comment thread CHANGES/184.packaging.rst Resolved
Comment thread CHANGES/184.packaging.rst Resolved

@webknjaz webknjaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good from my side. bdraco confirmed it's okay in a private matrix chat. I'll schedule a merge.

@webknjaz
webknjaz enabled auto-merge (squash) May 8, 2026 15:21
@webknjaz
webknjaz merged commit f30c42e into aio-libs:master May 8, 2026
63 of 64 checks passed
@gundalow
gundalow deleted the loosen-cython-specifier branch May 8, 2026 15:55
@gundalow

gundalow commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

@Dreamsorcerer @webknjaz Thanks for the help with this and quick turn around ❤️

@gundalow gundalow mentioned this pull request May 8, 2026
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants