|
7 | 7 | - release |
8 | 8 | pull_request: |
9 | 9 |
|
| 10 | +permissions: |
| 11 | + contents: read |
| 12 | + |
10 | 13 | jobs: |
11 | 14 | test: |
12 | 15 | runs-on: ${{ matrix.os }} |
13 | 16 | strategy: |
14 | 17 | fail-fast: false |
15 | 18 | matrix: |
16 | 19 | os: ["ubuntu-latest", "macos-latest", "windows-latest"] |
17 | | - cython-version: ["0.29.37", "3.0.11"] |
| 20 | + cython-version: ["0.29.37", "3.1.4"] |
18 | 21 | python-version: |
19 | | - - "3.8" |
20 | 22 | - "3.9" |
21 | 23 | - "3.10" |
22 | 24 | - "3.11" |
23 | 25 | - "3.12" |
24 | 26 | - "3.13" |
25 | | - - "pypy3.8" |
| 27 | + - "3.14" |
26 | 28 | - "pypy3.9" |
27 | 29 | - "pypy3.10" |
| 30 | + - "pypy3.11" |
28 | 31 | exclude: |
29 | 32 | - cython-version: "0.29.37" |
30 | 33 | python-version: "3.13" |
| 34 | + - cython-version: "0.29.37" |
| 35 | + python-version: "3.14" |
| 36 | + - cython-version: "0.29.37" |
| 37 | + python-version: "pypy3.11" |
31 | 38 | steps: |
32 | 39 | - name: Checkout |
33 | | - uses: actions/checkout@v4 |
| 40 | + uses: actions/checkout@v5 |
| 41 | + with: |
| 42 | + fetch-depth: 0 |
| 43 | + persist-credentials: false |
34 | 44 | - name: Set up Python |
35 | | - uses: actions/setup-python@v5 |
| 45 | + uses: actions/setup-python@v6 |
36 | 46 | with: |
37 | 47 | python-version: ${{ matrix.python-version }} |
38 | 48 | - name: Install dependencies |
39 | 49 | run: | |
40 | | - python -m pip install --upgrade pip setuptools wheel |
| 50 | + python -m pip install --upgrade pip setuptools |
41 | 51 | pip install cython==${{ matrix.cython-version }} pytest |
42 | 52 | pip install git+https://github.com/pytoolz/toolz.git |
43 | 53 | python setup.py build_ext --inplace --with-cython |
|
51 | 61 | echo 'cimport cytoolz ; from cytoolz.functoolz cimport memoize' > try_cimport_cytoolz.pyx |
52 | 62 | cythonize -i try_cimport_cytoolz.pyx |
53 | 63 | python -c 'import try_cimport_cytoolz' |
| 64 | + python -c 'import cytoolz ; print(f"{cytoolz.__version__=}")' |
0 commit comments