diff --git a/.github/workflows/build-hogql-parser.yml b/.github/workflows/build-hogql-parser.yml index 73ee5b9c7eee87..9dcb9b856b6dab 100644 --- a/.github/workflows/build-hogql-parser.yml +++ b/.github/workflows/build-hogql-parser.yml @@ -16,7 +16,7 @@ jobs: build-wheels: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} - timeout-minutes: 30 + timeout-minutes: 60 strategy: fail-fast: false matrix: @@ -39,7 +39,7 @@ jobs: - name: Build wheels run: cd hogql_parser && python -m cibuildwheel --output-dir wheelhouse env: - MACOSX_DEPLOYMENT_TARGET: '12' + MACOSX_DEPLOYMENT_TARGET: '12' # A modern target allows us to use C++20 - uses: actions/upload-artifact@v3 with: @@ -57,4 +57,5 @@ jobs: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@release/v1 + - name: Publish package to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/hogql_parser/pyproject.toml b/hogql_parser/pyproject.toml index e04c94ee6bc9fb..39652f8b3ee1d2 100644 --- a/hogql_parser/pyproject.toml +++ b/hogql_parser/pyproject.toml @@ -3,9 +3,8 @@ build = [ # Build CPython wheels on Linux and macOS, for x86 as well as ARM "cp3*-macosx_x86_64", "cp3*-macosx_arm64", "cp3*-manylinux_x86_64", - "cp3*-manylinux_aarch64", ] -build-frontend = "build" +build-frontend = "build" # This is successor to building with pip [tool.cibuildwheel.macos] archs = ["x86_64", "arm64"] # We could also build a universal wheel, but separate ones are lighter individually @@ -13,7 +12,7 @@ before-all = ["brew install boost antlr antlr4-cpp-runtime"] [tool.cibuildwheel.linux] before-all = [ - # manylinux_2_28 uses AlmaLinux 8, which uses Fedora's dnf as its package manager + # manylinux_2_28 is based on AlmaLinux 8, which uses Fedora's dnf as its package manager "dnf install -y boost-devel unzip cmake curl uuid pkg-config", "curl https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip --output antlr4-source.zip", "unzip antlr4-source.zip -d antlr4-source && cd antlr4-source", @@ -23,6 +22,6 @@ before-all = [ "cp out/usr/local/lib64/libantlr4-runtime.so* /usr/local/lib", "ldconfig", ] -archs = ["auto", "aarch64"] +archs = ["x86_64", "aarch64"] manylinux-x86_64-image = "manylinux_2_28" manylinux-aarch64-image = "manylinux_2_28"