Bug 1614358 - python3-molecule is missing yamllint as dependency
Summary: python3-molecule is missing yamllint as dependency
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-molecule
Version: 29
Hardware: noarch
OS: Linux
medium
unspecified
Target Milestone: ---
Assignee: Brett Lentz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-09 13:39 UTC by Eric Lavarde
Modified: 2019-11-27 23:20 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-27 23:20:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Eric Lavarde 2018-08-09 13:39:45 UTC
Description of problem:
After installing python3-molecule, calling `molecule test` leads to an error.

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

python3-molecule-2.13.1-1.fc28.noarch

How reproducible:

Always.

Steps to Reproduce:
1. $ molecule init role -r dummy
2. $ cd dummy/
3. $ molecule test

Actual results:

```
--> Action: 'lint'
Traceback (most recent call last):
  File "/usr/bin/molecule", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python3.6/site-packages/click/core.py", line 721, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 1065, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.6/site-packages/click/core.py", line 894, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.6/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3.6/site-packages/molecule/command/test.py", line 115, in test
    base.execute_subcommand(scenario.config, action)
  File "/usr/lib/python3.6/site-packages/molecule/command/base.py", line 99, in execute_subcommand
    return command(config).execute()
  File "/usr/lib/python3.6/site-packages/molecule/command/lint.py", line 62, in execute
    l.execute()
  File "/usr/lib/python3.6/site-packages/molecule/lint/yamllint.py", line 109, in execute
    self.bake()
  File "/usr/lib/python3.6/site-packages/molecule/lint/yamllint.py", line 95, in bake
    self._yamllint_command = sh.yamllint.bake(
  File "/usr/lib/python3.6/site-packages/sh.py", line 3349, in __getattr__
    return self.__env[name]
  File "/usr/lib/python3.6/site-packages/sh.py", line 3226, in __getitem__
    raise CommandNotFound(k)
sh.CommandNotFound: yamllint

```

Expected results:

test is running further

Additional info:

Comment 1 Francisco Robles (froblesmartin) 2019-01-29 13:54:04 UTC
It has a dependency on Python yamllint package, try installing it with:

`pip install --user yamllint`

Comment 2 chedi toueiti 2019-02-10 21:02:41 UTC
There is already a package named yamllint. So can you please add it to the python3-molecule dependencies


Last metadata expiration check: 12:15:57 ago on Sun 10 Feb 2019 09:45:00 AM CET.
Installed Packages
Name         : yamllint
Version      : 1.14.0
Release      : 1.fc29
Arch         : noarch
Size         : 254 k
Source       : yamllint-1.14.0-1.fc29.src.rpm
Repo         : @System
From repo    : updates
Summary      : A linter for YAML files
URL          : https://github.com/adrienverge/yamllint
License      : GPLv3+
Description  : A linter for YAML files.
             : 
             : yamllint does not only check for syntax validity, but for weirdnesses like key
             : repetition and cosmetic problems such as lines length, trailing spaces,
             : indentation, etc.

Comment 3 Eric Lavarde 2019-02-11 07:04:20 UTC
Exactly what the title is saying, but forgotten in the description, thanks for clarifying! Bumping the release to f29.

Comment 4 Fedora Update System 2019-08-31 16:04:45 UTC
FEDORA-2019-9a8505c493 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9a8505c493

Comment 5 Ben Cotton 2019-10-31 18:53:34 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2019-11-27 23:20:32 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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