-
Notifications
You must be signed in to change notification settings - Fork 95
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
Windows support #951
Merged
Merged
Windows support #951
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8e87369
supporting Windows and Python 3.12
qiyunzhu fc112b8
Fix FileNotFoundErrors to support windows
mataton 1a116cd
Merge branch 'qiyun_windows' into windows
mataton e656012
Use dirname over rsplit
mataton 8ae53dd
Fix temp file opening issues
mataton 4b3adc9
Fix other temp file issues
mataton bdbc4db
Fix linting and put unlink in tearDown
mataton b0654ba
Testing workflow failure of python3.7 on windows
mataton 07236ff
Remove test line for python3.7
mataton e38dae5
Merge branch 'master' into windows
mataton 563eda1
Utilize setUp and tearDown for removing tmp files
mataton 00a532e
Update changelog
mataton bf11bfd
Update ChangeLog.md
wasade 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 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that 32-bit windows? If so, does the build actually work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...this repository does not need to support 32-bit architectures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it is 32 bit windows and that it works, although @qiyunzhu wrote this section of the code so he may know more than me.