Skip to content

Commit 1038962

Browse files
committed
Add support for Python 3.10 and 3.11, drop EOL 3.6
1 parent 4eea54a commit 1038962

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

livereload/server.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@
2929

3030
import sys
3131

32-
if sys.version_info >= (3, 7):
33-
import errno
34-
else:
35-
from os import errno
32+
import errno
3633

3734
if sys.version_info >= (3, 8) and sys.platform == 'win32':
3835
import asyncio

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def version():
3636
],
3737
license='BSD',
3838
include_package_data=True,
39-
python_requires='>=3.6',
39+
python_requires='>=3.7',
4040
classifiers=[
4141
'Development Status :: 4 - Beta',
4242
'Environment :: Console',
@@ -48,10 +48,11 @@ def version():
4848
'Operating System :: POSIX :: Linux',
4949
'Programming Language :: Python',
5050
'Programming Language :: Python :: 3',
51-
'Programming Language :: Python :: 3.6',
5251
'Programming Language :: Python :: 3.7',
5352
'Programming Language :: Python :: 3.8',
5453
'Programming Language :: Python :: 3.9',
54+
'Programming Language :: Python :: 3.10',
55+
'Programming Language :: Python :: 3.11',
5556
'Programming Language :: Python :: 3 :: Only',
5657
'Programming Language :: Python :: Implementation :: CPython',
5758
'Programming Language :: Python :: Implementation :: PyPy',

0 commit comments

Comments
 (0)