Skip to content

Commit

Permalink
feat!: end support for python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
b-kamphorst committed Oct 26, 2022
1 parent 1cafa4c commit 129cadb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 1 addition & 4 deletions piplicenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@
from prettytable import NONE as RULE_NONE
PTABLE = False

if sys.version_info < (3, 8):
import importlib_metadata
else:
from importlib import metadata as importlib_metadata
from importlib import metadata as importlib_metadata

open = open # allow monkey patching

Expand Down
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ classifiers =
License :: OSI Approved :: MIT License
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
Expand All @@ -21,15 +20,14 @@ classifiers =
[options]
packages = find:
include_package_data = True
python_requires = ~=3.7
python_requires = ~=3.8
py_modules =
piplicenses
setup_requires =
setuptools >= 40.9.0
pytest-runner
install_requires =
PTable
importlib_metadata; python_version<"3.8"
tests_require =
docutils
pytest-cov
Expand Down

0 comments on commit 129cadb

Please sign in to comment.