Skip to content

Commit 984efea

Browse files
committed
Drop support for Click 6 and 7
1 parent f8cc9cf commit 984efea

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
- 'pypy-3.9'
3131
- 'pypy-3.10'
3232
toxenv:
33-
- py-click6
34-
- py-click7
3533
- py-click8
3634
include:
3735
- python-version: '3.7'

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ v0.5.0 (in development)
22
-----------------------
33
- Support Python 3.10, 3.11, and 3.12
44
- Drop support for Python 3.6
5+
- Require Click >= 8.0
56

67
v0.4.0.post1 (2021-06-05)
78
-------------------------

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,16 @@ the ``logging`` log level names (``CRITICAL``, ``ERROR``, ``WARNING``,
3333
into their corresponding numeric values. It also accepts integer values and
3434
leaves them as-is. Custom log levels are also supported.
3535

36-
Starting in version 0.4.0, if you're using this package with Click 8, shell
37-
completion of log level names (both built-in and custom) is also supported.
36+
Starting in version 0.4.0, shell completion of log level names (both built-in
37+
and custom) is also supported.
3838

3939
.. _Click: https://palletsprojects.com/p/click/
4040

4141

4242
Installation
4343
============
4444
``click-loglevel`` requires Python 3.7 or higher. Just use `pip
45-
<https://pip.pypa.io>`_ for Python 3 (You have pip, right?) to install
46-
``click-loglevel`` and its dependencies::
45+
<https://pip.pypa.io>`_ for Python 3 (You have pip, right?) to install it::
4746

4847
python3 -m pip install click-loglevel
4948

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ package_dir =
4646
include_package_data = True
4747
python_requires = >=3.7
4848
install_requires =
49-
click >= 6.0
49+
click >= 8.0

src/click_loglevel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
into their corresponding numeric values. It also accepts integer values and
99
leaves them as-is. Custom log levels are also supported.
1010
11-
Starting in version 0.4.0, if you're using this package with Click 8, shell
12-
completion of log level names (both built-in and custom) is also supported.
11+
Starting in version 0.4.0, shell completion of log level names (both built-in
12+
and custom) is also supported.
1313
1414
.. _Click: https://palletsprojects.com/p/click/
1515

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
[tox]
2-
envlist = lint,py{36,37,38,39,310,311,312,py3}-click{6,7,8}
2+
envlist = lint,py{36,37,38,39,310,311,312,py3}-click8
33
skip_missing_interpreters = True
44
isolated_build = True
55
minversion = 3.3.0
66

77
[testenv]
88
deps =
9-
click6: click~=6.0
10-
click7: click~=7.0
119
click8: click~=8.0
1210
pytest
1311
pytest-cov

0 commit comments

Comments
 (0)