Skip to content

Conversation

@craigds
Copy link
Contributor

@craigds craigds commented Oct 6, 2024

Overview

Fixes an error importing pycsw

Assuming you install the requirements from requirements-standalone.txt this was already implicitly pulled in, but this PR makes the dependency explicit

Related Issue / Discussion

Fixes #1030

Additional Information

Contributions and Licensing

(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I have already previously agreed to the pycsw Contributions and Licensing Guidelines

This was implicitly pulled in by Flask previously, but is actually
required directly by pycsw so it should be explicitly mentioned in
requirements
@craigds craigds force-pushed the fix-jinja2-import branch from 1e9acc5 to a8cc0f0 Compare October 6, 2024 22:03
@craigds craigds changed the title Add missing jinja2 dependency causing ModuleNotFoundError Explicitly add jinja2 dependency Oct 6, 2024
@craigds
Copy link
Contributor Author

craigds commented Jun 2, 2025

can someone with merge rights hit the merge button please?

@kalxas
Copy link
Member

kalxas commented Aug 3, 2025

I would avoid adding dependencies if not directly needed.

@pvgenuchten
Copy link
Contributor

Why is it not needed @kalxas? In case pycsw is used without html output support?

@craigds
Copy link
Contributor Author

craigds commented Sep 21, 2025

pycsw literally imports this library, thus the dependency is clearly needed.

Can someone please hit the merge button, it's crazy that this is just sitting around for almost a year

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undeclared Jinja2 dependency

3 participants