-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* supporting Windows and Python 3.12 * Fix FileNotFoundErrors to support windows * Use dirname over rsplit * Fix temp file opening issues * Fix other temp file issues * Fix linting and put unlink in tearDown * Testing workflow failure of python3.7 on windows * Remove test line for python3.7 * Utilize setUp and tearDown for removing tmp files * Update changelog * Update ChangeLog.md --------- Co-authored-by: qiyunzhu <[email protected]> Co-authored-by: Daniel McDonald <[email protected]>
- Loading branch information
1 parent
50b6908
commit 738d240
Showing
13 changed files
with
133 additions
and
66 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
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 |
---|---|---|
|
@@ -7,15 +7,15 @@ jobs: | |
name: Build sdist | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build distribution | ||
run: | | ||
export RELEASE_VERSION=${{ github.ref_name }} | ||
pip install numpy cython | ||
pipx run build --sdist | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist-artifacts | ||
path: dist/*.tar.gz | ||
|
@@ -27,13 +27,13 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
pyver: ["37", "38", "39", "310", "311"] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
pyver: ["37", "38", "39", "310", "311", "312"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -47,7 +47,7 @@ jobs: | |
- name: Build wheels (py ${{ matrix.pyver }}) Linux | ||
if: matrix.os == 'ubuntu-latest' | ||
env: | ||
CIBW_ARCHS_LINUX: x86_64 | ||
CIBW_ARCHS_LINUX: "x86_64 aarch64" | ||
CIBW_SKIP: "*-musllinux*" | ||
CIBW_BUILD: "cp${{ matrix.pyver }}-*" | ||
|
||
|
@@ -60,10 +60,15 @@ jobs: | |
CIBW_BUILD: "cp${{ matrix.pyver }}-*" | ||
|
||
uses: pypa/[email protected] | ||
|
||
|
||
|
||
- name: Build wheels (py ${{ matrix.pyver }}) Windows | ||
if: matrix.os == 'windows-latest' | ||
env: | ||
CIBW_ARCHS_WINDOWS: "amd64 win32 arm64" | ||
CIBW_BUILD: "cp${{ matrix.pyver }}-*" | ||
|
||
- name: Upload wheels | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist-artifacts | ||
path: ./wheelhouse/*.whl | ||
|
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 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
Oops, something went wrong.