-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Using Cython stable version #1412
base: master
Are you sure you want to change the base?
Using Cython stable version #1412
Conversation
CodSpeed Performance ReportMerging #1412 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1412 +/- ##
==========================================
- Coverage 96.06% 96.06% -0.01%
==========================================
Files 31 31
Lines 5765 5762 -3
Branches 344 344
==========================================
- Hits 5538 5535 -3
Misses 201 201
Partials 26 26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
88bad56
to
2e0c592
Compare
Co-authored-by: ajsanchezsanz <[email protected]> Co-authored-by: markgreene74 <[email protected]>
7f5b60c
to
ee03913
Compare
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's change or symlink this to a packaging
type.
@@ -0,0 +1 @@ | |||
Removed usage of Cython pre-release versions -- by :user:`ajsanchezsanz`, :user:`markgreene74`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed usage of Cython pre-release versions -- by :user:`ajsanchezsanz`, :user:`markgreene74`. | |
Stopped implicitly allowing the use of Cython pre-release versions when | |
building the distribution package -- by :user:`ajsanchezsanz` and | |
:user:`markgreene74`. |
@@ -378,8 +374,7 @@ def get_requires_for_build_wheel( | |||
) | |||
|
|||
c_ext_build_deps = [] if is_pure_python_build else [ | |||
'Cython >= 3.0.0b3' if IS_PY3_12_PLUS # Only Cython 3+ is compatible | |||
else 'Cython', | |||
'Cython >= 3.0.0, < 3.1.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not put the lower limit for older CPython versions.
'Cython >= 3.0.0, < 3.1.0', | |
'Cython ~= 3.0.0; python_version >= "3.12"', | |
'Cython; python_version < "3.12"', |
What do these changes do?
Use latest Cython stable version, avoiding using pre-release versions.
Why? There is some issue with Cython 3.1.0a1 that is making the tests to fail.
Are there changes in behavior for the user?
No
Related issue number
Fixes #1411
Checklist