From 965bcb6b18809802f524de943f541e93417f464c Mon Sep 17 00:00:00 2001 From: Joe Testa Date: Mon, 27 Nov 2023 23:35:40 -0500 Subject: [PATCH] Dropped support for Python 3.7. --- README.md | 3 ++- setup.cfg | 3 +-- tox.ini | 20 ++++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index dfda57c..ddb838f 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ - historical information from OpenSSH, Dropbear SSH and libssh; - policy scans to ensure adherence to a hardened/standard configuration; - runs on Linux and Windows; -- supports Python 3.7 - 3.12; +- supports Python 3.8 - 3.12; - no dependencies ## Usage @@ -183,6 +183,7 @@ For convenience, a web front-end on top of the command-line tool is available at - In server policies, reduced expected DH modulus sizes from 4096 to 3072 to match online hardening guides (note that 3072-bit moduli provide the equivalent of 128-bit symmetric security). - In Ubuntu 22.04 client policy, moved host key types `sk-ssh-ed25519@openssh.com` and `ssh-ed25519` to the end of all certificate types. - Re-organized option host key types for OpenSSH 9.2 server policy to correspond with updated Debian 12 hardening guide. + - Dropped support for Python 3.7 (EOL was reached in June 2023). ### v3.0.0 (2023-09-07) - Results from concurrent scans against multiple hosts are no longer improperly combined; bug discovered by [Adam Russell](https://github.com/thecliguy). diff --git a/setup.cfg b/setup.cfg index 987733e..975b460 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,7 +19,6 @@ classifiers = License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -34,7 +33,7 @@ classifiers = packages = find: package_dir = = src -python_requires = >=3.7,<4 +python_requires = >=3.8,<4 [options.packages.find] where = src diff --git a/tox.ini b/tox.ini index 2df9750..50fccd0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = py{py3}-{test,pylint,flake8,vulture} - py{37,38,39,310,311,312}-{test,mypy,pylint,flake8,vulture} + py{38,39,310,311,312}-{test,mypy,pylint,flake8,vulture} cov skip_missing_interpreters = true @@ -9,11 +9,11 @@ skip_missing_interpreters = true deps = test: pytest test,cov: {[testenv:cov]deps} - test,py{37,38,39,310,311,312}-{type,mypy}: colorama - py{37,38,39,310,311,312}-{type,mypy}: {[testenv:mypy]deps} - py{py3,37,38,39,310,311,312}-{lint,pylint},lint: {[testenv:pylint]deps} - py{py3,37,38,39,310,311,312}-{lint,flake8},lint: {[testenv:flake8]deps} - py{py3,37,38,39,310,311,312}-{lint,vulture},lint: {[testenv:vulture]deps} + test,py{38,39,310,311,312}-{type,mypy}: colorama + py{38,39,310,311,312}-{type,mypy}: {[testenv:mypy]deps} + py{py3,38,39,310,311,312}-{lint,pylint},lint: {[testenv:pylint]deps} + py{py3,38,39,310,311,312}-{lint,flake8},lint: {[testenv:flake8]deps} + py{py3,38,39,310,311,312}-{lint,vulture},lint: {[testenv:vulture]deps} setenv = SSHAUDIT = {toxinidir}/src test: COVERAGE_FILE = {toxinidir}/.coverage.{envname} @@ -25,10 +25,10 @@ commands = test: coverage combine test: coverage report --show-missing test: coverage html -d {toxinidir}/reports/html/coverage.{envname} - py{37,38,39,310,311,312}-{type,mypy}: {[testenv:mypy]commands} - py{py3,37,38,39,310,311,312}-{lint,pylint},lint: {[testenv:pylint]commands} - py{py3,37,38,39,310,311,312}-{lint,flake8},lint: {[testenv:flake8]commands} - py{py3,37,38,39,310,311,312}-{lint,vulture},lint: {[testenv:vulture]commands} + py{38,39,310,311,312}-{type,mypy}: {[testenv:mypy]commands} + py{py3,38,39,310,311,312}-{lint,pylint},lint: {[testenv:pylint]commands} + py{py3,38,39,310,311,312}-{lint,flake8},lint: {[testenv:flake8]commands} + py{py3,38,39,310,311,312}-{lint,vulture},lint: {[testenv:vulture]commands} #ignore_outcome = # type: true # lint: true