diff --git a/.github/workflows/develop-checks.yaml b/.github/workflows/develop-checks.yaml index 9ddda56c1..9ca05668f 100644 --- a/.github/workflows/develop-checks.yaml +++ b/.github/workflows/develop-checks.yaml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - run: pip install tox - run: tox -e tests_old -- --runslow only diff --git a/.github/workflows/quality-checks.yaml b/.github/workflows/quality-checks.yaml index fe6e549c0..361ec161c 100644 --- a/.github/workflows/quality-checks.yaml +++ b/.github/workflows/quality-checks.yaml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - run: pip install tox - run: tox -e types_old @@ -76,7 +76,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - run: pip install tox - run: tox -e tests_old_${{ matrix.part }} diff --git a/.github/workflows/release-checks.yaml b/.github/workflows/release-checks.yaml index 7699138e8..6c968596a 100644 --- a/.github/workflows/release-checks.yaml +++ b/.github/workflows/release-checks.yaml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - run: pip install tox - run: tox -e types_old @@ -74,7 +74,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - run: pip install tox - run: tox -e tests_old_${{ matrix.part }} @@ -94,7 +94,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - run: pip install tox - run: tox -e tests_old -- --runslow only diff --git a/README.md b/README.md index 6ba2639b5..43655aaef 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ query_point, observation, arg_min_idx = result.try_get_optimal_point() ## Installation -Trieste supports Python 3.7+ and TensorFlow 2.5+, and uses [semantic versioning](https://semver.org/). +Trieste supports Python 3.8+ and TensorFlow 2.5+, and uses [semantic versioning](https://semver.org/). ### For users diff --git a/docs/index.rst b/docs/index.rst index ac4e7d0f3..0051345ca 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -44,7 +44,7 @@ To install Trieste, run $ pip install trieste -The library supports Python 3.7 onwards, and uses `semantic versioning `_. +The library supports Python 3.8 onwards, and uses `semantic versioning `_. Getting help ------------ diff --git a/setup.py b/setup.py index 9098c09e5..8f3ac4067 100644 --- a/setup.py +++ b/setup.py @@ -32,11 +32,11 @@ "trieste": ["py.typed", "VERSION"], }, classifiers=[ - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ], - python_requires="~=3.7", + python_requires="~=3.8", install_requires=[ "absl-py", "dill<0.3.6", diff --git a/tox.ini b/tox.ini index d7a753af1..f0c3f9a06 100644 --- a/tox.ini +++ b/tox.ini @@ -82,13 +82,13 @@ commands = quickdocs: pip install -r docs/requirements.txt -c docs/constraints.txt quickdocs: bash -c "cd docs; if (python notebooks/quickrun/quickrun.py && make html); then python notebooks/quickrun/quickrun.py --revert; else python notebooks/quickrun/quickrun.py --revert; exit 1; fi" -# additional tests using python 3.7 and older versions of tensorflow +# additional tests using python 3.8 and older versions of tensorflow [testenv:{types_old,tests_old,tests_old_1,tests_old_2,tests_old_3,tests_old_4}] -basepython = python3.7 +basepython = python3.8 description = - types_old: Check types [Python 3.7] - tests_old: Run tests [Python 3.7, no qhsri] + types_old: Check types [Python 3.8] + tests_old: Run tests [Python 3.8, no qhsri] tests_old_1: Run old tests part 1 tests_old_2: Run old tests part 2 tests_old_3: Run old tests part 3