Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update test script for protobuf 4 (fixes #698) #704

Merged
merged 2 commits into from
Jul 9, 2023
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python-version: 3.9
- name: Run examples
run: |
pip install six tensorboard pytest matplotlib torchvision protobuf==4.22.3 moviepy==1.0.3 imageio==2.27
pip install six tensorboard pytest matplotlib torchvision protobuf==4.22.3 moviepy==1.0.3 imageio==2.27 pillow==9.5.0
python examples/demo.py
python examples/demo_graph.py
python examples/demo_embedding.py
Expand Down
2 changes: 1 addition & 1 deletion run_pytest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ if [ `ps -ef|grep visdom |wc -l` = "1" ]
trap "kill -SIGTERM $!" EXIT
fi

PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python pytest
pytest
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def run(self):
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
cmdclass={
'develop': PostDevelopCommand,
Expand Down
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ flake8
pytest
torch
torchvision
protobuf==3.20.3
protobuf==4.22.3
numpy
tensorboard
boto3
Expand All @@ -12,4 +12,5 @@ soundfile
visdom
onnx
pytest-cov
imageio==2.27