Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python version dependency to 3.8 #1514

Merged
merged 3 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sphinx:
build:
os: "ubuntu-20.04"
tools:
python: "3.7"
python: "3.8"
apt_packages:
- iputils-ping
- build-essential
Expand Down
4 changes: 2 additions & 2 deletions bin/buildtest
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ prefix=os.path.dirname(os.path.dirname(buildtest_file))

sys.path.insert(0, prefix)

if sys.version_info[:3] < (3, 7, 0):
sys.exit("buildtest requires Python 3.7.0 or higher.")
if sys.version_info[:3] < (3, 8, 0):
sys.exit("buildtest requires Python 3.8.0 or higher.")

import buildtest.main

Expand Down
10 changes: 5 additions & 5 deletions docs/installing_buildtest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Requirements
You need the following packages to install buildtest.

- `git <https://git-scm.com/downloads>`_
- `Python <https://www.python.org/downloads/>`_ >= 3.7
- `Python <https://www.python.org/downloads/>`_ >= 3.8

Cloning buildtest
------------------
Expand Down Expand Up @@ -37,7 +37,7 @@ If you prefer the latest release, you can clone the **master** branch::
Installing buildtest
-----------------------

buildtest requires a python 3.7 or higher, we recommend you setup a python environment in order
buildtest requires a python 3.8 or higher, we recommend you setup a python environment in order
to install buildtest. You can use `venv <https://docs.python.org/3/library/venv.html>`_, `conda <https://conda.io/>`_,
or `pipenv <https://pipenv.readthedocs.io/en/latest/>`_ to manage your python environment depending on your preference.
Assuming you have cloned buildtest in your HOME directory you will need to follow these instructions to install buildtest.
Expand Down Expand Up @@ -66,15 +66,15 @@ Assuming you have cloned buildtest in your HOME directory you will need to follo

.. code-block:: console

conda create -n buildtest python=3.7
conda create -n buildtest python=3.8
source activate buildtest
source $HOME/buildtest/setup.sh

.. tab-item:: pipenv

.. code-block:: console

pipenv --python 3.7
pipenv --python 3.8
pipenv shell
source $HOME/buildtest/setup.sh

Expand All @@ -92,7 +92,7 @@ Specify Python Wrapper via BUILDTEST_PYTHON
The `buildtest <https://github.com/buildtesters/buildtest/blob/devel/bin/buildtest>`_ program will search for
a python wrapper (`python`, `python3`) to run buildtest, however you can specify an alternate python wrapper by
setting environment variable ``BUILDTEST_PYTHON`` wrapper. This variable will be set during execution of buildtest,
please note the python wrapper must be 3.7 or higher in-order for buildtest to function properly.
please note the python wrapper must be 3.8 or higher in-order for buildtest to function properly.

Development Dependencies (Optional)
------------------------------------
Expand Down