-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport #1757 to the release branch and bring CI workflows in line w…
…ith main
- Loading branch information
1 parent
20f6a3f
commit 8ec1d65
Showing
7 changed files
with
36 additions
and
43 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 |
---|---|---|
|
@@ -27,19 +27,13 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
python-version: '3.10' | ||
|
||
- name: Install Python packages needed for wheel build and upload | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
python -m pip install twine wheel | ||
run: python -m pip install twine | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_SKIP: 'pp*' | ||
CIBW_ARCHS_LINUX: "auto aarch64" | ||
CIBW_ARCHS_MACOS: "auto universal2" | ||
uses: pypa/[email protected] | ||
|
||
- name: Check and upload wheels | ||
env: | ||
|
@@ -60,21 +54,18 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
python-version: '3.10' | ||
|
||
- name: Install Python packages needed for sdist build and upload | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
python -m pip install twine | ||
run: python -m pip install build twine | ||
|
||
- name: Build sdist | ||
run: | | ||
python setup.py sdist | ||
run: python -m build --sdist | ||
|
||
- name: Publish sdist to PyPI | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python -m twine check --strict dist/*.tar.gz | ||
python -m twine upload dist/*.tar.gz | ||
python -m twine check --strict dist/* | ||
python -m twine upload dist/* |
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