Skip to content

Commit 997a835

Browse files
authored
Unpin click and Jinja2 (geopython#1236)
* test unpinning click and Jinja2 * test
1 parent 8f54a0d commit 997a835

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

pygeoapi/util.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,8 @@ def render_j2_template(config: dict, template: Path,
412412
LOGGER.debug(f'using default templates: {TEMPLATES}')
413413

414414
env = Environment(loader=FileSystemLoader(template_paths),
415-
extensions=['jinja2.ext.i18n',
416-
'jinja2.ext.autoescape'],
417-
autoescape=select_autoescape(['html', 'xml']))
415+
extensions=['jinja2.ext.i18n'],
416+
autoescape=select_autoescape())
418417

419418
env.filters['to_json'] = to_json
420419
env.filters['format_datetime'] = format_datetime

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Babel
2-
click>7,<=8
2+
click
33
Flask
4-
jinja2==3.0.3
4+
jinja2
55
jsonschema
66
pydantic
77
pygeofilter
@@ -15,4 +15,4 @@ requests
1515
shapely<2.0
1616
SQLAlchemy<2.0.0
1717
tinydb
18-
unicodecsv
18+
unicodecsv

0 commit comments

Comments
 (0)