From faf9da27f3d279458f7307ff255892a7f5f38e31 Mon Sep 17 00:00:00 2001 From: "Peter M. Stahl" Date: Mon, 30 Oct 2023 11:55:43 +0100 Subject: [PATCH] Update Python dependencies --- .github/workflows/python-build.yml | 4 ++++ .github/workflows/python-release.yml | 23 +---------------------- requirements.txt | 4 ++-- 3 files changed, 7 insertions(+), 24 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 883373d..121b925 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -22,6 +22,8 @@ on: paths: - 'Cargo.lock' - 'Cargo.toml' + - 'pyproject.toml' + - 'requirements.txt' - 'src/**' - 'tests/**' - '**.yml' @@ -31,6 +33,8 @@ on: paths: - 'Cargo.lock' - 'Cargo.toml' + - 'pyproject.toml' + - 'requirements.txt' - 'src/**' - 'tests/**' - '**.yml' diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 16e6e5a..839ed1c 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -119,33 +119,12 @@ jobs: name: wheels path: dist - sdist: - name: Source distribution - - runs-on: ubuntu-latest - - steps: - - name: Check out repository - uses: actions/checkout@v4 - - - name: Build source distribution - uses: PyO3/maturin-action@v1 - with: - command: sdist - args: --out dist - - - name: Upload source distribution - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist - release: name: Publish wheels to PyPI runs-on: ubuntu-latest - needs: [linux, windows, macos, sdist] + needs: [linux, windows, macos] steps: - name: Download wheels from previous jobs diff --git a/requirements.txt b/requirements.txt index 9fac072..5b21f2b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -maturin == 1.2.3 -pytest == 7.4.0 +maturin == 1.3.1 +pytest == 7.4.3