Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Cython 3 where available #19

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

pniedzielski
Copy link
Collaborator

We currently support Python interpreters 3.7 and newer, and Cython 3 supports Python interpreters 3.8 and newer. This patch updates the pip dependencies dependencies to prefer Cython 3 for interpreters 3.8 and newer, keeping the older version of Cython as a dependency for interpreter 3.7.

Closes: #18

@pniedzielski pniedzielski added the enhancement New feature or request label Jan 5, 2024
@pniedzielski pniedzielski requested a review from a team as a code owner January 5, 2024 22:36
@pniedzielski pniedzielski force-pushed the cython3 branch 2 times, most recently from 5876255 to 85e30f1 Compare January 11, 2024 17:59
@pniedzielski pniedzielski requested a review from hallfox January 11, 2024 18:03
We currently support Python interpreters 3.7 and newer, and Cython 3
supports Python interpreters 3.8 and newer.  This patch updates the pip
dependencies dependencies to prefer Cython 3 for interpreters 3.8 and
newer, keeping the older version of Cython as a dependency for
interpreter 3.7.

Signed-off-by: Patrick M. Niedzielski <[email protected]>
This patch adds Python 3.7 to our CI build matrix.  While we always have
supported Python 3.7, it was an oversight not to test builds with it.
Crucially, now that we use different Cython versions between 3.7 and our
other supported interpreter versions, it is important to check with 3.7
explicitly.

Signed-off-by: Patrick M. Niedzielski <[email protected]>
@pniedzielski pniedzielski merged commit 7255797 into bloomberg:main Jan 24, 2024
10 checks passed
@pniedzielski pniedzielski deleted the cython3 branch February 7, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Builds for interpreters >= 3.8 should use Cython 3
2 participants