Skip to content

Commit

Permalink
Warn about future python support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Gillies committed Oct 19, 2020
1 parent 5ecd322 commit 10ee7bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cligj/__init__.py
Expand Up @@ -4,7 +4,7 @@
ecosystem.
"""

from functools import partial
import sys
from warnings import warn

import click
Expand All @@ -13,7 +13,9 @@

__version__ = "0.7dev"

# Arguments.
if sys.version_info < (3, 7):
warn("cligj 1.0.0 will require Python >= 3.7", FutureWarning)


# Multiple input files.
files_in_arg = click.argument(
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -26,6 +26,7 @@
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
install_requires=["click >= 4.0, < 8"],
extras_require={"test": ["pytest-cov"],},
)

0 comments on commit 10ee7bb

Please sign in to comment.