Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Avoid jinja2 v3 until nbconvert handles breakages #823

Merged
merged 3 commits into from Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools >= 30.3.0", "wheel"]
requires = ["setuptools >= 30.3.0, != 61.0.0", "wheel"]
2 changes: 2 additions & 0 deletions setup.cfg
Expand Up @@ -60,6 +60,8 @@ ci_tests =
pytest-xdist
tutorial =
nbconvert
jinja2 <3 # Required until nbconvert handles all deprecations/removals
markupsafe <2.1 # Required until we can upgrade jinja2
jupyter_client
ipykernel
dev =
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -6,7 +6,7 @@
# Give setuptools a hint to complain if it's too old a version
# 30.3.0 allows us to put most metadata in setup.cfg
# Should match pyproject.toml
SETUP_REQUIRES = ['setuptools >= 30.3.0']
SETUP_REQUIRES = ['setuptools >= 30.3.0, != 61.0.0']
# This enables setuptools to install wheel on-the-fly
SETUP_REQUIRES += ['wheel'] if 'bdist_wheel' in sys.argv else []

Expand Down
2 changes: 1 addition & 1 deletion tools/ci/env.sh
@@ -1,4 +1,4 @@
SETUP_REQUIRES="pip setuptools>=30.3.0 wheel"
SETUP_REQUIRES="pip setuptools>=30.3.0,!=61.0.0 wheel"

# Numpy and scipy upload nightly/weekly/intermittent wheels
NIGHTLY_WHEELS="https://pypi.anaconda.org/scipy-wheels-nightly/simple"
Expand Down