Bug 1384253 - Please update ansible-inventory-grapher to v2.3.0
Summary: Please update ansible-inventory-grapher to v2.3.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ansible-inventory-grapher
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 23:36 UTC by Will Thames
Modified: 2016-11-10 06:19 UTC (History)
1 user (show)

Fixed In Version: ansible-inventory-grapher-2.3.2-1.el7
Clone Of:
Environment:
Last Closed: 2016-11-10 06:19:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Will Thames 2016-10-12 23:36:17 UTC
Description of problem:
ansible-inventory-grapher in EPEL is currently 1.0.1 and 2.3.0 is available

The most noteworthy change is that ansible-inventory-grapher 2+ is compatible with ansible 2

Let me know if there's anything I need to do to ensure that future releases of ansible-inventory-grapher also get updated in EPEL

Comment 1 Parag Nemade 2016-10-13 05:48:42 UTC
Thanks for reminding, I forgot why 2.1.0 updated failed to build for epel7 and then did not update it to 2.3.1 version.

I tried the existing spec file again with 2.3.1 and found the same error 
+ /usr/bin/python2 setup.py test
running test
running egg_info
writing requirements to ansible_inventory_grapher.egg-info/requires.txt
writing ansible_inventory_grapher.egg-info/PKG-INFO
writing top-level names to ansible_inventory_grapher.egg-info/top_level.txt
writing dependency_links to ansible_inventory_grapher.egg-info/dependency_links.txt
reading manifest file 'ansible_inventory_grapher.egg-info/SOURCES.txt'
writing manifest file 'ansible_inventory_grapher.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 24, in <module>
    test_suite="test",
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 138, in run
    self.with_project_on_sys_path(self.run_tests)
  File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 118, in with_project_on_sys_path
    func()
  File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 164, in run_tests
    testLoader = cks
  File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs
    self.createTests()
  File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests
    self.module)
  File "/usr/lib64/python2.7/unittest/loader.py", line 128, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib64/python2.7/unittest/loader.py", line 103, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 35, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib64/python2.7/unittest/loader.py", line 100, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_support'


I have added workaround for this now by disabling running test in %check and built new build => http://koji.fedoraproject.org/koji/taskinfo?taskID=16072238

Please provide karma => https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-03aae75de0

I used to get new bug reported whenever upstream releases on github new tarball so I used to update in Fedora. I will make sure I will apply same update to epel7 branch as well.

Thank you for this bug.

Comment 2 Will Thames 2016-10-13 06:11:09 UTC
I've fixed the test bug that prevents your tests succeeding and released 2.3.2
as a result.

Is there an easy way to track when I should be testing new releases and providing karma?

Comment 3 Parag Nemade 2016-10-13 06:35:38 UTC
Generally if someone is interested in some package's bugs or what is being committed to any package in git then just watch that package. 

Login to https://admin.fedoraproject.org/pkgdb
go to https://admin.fedoraproject.org/pkgdb/package/rpms/ansible-inventory-grapher/

At the bottom you will find buttons "watchbugzilla" so whatever will happen in bugzilla for this component you will get email notification.

"watchcommits" button will email you whenever package git is updated with any changes.

I will build new update 2.3.2 and submit in bodhi.

Comment 4 Parag Nemade 2016-10-13 07:52:09 UTC
Thank you very much Will for your quick response.

somehow there are few issues going on with bodhi hence new update submission is not getting added as comment in the bugzilla.

Here is new update https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a271ff1cb5

Comment 5 Fedora Update System 2016-10-21 16:51:49 UTC
ansible-inventory-grapher-2.3.2-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a271ff1cb5

Comment 6 Fedora Update System 2016-11-10 06:19:17 UTC
ansible-inventory-grapher-2.3.2-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, 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.