diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index e28dd79..11b0dd1 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -42,10 +42,10 @@ jobs: echo "runner.arch=$RUNNER_ARCH" - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -67,14 +67,14 @@ jobs: run: pytest - name: Upload python source package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sdist path: dist/*.tar.gz if-no-files-found: error build_wheels: - name: Build on ${{ matrix.os }} + name: Build on ${{ matrix.os }}, python=${{ matrix.python_version }} needs: - build_sdist runs-on: ${{ matrix.os }} @@ -82,10 +82,11 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "windows-latest", "macos-latest"] + python_version: ["cp39", "cp310", "cp311", "cp312"] steps: - name: Download sdist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sdist path: dist/ @@ -95,8 +96,15 @@ jobs: id: find_sdist_filename run: echo "filename=$(ls dist/*.tar.gz)" >> $GITHUB_OUTPUT + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.17.0 + - name: Build wheels - uses: pypa/cibuildwheel@v2.13.0 env: CIBW_ARCHS_MACOS: universal2 CIBW_ARCHS_WINDOWS: native @@ -104,13 +112,13 @@ jobs: # skip PyPy: Cython only supports CPython # skip musllinux: build takes too long with default os images. CIBW_SKIP: 'pp* *musllinux*' + CIBW_BUILD: '${{ matrix.python_version }}-*' CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: pytest {package}/test - with: - package-dir: ${{ steps.find_sdist_filename.outputs.filename }} + run: python -m cibuildwheel ${{ steps.find_sdist_filename.outputs.filename }} - name: Upload python wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: wheelhouse/*.whl @@ -129,13 +137,13 @@ jobs: steps: - name: Download python sdist artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: sdist path: dist/ - name: Download python wheel artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: wheels path: dist/ diff --git a/CHANGELOG.md b/CHANGELOG.md index cd725e9..b776edc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ This file contains the list of changes made to pymonocypher. +## 4.0.2.1 + +2024 May 8 + +* Upgraded Monocypher from 3.1.3 to 4.0.2. +* Removed incremental SignatureVerify, which was removed from Monocypher. + + ## 3.1.3.2 2023 Jun 7