diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index fa0687bc4..9c5f11d80 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -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 }} @@ -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 }} @@ -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: diff --git a/setup.cfg b/setup.cfg index 11795911b..4ed4beb3e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/setup.py b/setup.py index f1df3c6d9..3d1911d58 100644 --- a/setup.py +++ b/setup.py @@ -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 ) diff --git a/tox.ini b/tox.ini index 60dd91d4f..4dcf76dfc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py36,pep8 +envlist = py37,pep8 skipsdist = True [testenv]