Skip to content

Commit

Permalink
Try testing against Python 3.8 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Uri Granta committed Jun 24, 2024
1 parent e4dca43 commit ceeb10a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quality-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 }}

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To install Trieste, run
$ pip install trieste
The library supports Python 3.7 onwards, and uses `semantic versioning <https://semver.org/>`_.
The library supports Python 3.8 onwards, and uses `semantic versioning <https://semver.org/>`_.

Getting help
------------
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ceeb10a

Please sign in to comment.