|
10 | 10 | PYTHONDEVMODE: 1
|
11 | 11 | PYTHONFAULTHANDLER: 1
|
12 | 12 | PIP_UPGRADE_STRATEGY: eager
|
13 |
| - # Don't get warnings about Python 2 support being deprecated. We |
14 |
| - # know. The env var works for pip 20. |
15 |
| - PIP_NO_PYTHON_VERSION_WARNING: 1 |
16 | 13 | PIP_NO_WARN_SCRIPT_LOCATION: 1
|
17 | 14 | # Uploading built wheels for releases.
|
18 | 15 | # TWINE_PASSWORD is encrypted and stored directly in the
|
|
26 | 23 | strategy:
|
27 | 24 | matrix:
|
28 | 25 | python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14.0-alpha.7"]
|
29 |
| - os: [ubuntu-latest] |
30 |
| - include: |
31 |
| - # Needs to be all supported Python versions, they upload the built |
32 |
| - # wheels for releases. |
33 |
| - - os: macos-latest |
34 |
| - python-version: 3.9 |
35 |
| - - os: macos-latest |
36 |
| - python-version: "3.10" |
37 |
| - - os: macos-latest |
38 |
| - python-version: "3.11" |
39 |
| - - os: macos-latest |
40 |
| - python-version: "3.12" |
41 |
| - - os: macos-latest |
42 |
| - python-version: "3.13" |
43 |
| - - os: macos-latest |
44 |
| - python-version: "3.14.0-alpha.7" |
| 26 | + # Recall the macOS builds upload built wheels so all supported versions |
| 27 | + # need to run on mac. |
| 28 | + os: [ubuntu-latest, macos-latest] |
45 | 29 | steps:
|
46 | 30 | - uses: actions/checkout@v4
|
47 | 31 | - name: Set up Python
|
@@ -148,17 +132,11 @@ jobs:
|
148 | 132 | run: |
|
149 | 133 | python -m pip install -U pip
|
150 | 134 | python -m pip install -U setuptools wheel
|
151 |
| - # Set the `CODEQL-PYTHON` environment variable to the Python executable |
152 |
| - # that includes the dependencies |
153 |
| - echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV |
154 | 135 | # Initializes the CodeQL tools for scanning.
|
155 | 136 | - name: Initialize CodeQL
|
156 | 137 | uses: github/codeql-action/init@v3
|
157 | 138 | with:
|
158 | 139 | languages: python, cpp
|
159 |
| - # Override the default behavior so that the action doesn't attempt |
160 |
| - # to auto-install Python dependencies |
161 |
| - setup-python-dependencies: false |
162 | 140 | - name: Install greenlet
|
163 | 141 | run: |
|
164 | 142 | python setup.py build
|
@@ -205,7 +183,7 @@ jobs:
|
205 | 183 | path: wheelhouse/*whl
|
206 | 184 | name: ${{ matrix.image }}_wheels.zip
|
207 | 185 | - name: Publish package to PyPI
|
208 |
| - uses: pypa/gh-action-pypi-publish@v1.12.2 |
| 186 | + uses: pypa/gh-action-pypi-publish@v1.12.4 |
209 | 187 | if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
210 | 188 | with:
|
211 | 189 | user: __token__
|
|
0 commit comments