-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add 3.13 to supported versions * Patch download-artifact vulnerability * Remove assumption test * Attempt to work around windows issue * Skip 32bit musllinux on 313 * Use pyproject cibw skip
- Loading branch information
Showing
11 changed files
with
79 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -98,7 +98,7 @@ jobs: | |
echo "MOD_DPATH = $MOD_DPATH" | ||
python -m pytest --verbose --cov=line_profiler $MOD_DPATH ../tests | ||
cd .. | ||
- uses: actions/upload-artifact@v4.3.1 | ||
- uses: actions/upload-artifact@v4.4.0 | ||
name: Upload sdist artifact | ||
with: | ||
name: sdist_wheels | ||
|
@@ -123,16 +123,17 @@ jobs: | |
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
cibw_skip: | ||
- '*-win32' | ||
#cibw_skip: | ||
#- '*-win32' | ||
arch: | ||
- auto | ||
steps: | ||
- name: Checkout source | ||
uses: actions/[email protected] | ||
- name: Enable MSVC 64bit | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
if: matrix.os == 'windows-latest' && ${{ contains(matrix.cibw_skip, '*-win32') }} | ||
#if: matrix.os == 'windows-latest' && ${{ contains(matrix.cibw_skip, '*-win32') }} | ||
if: matrix.os == 'windows-latest' | ||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
if: runner.os == 'Linux' && matrix.arch != 'auto' | ||
|
@@ -144,7 +145,7 @@ jobs: | |
output-dir: wheelhouse | ||
config-file: pyproject.toml | ||
env: | ||
CIBW_SKIP: ${{ matrix.cibw_skip }} | ||
#CIBW_SKIP: ${{ matrix.cibw_skip }} | ||
CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
- name: Show built files | ||
shell: bash | ||
|
@@ -182,7 +183,7 @@ jobs: | |
with: | ||
file: ./coverage.xml | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- uses: actions/upload-artifact@v4.3.1 | ||
- uses: actions/upload-artifact@v4.4.0 | ||
name: Upload wheels artifact | ||
with: | ||
name: wheels-${{ matrix.os }}-${{ matrix.arch }} | ||
|
@@ -216,23 +217,23 @@ jobs: | |
install-extras: tests-strict,runtime-strict | ||
os: windows-latest | ||
arch: auto | ||
- python-version: '3.12' | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests-strict,runtime-strict,optional-strict | ||
os: ubuntu-latest | ||
arch: auto | ||
- python-version: '3.12' | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests-strict,runtime-strict,optional-strict | ||
os: macOS-latest | ||
arch: auto | ||
- python-version: '3.12' | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests-strict,runtime-strict,optional-strict | ||
os: windows-latest | ||
arch: auto | ||
- python-version: '3.12' | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests | ||
os: macOS-latest | ||
arch: auto | ||
- python-version: '3.12' | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests | ||
os: windows-latest | ||
arch: auto | ||
|
@@ -256,6 +257,10 @@ jobs: | |
install-extras: tests,optional | ||
os: ubuntu-latest | ||
arch: auto | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests,optional | ||
os: ubuntu-latest | ||
arch: auto | ||
- python-version: '3.8' | ||
install-extras: tests,optional | ||
os: macOS-latest | ||
|
@@ -276,6 +281,10 @@ jobs: | |
install-extras: tests,optional | ||
os: macOS-latest | ||
arch: auto | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests,optional | ||
os: macOS-latest | ||
arch: auto | ||
- python-version: '3.8' | ||
install-extras: tests,optional | ||
os: windows-latest | ||
|
@@ -296,6 +305,10 @@ jobs: | |
install-extras: tests,optional | ||
os: windows-latest | ||
arch: auto | ||
- python-version: 3.13.0-rc.2 | ||
install-extras: tests,optional | ||
os: windows-latest | ||
arch: auto | ||
steps: | ||
- name: Checkout source | ||
uses: actions/[email protected] | ||
|
@@ -311,7 +324,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].8 | ||
name: Download wheels | ||
with: | ||
pattern: wheels-* | ||
|
@@ -407,13 +420,13 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/[email protected] | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].8 | ||
name: Download wheels | ||
with: | ||
pattern: wheels-* | ||
merge-multiple: true | ||
path: wheelhouse | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].8 | ||
name: Download sdist | ||
with: | ||
name: sdist_wheels | ||
|
@@ -462,7 +475,7 @@ jobs: | |
ots stamp wheelhouse/*.whl wheelhouse/*.tar.gz wheelhouse/*.asc | ||
ls -la wheelhouse | ||
twine upload --username __token__ --password "$TWINE_PASSWORD" --repository-url "$TWINE_REPOSITORY_URL" wheelhouse/*.whl wheelhouse/*.tar.gz --skip-existing --verbose || { echo "failed to twine upload" ; exit 1; } | ||
- uses: actions/upload-artifact@v4.3.1 | ||
- uses: actions/upload-artifact@v4.4.0 | ||
name: Upload deploy artifacts | ||
with: | ||
name: deploy_artifacts | ||
|
@@ -482,13 +495,13 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/[email protected] | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].8 | ||
name: Download wheels | ||
with: | ||
pattern: wheels-* | ||
merge-multiple: true | ||
path: wheelhouse | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].8 | ||
name: Download sdist | ||
with: | ||
name: sdist_wheels | ||
|
@@ -537,7 +550,7 @@ jobs: | |
ots stamp wheelhouse/*.whl wheelhouse/*.tar.gz wheelhouse/*.asc | ||
ls -la wheelhouse | ||
twine upload --username __token__ --password "$TWINE_PASSWORD" --repository-url "$TWINE_REPOSITORY_URL" wheelhouse/*.whl wheelhouse/*.tar.gz --skip-existing --verbose || { echo "failed to twine upload" ; exit 1; } | ||
- uses: actions/upload-artifact@v4.3.1 | ||
- uses: actions/upload-artifact@v4.4.0 | ||
name: Upload deploy artifacts | ||
with: | ||
name: deploy_artifacts | ||
|
@@ -558,7 +571,7 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/[email protected] | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].8 | ||
name: Download artifacts | ||
with: | ||
name: deploy_artifacts | ||
|
This file contains 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 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 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 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 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 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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