diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 34d4b80..b947cfb 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,14 +12,14 @@ jobs: strategy: fail-fast: true matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.9", "pypy-3.10"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: lfs: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -28,4 +28,4 @@ jobs: python -m pip install -e . - name: Test with pytest run: | - pytest + python -m pytest diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 74dbaac..79cf27f 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,29 +15,29 @@ jobs: steps: # Check out repository using git-lfs - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: lfs: true # Python used to run cibuildwheel - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install cibuildwheel - run: python -m pip install --upgrade wheel setuptools pip cibuildwheel==2.11.1 + run: python -m pip install --upgrade pip wheel setuptools cibuildwheel - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse # Options (https://cibuildwheel.readthedocs.io/en/stable/options/) env: - CIBW_SKIP: cp36-* *musllinux* - # CIBW_BEFORE_BUILD_MACOS: python3 -m pip install --upgrade setuptools wheel cffi + CIBW_SKIP: cp36-* cp37-* cp38-* *pp37-* pp38-* *musllinux* + CIBW_BEFORE_BUILD_MACOS: python3 -m pip install --upgrade setuptools wheel cffi CIBW_ARCHS_MACOS: "x86_64 arm64" CIBW_ARCHS_WINDOWS: "AMD64" CIBW_ARCHS_LINUX: "x86_64" CIBW_BUILD_FRONTEND: "build" - # CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7" + # CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9" - uses: actions/upload-artifact@v3 with: