Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 3 additions & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 "$@"
Loading