Skip to content

Commit

Permalink
update fix
Browse files Browse the repository at this point in the history
Signed-off-by: masadcv <[email protected]>
  • Loading branch information
masadcv committed Oct 15, 2024
1 parent f2bb64f commit 9bb69df
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build-whl-cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Used to host cibuildwheel
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

# macOS workaround to not use Accelerate:
# https://github.com/numpy/numpy/issues/15947
Expand All @@ -52,10 +52,9 @@ jobs:
# Disable building PyPy wheels on all platforms: "pp*
# Disable 32-bit compilation: *-win32
# Disable musllinux: *-musllinux*
# Disable cp312 for now: cp312-*"
# Windows workaround to avoid setuptools error:
# https://github.com/duckdb/duckdb/pull/3376
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux* cp36-* cp37-* cp312-*"
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux* cp36-* cp37-*
if: matrix.os == 'windows-2019'
SETUPTOOLS_USE_DISTUTILS: 'stdlib'
Expand All @@ -66,14 +65,13 @@ jobs:
# Disable building PyPy wheels on all platforms: "pp*
# Disable 32-bit compilation: *-win32
# Disable musllinux: *-musllinux*
# Disable cp312 for now: cp312-*"
# Windows workaround to avoid setuptools error:
# https://github.com/duckdb/duckdb/pull/3376
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux* cp36-* cp37-* cp312-*"
CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux* cp36-* cp37-*
if: matrix.os == 'windows-2019'
SETUPTOOLS_USE_DISTUTILS: 'stdlib'
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v3
with:
name: dist
path: ./dist/*.whl
Expand All @@ -91,10 +89,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -105,7 +103,7 @@ jobs:
run: python setup.py sdist

- name: Upload Python Dist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand All @@ -118,7 +116,7 @@ jobs:
- build_sdist
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-whl-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# CIBW_SOME_OPTION: value

- name: Upload Python Dist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand Down Expand Up @@ -85,10 +85,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -99,7 +99,7 @@ jobs:
run: python setup.py sdist

- name: Upload Python Dist
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand All @@ -112,7 +112,7 @@ jobs:
- build_sdist
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: dist
path: dist/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Upload Python Dist
if: ${{ github.event.inputs.save_artifacts == 'true' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand All @@ -67,10 +67,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Upload Python Dist
if: ${{ github.event.inputs.save_artifacts == 'true' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand Down

0 comments on commit 9bb69df

Please sign in to comment.