Skip to content

Commit

Permalink
Bump minimum supported Python to 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Feb 2, 2022
1 parent 1819b2f commit 86dce05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10" ]
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
steps:
- uses: actions/checkout@v2

Expand Down
5 changes: 1 addition & 4 deletions entrypoints.py
Expand Up @@ -13,10 +13,7 @@
import warnings
import zipfile

if sys.version_info[0] >= 3:
import configparser
else:
from backports import configparser
import configparser

entry_point_pattern = re.compile(r"""
(?P<modulename>\w+(\.\w+)*)
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Expand Up @@ -10,11 +10,9 @@ home-page = "https://github.com/takluyver/entrypoints"
description-file = "README.rst"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
]
requires-python = ">=2.7"
requires = ["configparser (>=3.5); python_version == '2.7'"]
requires-python = ">=3.6"

[tool.flit.metadata.urls]
Documentation = "https://entrypoints.readthedocs.io/en/latest/"

0 comments on commit 86dce05

Please sign in to comment.