diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 254cd98..b1b3993 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,12 @@ jobs: with: submodules: true - - uses: actions/setup-python@v5 - with: - python-version: "3.11" + # - uses: actions/setup-python@v5 + # with: + # python-version: "3.11" + + - name: Install uv + uses: astral-sh/setup-uv@v3 - name: Set up QEMU if: runner.os == 'Linux' @@ -28,11 +31,8 @@ jobs: with: platforms: all - - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.22.0 - - name: Build wheels - run: python -m cibuildwheel --output-dir dist + run: uvx --python 3.12 cibuildwheel==2.22.0 --output-dir dist env: CIBW_BEFORE_BUILD: pip install Cython==3.0.11 && pip install -e . && python build.py CIBW_TEST_REQUIRES: pytest diff --git a/.gitignore b/.gitignore index 9fef7f9..934783a 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ vendor/ build/ dist/ *.egg-info/ + +.venv/ \ No newline at end of file