Skip to content

Use alternative JinjaSQL branch/build compatible with jinja2>=3.0.#77

Merged
jlrobins merged 4 commits into
mainfrom
ENG-5446-use-alt-jinjasql
Jan 30, 2023
Merged

Use alternative JinjaSQL branch/build compatible with jinja2>=3.0.#77
jlrobins merged 4 commits into
mainfrom
ENG-5446-use-alt-jinjasql

Conversation

@jlrobins
Copy link
Copy Markdown
Contributor

@jlrobins jlrobins commented Jan 27, 2023

Use this alternate fork of JinjaSQL that has been made compat with modern jinja2. Nice person on interweb has already done the work bringing JinjaSQL up to speed with using 3.X series Jinja2 (sic).

See their PR sripathikrishnan/jinjasql#53 trying to get this into main JinjaSQL.

When switching to this, we see happiness and upgraded jinja2 and markupsafe. Should then be compatible with that package the end user is trying to install that wants jinja2>3.0.

Package operations: 3 installs, 0 updates, 0 removals

• Installing markupsafe (2.1.2)
• Installing jinja2 (3.1.2)
• Installing jinjasql (0.1.9 f8c62d1)

The existing sql magic + jinja templating unit tests pass.

@jlrobins jlrobins requested a review from a team January 27, 2023 20:10
James Robinson added 2 commits January 27, 2023 17:02
… poetry install packages directly from github.
…rying to poetry install packages directly from github."

This reverts commit 90661b6.
@jlrobins jlrobins merged commit 98f453e into main Jan 30, 2023
@jlrobins jlrobins deleted the ENG-5446-use-alt-jinjasql branch January 30, 2023 14:57
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.

2 participants