Skip to content

Commit 3dc6175

Browse files
Update Python versions and TensorFlow installation
1 parent 3f7c2ad commit 3dc6175

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/python-app.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.8", "3.9", "3.10", "3.11"]
18+
python-version: ["3.8", "3.9", "3.10"]
1919
os: [ubuntu-latest, macos-latest, windows-latest]
2020
install-deeplay: ["", "deeplay"]
21-
install-tensorflow: ["", "tensorflow"]
22-
exclude:
23-
- python-version: "3.11"
24-
install-tensorflow: "tensorflow"
2521
if:
2622
steps:
2723
- uses: actions/checkout@v3
@@ -38,10 +34,6 @@ jobs:
3834
if: ${{ matrix.install-deeplay == 'deeplay' }}
3935
run: |
4036
python -m pip install deeplay
41-
- name: Install tensorflow
42-
if: ${{ matrix.install-tensorflow == 'tensorflow' }}
43-
run: |
44-
python -m pip install tensorflow==2.10 tensorflow-probability
4537
- name: Lint with flake8
4638
run: |
4739
# stop the build if there are Python syntax errors or undefined names

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ tqdm
1212
lazy_import
1313
rich
1414
gdown
15-
tensorflow
15+
tensorflow<=2.10
1616
tensorflow-probability
1717
tensorflow-datasets

0 commit comments

Comments
 (0)