Drop support for end-of-life Python 3.7
* Drop support for end-of-life Python 3.7 * Remove handling of code for Python 3.7 and older
This commit is contained in:
parent
ea77335ecf
commit
b321167304
|
@ -8,7 +8,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.7, 3.12]
|
||||
python-version: [3.8, 3.12]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
#
|
||||
# strategy:
|
||||
# matrix:
|
||||
# python-version: [3.7, 3.12]
|
||||
# python-version: [3.8, 3.12]
|
||||
#
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
|
|
|
@ -14,17 +14,13 @@ from typing import Dict
|
|||
from typing import Iterable
|
||||
from typing import Iterator
|
||||
from typing import List
|
||||
from typing import Literal
|
||||
from typing import Optional
|
||||
from typing import Sequence
|
||||
from typing import TextIO
|
||||
from typing import Tuple
|
||||
from typing import Union
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from typing import Literal
|
||||
else: # pragma: no cover
|
||||
from typing_extensions import Literal
|
||||
|
||||
import hid_parser.data
|
||||
|
||||
__version__ = "0.0.3"
|
||||
|
|
2
setup.py
2
setup.py
|
@ -73,7 +73,7 @@ For instructions on installing Solaar see https://pwr-solaar.github.io/Solaar/in
|
|||
# sudo apt install python-gi python3-gi \
|
||||
# gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-ayatanaappindicator3-0.1
|
||||
# os_requires=['gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'],
|
||||
python_requires=">=3.7",
|
||||
python_requires=">=3.8",
|
||||
install_requires=[
|
||||
'evdev (>= 1.1.2) ; platform_system=="Linux"',
|
||||
"pyudev (>= 0.13)",
|
||||
|
|
Loading…
Reference in New Issue