From ef1d8bf2291f01bab9a10514efb32f7ec94e31ad Mon Sep 17 00:00:00 2001 From: Johnson Sun Date: Fri, 16 Aug 2024 02:09:43 +0800 Subject: [PATCH] Remove temporary `tb-nightly` requirement --- .github/workflows/test-with-tox.yaml | 4 ---- tox.ini | 2 -- 2 files changed, 6 deletions(-) diff --git a/.github/workflows/test-with-tox.yaml b/.github/workflows/test-with-tox.yaml index dc8387c..1e50746 100644 --- a/.github/workflows/test-with-tox.yaml +++ b/.github/workflows/test-with-tox.yaml @@ -40,16 +40,12 @@ jobs: if: matrix.platform == 'ubuntu-22.04' && matrix.python-version == 3.9 run: | pip install pandas tensorflow torch tensorboardX pillow matplotlib soundfile pytest pytest-cov - # For NumPy 2.0 compatibility, see: https://github.com/tensorflow/tensorboard/issues/6869 - pip install tb-nightly pytest --doctest-glob="*.rst" --cov=./ --cov-report xml --ignore="tests/test_summary_reader/test_no_tensorflow.py" - name: Test documentation if: matrix.platform == 'ubuntu-22.04' && matrix.python-version == 3.9 run: | sudo apt-get install -y pandoc pip install -r requirements.txt - # For NumPy 2.0 compatibility, see: https://github.com/tensorflow/tensorboard/issues/6869 - pip install tb-nightly sphinx-build -b html docs docs/_build/html sphinx-build -b doctest docs docs/_build/doctest - name: Upload coverage to Codecov diff --git a/tox.ini b/tox.ini index e223507..10eeb8d 100644 --- a/tox.ini +++ b/tox.ini @@ -16,8 +16,6 @@ deps = commands = # Test tbparse with reduced feature set (without TensorFlow) pip install -e .[testing] - # For NumPy 2.0 compatibility, see: https://github.com/tensorflow/tensorboard/issues/6869 - pip install tb-nightly # May need to clean tox cache if the command below failed. pytest "{toxinidir}/tests/test_summary_reader/test_edge_cases.py" \ "{toxinidir}/tests/test_summary_reader/test_histogram_torch_sample.py" \