Skip to content
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

Upload 3.13 & free-threaded nightly wheels #59136

Merged
merged 21 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4371054
Upload free-threaded nightly wheels on Linux and macOS
lysnikolaou Jun 28, 2024
2cb8bbc
Consolidate jobs into one
lysnikolaou Jul 2, 2024
5f54ed7
Install build dependencies in before-build and pass --no-build-isolation
lysnikolaou Jul 10, 2024
8bee350
Fix {project} placeholder in cibuildwheel config
lysnikolaou Jul 10, 2024
0a842b2
Correctly quote echo CIBW_BUILD_FRONTEND command
lysnikolaou Jul 10, 2024
c2bbdcb
Run echo -e
lysnikolaou Jul 10, 2024
7e87966
Add {package} to before-build
lysnikolaou Jul 10, 2024
c36d905
Include cibw script in sdist & add matrix value for build frontend
lysnikolaou Jul 11, 2024
f11120d
Change manifest and gitattributes
lysnikolaou Jul 11, 2024
0b70025
Change gitattributes
lysnikolaou Jul 11, 2024
812527e
Install verioneer in before-build
lysnikolaou Jul 11, 2024
e46055a
Add cibw_before_test to install nightly NumPy
lysnikolaou Jul 11, 2024
c487998
Expand before-test to musl
lysnikolaou Jul 11, 2024
2258d64
Better comments plus always run before-build/before-test on 3.13
lysnikolaou Jul 11, 2024
0c4753a
Add --no-build-isolation in 3.13 as well
lysnikolaou Jul 11, 2024
15d0c8d
Install nightly numpy before windows tests
lysnikolaou Jul 11, 2024
0cf5c89
Merge branch 'main' into free-threaded-wheels
lysnikolaou Jul 16, 2024
edcbf3c
Merge branch 'main' into free-threaded-wheels
lysnikolaou Jul 19, 2024
2397f4c
Address feedback; add todo for NumPy nightly and move default outside…
lysnikolaou Jul 19, 2024
06b6ca1
Merge branch 'main' into free-threaded-wheels
mroeschke Jul 22, 2024
778a60a
Set build_frontend to 'build' in pyodide build
lysnikolaou Jul 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Include cibw script in sdist & add matrix value for build frontend
  • Loading branch information
lysnikolaou committed Jul 11, 2024
commit c36d905f282b314064992ef389533286814c6bcf
15 changes: 8 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ jobs:
- [windows-2022, win_amd64]
# TODO: support PyPy?
python: [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
include:
# 'pip' is the default
- cibw_build_frontend: pip
lysnikolaou marked this conversation as resolved.
Show resolved Hide resolved
# TODO: Remove this and installing build deps in cibw_before_build.sh
# after NumPy can be built with a released Cython
- python: ["cp313t", "3.13"]
cibw_build_frontend: 'pip; args: --no-build-isolation'
exclude:
- buildplat: [windows-2022, win_amd64]
python: ["cp313t", "3.13"]
Expand Down Expand Up @@ -142,13 +149,6 @@ jobs:
shell: bash -el {0}
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"

# TODO: Remove this and installing build deps in cibw_before_build.sh
# after NumPy can be built with a released Cython
- name: Define CIBW_BUILD_FRONTEND environment variable
if: ${{ matrix.python[0] == 'cp313t' }}
run: |
echo -e 'CIBW_BUILD_FRONTEND="pip; args: --no-build-isolation"' >> "$GITHUB_ENV"

- name: Build wheels
uses: pypa/cibuildwheel@v2.19.1
with:
Expand All @@ -157,6 +157,7 @@ jobs:
CIBW_PRERELEASE_PYTHONS: True
CIBW_FREE_THREADED_SUPPORT: True
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
CIBW_BUILD_FRONTEND: ${{ matrix.cibw_build_frontend }}

- name: Set up Python
uses: mamba-org/setup-micromamba@v1
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ all = ['adbc-driver-postgresql>=0.10.0',
# TODO: Remove after setuptools support is dropped.
[tool.setuptools]
include-package-data = true
script-files = ["scripts/cibw_before_build.sh"] # Needed for building wheels

[tool.setuptools.packages.find]
include = ["pandas", "pandas.*"]
Expand Down
Loading