Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836336 - app-text/pelican-4.5.3 with >=dev-python/jinja-3.1.0 gives ImportError: cannot import name 'Markup' from 'jinja2'
Summary: app-text/pelican-4.5.3 with >=dev-python/jinja-3.1.0 gives ImportError: canno...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL: https://jinja.palletsprojects.com/en/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 22:18 UTC by Sebastian Pipping
Modified: 2022-03-29 08:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2022-03-28 22:18:04 UTC
app-text/pelican-4.5.3 does not work with recent dev-python/jinja-3.1.0 ..

  $ pelican -o . -s pelicanconf.py content
  Traceback (most recent call last):
  [..]
    File "/usr/lib/python3.8/site-packages/pelican/utils.py", line 21, in <module>
      from jinja2 import Markup
  ImportError: cannot import name 'Markup' from 'jinja2' (/usr/lib/python3.8/site-packages/jinja2/__init__.py)

Not that jinja upstream officially "dislikes" SemVer, see https://github.com/pallets/jinja/issues/1632#issuecomment-1077858633 .
Comment 1 Larry the Git Cow gentoo-dev 2022-03-29 08:13:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c233a7e833165d0cf86479d51c894ce8c58a32dd

commit c233a7e833165d0cf86479d51c894ce8c58a32dd
Author:     Dirkjan Ochtman <djc@gentoo.org>
AuthorDate: 2022-03-29 08:13:26 +0000
Commit:     Dirkjan Ochtman <djc@gentoo.org>
CommitDate: 2022-03-29 08:13:26 +0000

    app-text/pelican: version bump to 4.7.2
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=836337
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=836336
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>

 app-text/pelican/Manifest             |  1 +
 app-text/pelican/pelican-4.7.2.ebuild | 50 +++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)