Skip to content

Commit

Permalink
Drop end-of-life Python 3.6 (PyCQA#777)
Browse files Browse the repository at this point in the history
Python 3.6 hit the end-of-life on Dec 23, 2021. As a result,
Bandit should also drop support for it.

Signed-off-by: Eric Brown <[email protected]>
  • Loading branch information
ericwb authored Jan 25, 2022
1 parent 1327cfa commit fb8c32e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 25 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6]
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -43,26 +43,6 @@ jobs:
- name: Run tox
run: tox -e pep8

py36:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install tox
- name: Run tox
run: tox -e py36

py37:
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ classifier =
Operating System :: MacOS :: MacOS X
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Security
project_urls =
Release notes = https://github.com/PyCQA/bandit/releases
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@


setuptools.setup(
python_requires=">=3.5", setup_requires=["pbr>=2.0.0"], pbr=True
python_requires=">=3.7", setup_requires=["pbr>=2.0.0"], pbr=True
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py36,pep8
envlist = py37,pep8
skipsdist = True

[testenv]
Expand Down

0 comments on commit fb8c32e

Please sign in to comment.