Skip to content

Commit

Permalink
ci: build / test wheels for Python 3.10 [WIP] (#78)
Browse files Browse the repository at this point in the history
Closes #49.
  • Loading branch information
tseaver committed Sep 1, 2021
1 parent 4e0029d commit db70646
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/presubmit.yml
Expand Up @@ -27,7 +27,11 @@ jobs:
# 3.10 is not yet available in manylinux docker images.
# https://github.com/pypa/manylinux
# python: [3.6, 3.7, 3.8, 3.9, 3.10-dev]
python: [3.6, 3.7, 3.8, 3.9]
python: [3.6, 3.7, 3.8, 3.9, 3.10-dev]
# It is possible 3.10-dev will fail when the other versions are green.
# Turn off fast fail so if 3.10 fails the other required versions have
# the opportunity to pass.
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -36,8 +40,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
python -m pip install --upgrade setuptools pip wheel
- name: Build
env:
BUILD_PYTHON: ${{ matrix.python }}
Expand Down Expand Up @@ -73,8 +76,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
python -m pip install --upgrade setuptools pip wheel
- name: Build
run: |
./scripts/osx/build_gh_action.sh
Expand Down Expand Up @@ -113,8 +115,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
python -m pip install --upgrade setuptools pip wheel
- name: Build
run: |
where python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: [3.6, 3.7, 3.8, 3.9, 3.10dev]
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: [3.6, 3.7, 3.8, 3.9, 3.10dev]
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
python: [3.6, 3.7, 3.8, 3.9, 3.10dev]
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
Expand Down
2 changes: 1 addition & 1 deletion scripts/manylinux/build_on_centos.sh
Expand Up @@ -66,7 +66,7 @@ if [[ -z ${BUILD_PYTHON} ]]; then
fi
done
else
STRIPPED_PYTHON=$(echo ${BUILD_PYTHON} | sed -e "s/\.//g")
STRIPPED_PYTHON=$(echo ${BUILD_PYTHON} | sed -e "s/\.//g" | sed -e "s/-dev$//")
for PYTHON_BIN in /opt/python/*/bin; do
if [[ "${PYTHON_BIN}" == *"${STRIPPED_PYTHON}"* ]]; then
PYTHON_VERSIONS="${PYTHON_VERSIONS} ${PYTHON_BIN}"
Expand Down

0 comments on commit db70646

Please sign in to comment.