Skip to content

Commit

Permalink
Setup: deprecate python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Oct 17, 2023
1 parent 9a5efef commit 97efd12
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/end_to_end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples_pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']
jit_status: ['jit_disabled', 'jit_enabled']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/finn_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest']

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_github_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'jit_disabled',])])

# Data shared betwen Nox sessions and Github Actions, formatted as tuples
PYTHON_VERSIONS = ('3.7', '3.8')
PYTHON_VERSIONS = ('3.8', '3.9')

PYTORCH_VERSIONS = ('1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0')
JIT_STATUSES = ('jit_disabled', 'jit_enabled')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ort_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:


matrix:
python_version: ['3.7', '3.8']
python_version: ['3.8', '3.9']
pytorch_version: ['1.9.1', '1.10.1', '1.11.0', '1.12.1', '1.13.0']
platform: ['windows-latest', 'ubuntu-latest', 'macos-latest']
jit_status: ['jit_disabled', 'jit_enabled']
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you like this project please consider ⭐ this repo, as it is the simplest an

## Requirements

* Python >= 3.7 .
* Python >= 3.8 .
* [Pytorch](https://pytorch.org) >= 1.9.1, <= 1.13.1 (PyTorch 2.0+ is currently untested).
* Windows, Linux or macOS.
* GPU training-time acceleration (*Optional* but recommended).
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/onnx_export.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"\n",
"## Requirements\n",
"\n",
"Brevitas requires Python 3.7+ and PyTorch 1.9.1+ and can be installed from PyPI with `pip install brevitas`. \n",
"Brevitas requires Python 3.8+ and PyTorch 1.9.1+ and can be installed from PyPI with `pip install brevitas`. \n",
"\n",
"For this notebook, you will also need to install `onnx`, `onnxruntime`, `onnxoptimizer` and `netron` (for visualization of ONNX models).\n",
"For this tutorial, PyTorch 1.8.1+ is required."
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/tvmcon2021.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Brevitas requires Python 3.7+ and PyTorch 1.5.0+ and can be installed from PyPI with `pip install brevitas`. This notebook was originally released for Brevitas 0.7.1.\n",
"Brevitas requires Python 3.8+ and PyTorch 1.5.0+ and can be installed from PyPI with `pip install brevitas`. This notebook was originally released for Brevitas 0.7.1.\n",
"It has since been updated to run with Brevitas 0.8 and PyTorch 1.9.0 and is going to be available at `https://github.com/Xilinx/brevitas/tree/master/notebooks`."
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/Brevitas_TVMCon2021.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Brevitas requires Python 3.7+ and PyTorch 1.5.0+ and can be installed from PyPI with `pip install brevitas`. This notebook was originally released for Brevitas 0.7.1.\n",
"Brevitas requires Python 3.8+ and PyTorch 1.5.0+ and can be installed from PyPI with `pip install brevitas`. This notebook was originally released for Brevitas 0.7.1.\n",
"It has since been updated to run with Brevitas 0.8 and PyTorch 1.9.0 and is going to be available at `https://github.com/Xilinx/brevitas/tree/master/notebooks`."
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/ONNX_export_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"\n",
"## Requirements\n",
"\n",
"Brevitas requires Python 3.7+ and PyTorch 1.9.1+ and can be installed from PyPI with `pip install brevitas`. \n",
"Brevitas requires Python 3.8+ and PyTorch 1.9.1+ and can be installed from PyPI with `pip install brevitas`. \n",
"\n",
"For this notebook, you will also need to install `onnx`, `onnxruntime`, `onnxoptimizer` and `netron` (for visualization of ONNX models).\n",
"For this tutorial, PyTorch 1.8.1+ is required."
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def read_requirements(filename):
author="Alessandro Pappalardo",
author_email="[email protected]",
url="https://github.com/Xilinx/brevitas",
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=read_requirements('requirements.txt'),
extras_require={
"notebook": read_requirements('requirements-notebook.txt'),
Expand Down

0 comments on commit 97efd12

Please sign in to comment.