Skip to content

Commit 2c643c2

Browse files
committed
Enable Python 3.9 & 3.10 tests
1 parent 4ed3585 commit 2c643c2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.7, 3.8]
10+
python-version: ["3.8", "3.9", "3.10"]
1111

1212
steps:
1313
- uses: actions/checkout@v2

requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
tensorflow
2-
keras
1+
tensorflow<2.12.0
2+
keras<2.12.0
3+
protobuf<3.20,>=3.9.2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
author="Oleg Smirnov",
1111
author_email="[email protected]",
1212
packages=find_packages(),
13-
install_requires=["tensorflow", "keras"],
13+
install_requires=["tensorflow<2.12.0", "keras<2.12.0", "protobuf<3.20,>=3.9.2"],
1414
python_requires=">=3.6.0",
1515
url="https://github.com/master/tensorflow-riemopt",
1616
zip_safe=True,

0 commit comments

Comments
 (0)