Skip to content

Commit bc361ef

Browse files
Merge pull request #3131 from jasongrout/py36
Drop python 3.5 support
2 parents f7abdc9 + 069b6eb commit bc361ef

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
max-parallel: 4
100100
matrix:
101-
python-version: [3.5, 3.6, 3.7, 3.8]
101+
python-version: [3.6, 3.7, 3.8, 3.9]
102102

103103
steps:
104104
- uses: actions/checkout@v2
@@ -128,7 +128,7 @@ jobs:
128128
- name: Set up Python
129129
uses: actions/setup-python@v1
130130
with:
131-
python-version: 3.5
131+
python-version: 3.6
132132
- uses: actions/cache@v1
133133
with:
134134
path: ~/.cache/pip

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,18 @@
7878
'License :: OSI Approved :: BSD License',
7979
'Programming Language :: Python',
8080
'Programming Language :: Python :: 3',
81-
'Programming Language :: Python :: 3.5',
8281
'Programming Language :: Python :: 3.6',
8382
'Programming Language :: Python :: 3.7',
83+
'Programming Language :: Python :: 3.8',
84+
'Programming Language :: Python :: 3.9',
8485
'Programming Language :: Python :: 3 :: Only',
8586
'Framework :: Jupyter'
8687
],
8788
cmdclass = {
8889
'build_py': build_py,
8990
'sdist': sdist,
9091
},
91-
python_requires = '>=3.5',
92+
python_requires = '>=3.6',
9293
)
9394

9495
if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
@@ -107,10 +108,10 @@
107108
# interpreter, to allow ipywidgets to be
108109
# installed on bare kernels.
109110
'widgetsnbextension~=4.0a0',
111+
'jupyterlab_widgets~=2.0a0'
110112
]
111113

112114
extras_require = setuptools_args['extras_require'] = {
113-
':python_version>="3.6"': ['jupyterlab_widgets~=2.0a0'],
114115
'test': ['pytest>=3.6.0', 'pytest-cov'],
115116
}
116117

widgetsnbextension/setup.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@
3434

3535
import sys
3636

37-
v = sys.version_info
38-
if v[:2] < (3, 5):
39-
error = "ERROR: %s requires Python version 3.5 or above." % name
40-
print(error, file=sys.stderr)
41-
sys.exit(1)
42-
4337
#-----------------------------------------------------------------------------
4438
# get on with it
4539
#-----------------------------------------------------------------------------
@@ -204,6 +198,7 @@ def run(self):
204198
],
205199
zip_safe=False,
206200
include_package_data = True,
201+
python_requires = '>=3.6'
207202
)
208203

209204
if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):

0 commit comments

Comments
 (0)