Skip to content

Commit

Permalink
Remove obsolete reference to ensure_python
Browse files Browse the repository at this point in the history
jupyter_packaging deprecates ensure_python and recommends using python_requres.
We already use python_requires, so there is no need to also use ensure_python.
Apparently, there are problems on Python 3.10.

Fixes jupyter-widgets#3364
  • Loading branch information
jasongrout committed Feb 8, 2022
1 parent 02e8963 commit 99971da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jupyterlab_widgets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from jupyter_packaging import (
create_cmdclass, install_npm, ensure_targets,
combine_commands, ensure_python, get_version,
combine_commands, get_version,
)
import setuptools

Expand All @@ -14,9 +14,6 @@
# The name of the project
name = "jupyterlab_widgets"

# Ensure a valid python version
ensure_python(">=3.6")

# Get our version
version = get_version(os.path.join(name, "_version.py"))

Expand Down

0 comments on commit 99971da

Please sign in to comment.