Bug 1398026 - Please build for EPEL 6
Summary: Please build for EPEL 6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-catchlog
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Denis Fateyev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 22:09 UTC by Adam Williamson
Modified: 2016-12-27 07:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-27 07:02:24 UTC
Type: Bug


Attachments (Terms of Use)

Description Adam Williamson 2016-11-23 22:09:33 UTC
Could you please build for EPEL 6 as well as EPEL 7? I'm using this for the tests for fedfind now, but I build fedfind on EPEL 6 and now I can't really run the tests there because this isn't available. Thanks!

Comment 1 Denis Fateyev 2016-12-26 19:50:03 UTC
Looks like it requires newer version of pytest than presented in EPEL 6:

+ py.test-2.6 -v test_pytest_catchlog.py
Traceback (most recent call last):
  File "/usr/bin/py.test-2.6", line 9, in <module>
    load_entry_point('pytest==2.3.5', 'console_scripts', 'py.test-2.6')()
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 492, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 482, in _prepareconfig
    pluginmanager=_pluginmanager, args=args)
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 441, in __call__
    return self._docall(methods, kwargs)
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 452, in _docall
    res = mc.execute()
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 370, in execute
    res = method(**kwargs)
  File "/usr/lib/python2.6/site-packages/_pytest/helpconfig.py", line 25, in pytest_cmdline_parse
    config = __multicall__.execute()
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 370, in execute
    res = method(**kwargs)
  File "/usr/lib/python2.6/site-packages/_pytest/config.py", line 10, in pytest_cmdline_parse
    config.parse(args)
  File "/usr/lib/python2.6/site-packages/_pytest/config.py", line 373, in parse
    self._preparse(args)
  File "/usr/lib/python2.6/site-packages/_pytest/config.py", line 349, in _preparse
    self.pluginmanager.consider_setuptools_entrypoints()
  File "/usr/lib/python2.6/site-packages/_pytest/core.py", line 174, in consider_setuptools_entrypoints
    plugin = ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1947, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1960, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (pytest 2.3.5 (/usr/lib/python2.6/site-packages), Requirement.parse('pytest>=2.6'))

Build log, for reference: https://kojipkgs.fedoraproject.org//work/tasks/7321/17077321/build.log

Comment 2 Adam Williamson 2016-12-27 03:41:51 UTC
oh, well, that's a shame. I adjusted fedfind to do its tests a different way to avoid the dependency, so if you just want to close this, I don't mind.

Comment 3 Denis Fateyev 2016-12-27 07:02:24 UTC
Yeah, I would avoid patching it in one branch.
Good, I'm closing this issue.


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