diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index b531b63..84a5d93 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.11", "3.10", 3.9, 3.8, 3.7, pypy-3.9] + python-version: ["3.11", "3.10", 3.9, 3.8, pypy-3.9] os: ["ubuntu-22.04"] include: - os: "ubuntu-latest" diff --git a/CHANGES.rst b/CHANGES.rst index 971d8ea..c5f6b86 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,8 +6,8 @@ Changelog 2.1.1 (unreleased) ------------------ -- Nothing changed yet. - +- Drop python 3.7 support. + [gforcada] 2.1.0 (2022-12-23) ------------------ diff --git a/README.rst b/README.rst index c3c610e..07787f0 100644 --- a/README.rst +++ b/README.rst @@ -83,7 +83,7 @@ to ignore a custom list of builtins:: Requirements ------------ -- Python 3.7, 3.8, 3.9, 3.10, 3.11, and pypy3 +- Python 3.8, 3.9, 3.10, 3.11, and pypy3 - flake8 License diff --git a/requirements-lint.in b/requirements-lint.in index 23d7b0d..f1303d1 100644 --- a/requirements-lint.in +++ b/requirements-lint.in @@ -12,10 +12,7 @@ flake8-pep3101 flake8-print flake8-quotes flake8-todo -importlib-metadata; python_version < '3.8' isort pytest pytest-cov pyupgrade -typed-ast; python_version < '3.8' # dependency of black -zipp; python_version < '3.8' # dependency of importlib-metadata diff --git a/requirements-lint.txt b/requirements-lint.txt index 3f40261..7fd6c36 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.7 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # pip-compile requirements-lint.in # @@ -66,15 +66,6 @@ gitpython==3.1.29 # via bandit idna==3.4 # via requests -importlib-metadata==4.2.0 ; python_version < "3.8" - # via - # -r requirements-lint.in - # click - # flake8 - # flake8-comprehensions - # pluggy - # pytest - # stevedore iniconfig==1.1.1 # via pytest isort==5.10.1 @@ -128,18 +119,7 @@ tomli==2.0.1 # black # coverage # pytest -typed-ast==1.5.4 ; python_version < "3.8" - # via - # -r requirements-lint.in - # black typing-extensions==4.4.0 - # via - # black - # gitpython - # importlib-metadata + # via black urllib3==1.26.12 # via requests -zipp==3.10.0 ; python_version < "3.8" - # via - # -r requirements-lint.in - # importlib-metadata diff --git a/requirements.in b/requirements.in index 63dfc65..55594fb 100644 --- a/requirements.in +++ b/requirements.in @@ -1,5 +1,4 @@ coveralls flake8 -importlib-metadata; python_version < '3.8' pytest pytest-cov diff --git a/requirements.txt b/requirements.txt index b1a9660..d0a2935 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.7 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # pip-compile requirements.in # @@ -24,12 +24,6 @@ flake8==5.0.4 # via -r requirements.in idna==3.4 # via requests -importlib-metadata==4.2.0 ; python_version < "3.8" - # via - # -r requirements.in - # flake8 - # pluggy - # pytest iniconfig==1.1.1 # via pytest mccabe==0.7.0 @@ -56,9 +50,5 @@ tomli==2.0.1 # via # coverage # pytest -typing-extensions==4.4.0 - # via importlib-metadata urllib3==1.26.12 # via requests -zipp==3.8.1 - # via importlib-metadata diff --git a/setup.py b/setup.py index 28e89e9..42a613a 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ def read_file(filename): 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', @@ -41,7 +40,7 @@ def read_file(filename): 'Topic :: Software Development', 'Topic :: Software Development :: Quality Assurance', ], - python_requires='>=3.7', + python_requires='>=3.8', keywords='pep8 flake8 python', author='Gil Forcada', author_email='gil.gnome@gmail.com',