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

Build wheels for Python 3.9 through 3.13. #32

Merged
merged 5 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 12 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,20 @@ jobs:
- "windows-latest"
- "ubuntu-22.04"
- "macos-latest" # TODO (aliddell): universal binary?
python:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"

runs-on: ${{ matrix.platform }}

permissions:
actions: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-build-wheel
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-${{ matrix.python }}-build-wheel
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

steps:
Expand All @@ -145,7 +151,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: ${{ matrix.python }}

- name: Install vcpkg
run: |
Expand Down Expand Up @@ -184,8 +190,8 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: ${{matrix.platform}} wheel
path: ${{github.workspace}}/dist/*.whl
name: ${{ matrix.platform }} ${{ matrix.python }} wheel
path: ${{ github.workspace }}/dist

release:
needs:
Expand Down Expand Up @@ -213,6 +219,7 @@ jobs:
run: |
mkdir -p dist
mv ${{steps.download.outputs.download-path}}/*/*.whl dist
find ${{steps.download.outputs.download-path}}/ -type f -name *.tar.gz -exec mv {} dist \; -quit

- name: Tagged release
if: ${{ github.ref_name != 'nightly' }}
Expand All @@ -236,7 +243,7 @@ jobs:
${{steps.download.outputs.download-path}}/*/*.zip
dist/*.whl

- name: Publish wheels
- name: Publish wheels and sources
if: ${{ github.ref_name != 'nightly' }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
5 changes: 3 additions & 2 deletions src/streaming/vectorized.file.writer.hh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#pragma once

#include <cstdint>
#include <mutex>
#include <span>
#include <string>
#include <vector>
#include <mutex>
#include <cstdint>

#ifdef _WIN32
#include <windows.h>
Expand Down
Loading