Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9056dbc

Browse files
committed
Support Python 3.5 and add explicit python_requires metadata
1 parent 6807b0b commit 9056dbc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

conda.recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ requirements:
2323
- jupyterlab=2.0
2424

2525
run:
26-
- python
26+
- python>=3.5
2727
{% for dep in sdata.get('install_requires',{}) %}
2828
- {{ dep }}
2929
{% endfor %}

jupyter_dash/jupyter_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def run_server(
210210
if JupyterDash.default_server_url:
211211
server_url = JupyterDash.default_server_url.rstrip('/')
212212
else:
213-
server_url = f'http://{host}:{port}'
213+
server_url = 'http://{host}:{port}'.format(host=host, port=port)
214214
else:
215215
server_url = self.server_url.rstrip('/')
216216

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def readme():
134134
"labextension/package.json",
135135
],
136136
},
137+
python_requires=">=3.5",
137138
data_files=[
138139
# like `jupyter nbextension install --sys-prefix`
139140
("share/jupyter/nbextensions/jupyter_dash", [

0 commit comments

Comments
 (0)