-
-
Notifications
You must be signed in to change notification settings - Fork 382
unpin cython #3269
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
unpin cython #3269
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,7 +53,7 @@ commands = | |
| description = "Run cython tests." | ||
| deps = | ||
| # cython 3.1.0 broke stuff https://github.com/cython/cython/issues/6865 | ||
| cython: cython<3.1.0 | ||
| cython: cython | ||
| cython2: cython<3 | ||
| setuptools ; python_version >= '3.12' | ||
| commands_pre = | ||
|
|
@@ -63,6 +63,26 @@ commands_pre = | |
| commands = | ||
| python -m tests.cython.run_test_cython | ||
|
|
||
| [testenv:cov-cython] | ||
| deps = | ||
| setuptools | ||
| cython | ||
| set_env = | ||
| CFLAGS= -DCYTHON_TRACE_NOGIL=1A | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oops, yeah that should be a
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed in #3272 |
||
| allowlist_externals = | ||
| sed | ||
| cp | ||
| commands_pre = | ||
| python --version | ||
| cython --version | ||
| cp pyproject.toml {temp_dir}/ | ||
| sed -i "s/plugins\ =\ \\[\\]/plugins = [\"Cython.Coverage\"]/" {temp_dir}/pyproject.toml | ||
| cythonize --inplace -X linetrace=True tests/cython/test_cython.pyx | ||
| commands = | ||
| coverage run -m tests.cython.run_test_cython --rcfile={temp_dir}/pyproject.toml | ||
| coverage combine | ||
| coverage report | ||
|
|
||
| [testenv:gen_exports] | ||
| description = "Run gen_exports.py, regenerating code for public API wrappers." | ||
| deps = | ||
|
|
||
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.
I would rather either have this in CI or delay this part of this PR until that point, so it doesn't get stale.
Uh oh!
There was an error while loading. Please reload this page.
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.
that logic would apply to everything in this file, and I think keeping it lowers the barrier to incorporating it to CI when that day comes around even if it does become stale
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.
Well not the typing things! But alright, fine.