Skip to content

Commit

Permalink
Trac #33983: sage_setup: Add missing dependency
Browse files Browse the repository at this point in the history
This is blocking the creation of sdists for PyPI

https://github.com/sagemath/sage/runs/6849918030?check_suite_focus=true
{{{
 File "/home/runner/work/sage/sage/local/var/lib/sage/venv-
python3.8/lib/python3.8/site-
packages/sage_setup/autogen/interpreters/utils.py", line 19, in <module>
    from jinja2 import Environment
ModuleNotFoundError: No module named 'jinja2'
}}}

URL: https://trac.sagemath.org/33983
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe
Reviewer(s): François Bissey
  • Loading branch information
Release Manager committed Jun 12, 2022
2 parents 6edac51 + 1176758 commit b36c11c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/sage_setup/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) cython pkgconfig $(SAGE_ROOT)/pkgs/sage-setup/sage_setup/autogen/interpreters/specs/*.py $(SAGE_ROOT)/pkgs/sage-setup/sage_setup/command/*.py | $(PYTHON_TOOLCHAIN)
$(PYTHON) cython pkgconfig jinja2 $(SAGE_ROOT)/pkgs/sage-setup/sage_setup/autogen/interpreters/specs/*.py $(SAGE_ROOT)/pkgs/sage-setup/sage_setup/command/*.py | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions pkgs/sage-setup/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Cython
pkgconfig
jinja2
1 change: 1 addition & 0 deletions pkgs/sage-setup/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ python_requires = >=3.8, <3.11

install_requires =
pkgconfig
jinja2

0 comments on commit b36c11c

Please sign in to comment.