From e2566a975af3cab604e8aa2494a266ff131086b4 Mon Sep 17 00:00:00 2001 From: Shahzeb Siddiqui Date: Mon, 3 Jul 2023 16:38:29 -0400 Subject: [PATCH 1/3] bump version of python to 3.8.0 --- bin/buildtest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/buildtest b/bin/buildtest index acda17c17..f977ede86 100755 --- a/bin/buildtest +++ b/bin/buildtest @@ -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 From e7ea14de7ef2f1135151bc9eb97eb66377de1088 Mon Sep 17 00:00:00 2001 From: Shahzeb Siddiqui Date: Mon, 3 Jul 2023 16:39:51 -0400 Subject: [PATCH 2/3] update version of python to 3.8 --- docs/installing_buildtest.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/installing_buildtest.rst b/docs/installing_buildtest.rst index 9deafc8ef..293d83476 100644 --- a/docs/installing_buildtest.rst +++ b/docs/installing_buildtest.rst @@ -9,7 +9,7 @@ Requirements You need the following packages to install buildtest. - `git `_ -- `Python `_ >= 3.7 +- `Python `_ >= 3.8 Cloning buildtest ------------------ @@ -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 `_, `conda `_, or `pipenv `_ 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. @@ -66,7 +66,7 @@ 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 @@ -74,7 +74,7 @@ Assuming you have cloned buildtest in your HOME directory you will need to follo .. code-block:: console - pipenv --python 3.7 + pipenv --python 3.8 pipenv shell source $HOME/buildtest/setup.sh @@ -92,7 +92,7 @@ Specify Python Wrapper via BUILDTEST_PYTHON The `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) ------------------------------------ From a0c3df9bdc49b6e85b018b0437b404102b5481b3 Mon Sep 17 00:00:00 2001 From: Shahzeb Siddiqui Date: Wed, 5 Jul 2023 15:05:39 -0400 Subject: [PATCH 3/3] increment version of python to 3.8 in .readthedocs.yaml so we can satisfy the minimum python version dependency when building the documentation --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b00a82265..ad5c4e9ad 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,7 +10,7 @@ sphinx: build: os: "ubuntu-20.04" tools: - python: "3.7" + python: "3.8" apt_packages: - iputils-ping - build-essential