Bug 2104314 - Python3 jinja2-cli < 0.8.0 incompatible with PyYaml >= 0.6.0
Summary: Python3 jinja2-cli < 0.8.0 incompatible with PyYaml >= 0.6.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jinja2-cli
Version: 36
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Julien Enselme
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-06 00:05 UTC by Peter Portante
Modified: 2022-07-15 01:16 UTC (History)
1 user (show)

Fixed In Version: python-jinja2-cli-0.8.2-2.fc36
Clone Of:
Environment:
Last Closed: 2022-07-15 01:16:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Portante 2022-07-06 00:05:56 UTC
Description of problem:

Python3 jinja2-cli < 0.8.0 incompatible with PyYaml >= 0.6.0


Version-Release number of selected component (if applicable):

$ sudo dnf list \*pyyaml\* \*jinja2\*
Last metadata expiration check: 2:08:11 ago on Tue 05 Jul 2022 05:53:15 PM EDT.
Installed Packages
python3-jinja2-cli.noarch   0.7.0-11.fc36   @fedora
python3-pyyaml.x86_64       6.0-3.fc36      @fedora


How reproducible:

Each time.


Steps to Reproduce:

1. dnf install python3-jinja2-cli
2. jinja2 <template> <data file>


Actual results:

$ jinja2 template.j2 data.yml
Traceback (most recent call last):
  File "/usr/bin/jinja2", line 33, in <module>
    sys.exit(load_entry_point('jinja2-cli==0.7.0', 'console_scripts', 'jinja2')())
  File "/usr/lib/python3.10/site-packages/jinja2cli/cli.py", line 424, in main
    sys.exit(cli(opts, args))
  File "/usr/lib/python3.10/site-packages/jinja2cli/cli.py", line 279, in cli
    data = fn(data) or {}
TypeError: load() missing 1 required positional argument: 'Loader'


Expected results:

python3-pyyaml and python3-jinja2-cli work together.


Additional info:

See https://bytemeta.vip/repo/mattrobenolt/jinja2-cli/issues/97

Comment 1 Fedora Update System 2022-07-06 09:49:55 UTC
FEDORA-2022-b494cbb073 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-b494cbb073

Comment 2 Fedora Update System 2022-07-07 01:36:06 UTC
FEDORA-2022-b494cbb073 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-b494cbb073`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-b494cbb073

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-07-15 01:16:19 UTC
FEDORA-2022-b494cbb073 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.