Skip to content
Myr

drop support for Python 2.7 and 3.5

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 19fdc85 · Browse files · 6 files+43 added−60 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+43 added−60 removed

  • other:+43 added−60 removed

6 files+43 added−60 removed

modified:.azure-pipelines.yml+8 added-15 removed
modified:.pre-commit-config.yaml+2 added-2 removed
modified:CHANGES.rst+1 added
3 unmodified lines
4-----------56Unreleased78- Drop support for Python 2 and 3.5.9- Adds a repr to Command, showing the command name for friendlier10 debugging. :issue:`1267`, :pr:`1295`11- Add support for distinguishing the source of a command line12 parameter. :issue:`1264`, :pr:`1329`
627 unmodified lines
modified:setup.cfg+30 added-4 removed
1[metadata]2name = click3version = attr: click.__version__4url = https://palletsprojects.com/p/click/5project_urls =6 Documentation = https://click.palletsprojects.com/7 Code = https://github.com/pallets/click8 Issue tracker = https://github.com/pallets/click/issues9license = BSD-3-Clause2license_file = LICENSE.rst10license_files = LICENSE.rst11maintainer = Pallets12maintainer_email = contact@palletsprojects.com13description = Composable command line interface toolkit14long_description = file: README.rst15long_description_content_type = text/x-rst16classifiers =17 Development Status :: 5 - Production/Stable18 Intended Audience :: Developers19 License :: OSI Approved :: BSD License20 Operating System :: OS Independent21 Programming Language :: Python224[bdist_wheel]5universal = 123[options]24packages = find:25package_dir = = src26include_package_data = true27python_requires = >= 3.628# Dependencies are in setup.py for GitHub's dependency graph.2930[options.packages.find]31where = src3233[tool:pytest]34testpaths = tests35filterwarnings =36 error3738[coverage:run]13branch = True39branch = true40source =41 src42 tests43
27 unmodified lines
modified:setup.py+1 added-38 removed
1import io2import re34from setuptools import find_packages1from setuptools import setup27with io.open("README.rst", "rt", encoding="utf8") as f:8 readme = f.read()910with io.open("src/click/__init__.py", "rt", encoding="utf8") as f:11 version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)1213setup(14 name="click",15 version=version,16 url="https://palletsprojects.com/p/click/",17 project_urls={18 "Documentation": "https://click.palletsprojects.com/",19 "Code": "https://github.com/pallets/click",20 "Issue tracker": "https://github.com/pallets/click/issues",21 },22 license="BSD-3-Clause",23 maintainer="Pallets",24 maintainer_email="contact@palletsprojects.com",25 description="Composable command line interface toolkit",26 long_description=readme,27 packages=find_packages("src"),28 package_dir={"": "src"},29 include_package_data=True,30 python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",31 classifiers=[32 "Development Status :: 5 - Production/Stable",33 "Intended Audience :: Developers",34 "License :: OSI Approved :: BSD License",35 "Operating System :: OS Independent",36 "Programming Language :: Python",37 "Programming Language :: Python :: 2",38 "Programming Language :: Python :: 3",39 ],40)3setup(name="click")
modified:tox.ini+1 added-1 removed
1[tox]2envlist =3 py{38,37,36,35,27,py3,py}3 py{38,37,36,py3}4 style5 docs6skip_missing_interpreters = true7
14 unmodified lines