-
-
Notifications
You must be signed in to change notification settings - Fork 393
Add Cython to CI #2942
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
Merged
Add Cython to CI #2942
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
06af03b
test adding cython to ci
jakkdl eb94b29
move the file, refer to it correctly
jakkdl ab147c4
need cython
jakkdl c554f5f
import from correct location
jakkdl 6ee97f0
matrixify cython, specify python-version, revert cython-specific fix …
jakkdl eb4489d
matrix must be inside strategy
jakkdl 4305bbb
fail-fast false, fix ==version check
jakkdl 0d5e899
remove accidental architecture copypaste, bump minimum version
jakkdl e9f81c3
quote matrix.cython to avoid <3 being parsed as a stdin redirect, exp…
jakkdl 4f23772
setuptools is apparently how you get distutils
jakkdl 7aca354
matrixify 3.8, 3.10, 3[.12]
jakkdl e320cc7
test more old cython versions
jakkdl 3aabf38
AlL tHe VeRsIoNs
jakkdl aedec0b
properly revert the fix
jakkdl d72d394
use checkout@v4 and setup-python@v5, and remove cache-dependency-path…
jakkdl 23a8c24
strip down CI, add comments, remove redundant code in the pyx file
jakkdl 93800d3
de-matrix cython version
jakkdl a257b7f
Merge remote-tracking branch 'origin/master' into cython_ci
jakkdl 4d62c17
undo reversion of 2911, add comment on cython version. Undo commentin…
jakkdl 7860181
Merge branch 'master' into cython_ci
CoolCat467 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # cython: language_level=3 | ||
| import trio | ||
|
|
||
| # the output of the prints are not currently checked, we only check | ||
| # if the program can be compiled and doesn't crash when run. | ||
|
|
||
| # The content of the program can easily be extended if there's other behaviour | ||
| # that might be likely to be problematic for cython. | ||
| async def foo() -> None: | ||
| print('.') | ||
|
|
||
| async def trio_main() -> None: | ||
| print('hello...') | ||
| await trio.sleep(1) | ||
| print(' world !') | ||
|
|
||
| async with trio.open_nursery() as nursery: | ||
| nursery.start_soon(foo) | ||
| nursery.start_soon(foo) | ||
| nursery.start_soon(foo) | ||
|
|
||
| trio.run(trio_main) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.