diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71cb5fa..f8ecb34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,15 +5,6 @@ on: types: [published] workflow_dispatch: {} jobs: - build-37: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Run release - env: - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - PYTHON_VERSION: "3.7" - run: REF="${{ github.ref }}" ./scripts/release.sh build-38: runs-on: ubuntu-latest steps: @@ -50,3 +41,12 @@ jobs: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} PYTHON_VERSION: "3.11" run: REF="${{ github.ref }}" ./scripts/release.sh + build-312: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run release + env: + PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} + PYTHON_VERSION: "3.12" + run: REF="${{ github.ref }}" ./scripts/release.sh diff --git a/requirements.txt b/requirements.txt index fca3667..b647aa9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # NOTE: protobuf 3.19 is the highest version allowed by tensorflow (currently), # so we explicitly pin the lower bound to allow compatibility with tf -protobuf>=3.19.0,<5 +protobuf>=3.19.0,<6 alchemy-logging>=1.0.3 typing-extensions>=4.5.0,<5; python_version < '3.9' diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 297d6d0..49c71d8 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -20,6 +20,7 @@ else procs_arg="" fi +# Ignore `google.protobuf.service module is deprecated` UserWarning for now FAIL_THRESH=100.0 python3 -m pytest \ $procs_arg \ @@ -28,4 +29,5 @@ python3 -m pytest \ --cov-report=term \ --cov-report=html \ --cov-fail-under=$FAIL_THRESH \ - -W error "$@" + -W error -W ignore::PendingDeprecationWarning \ + -W ignore::UserWarning "$@"