Bug 1280090 - python3-pocketlint should use the just built version to run "make check"
Summary: python3-pocketlint should use the just built version to run "make check"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python3-pocketlint
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-10 22:36 UTC by Peter Robinson
Modified: 2015-11-11 00:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-11 00:07:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2015-11-10 22:36:15 UTC
So python3-pocketlint depends on it's self from a rpm dependency to run "make check" and if it doesn't have the dependency it fails as below BUT it should be using the just built version to be running the "make check" not the previous version because if it uses the previous version it doesn't actually verify that the new, just built, version is actually working. 


Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GKaem3
+ umask 022
+ cd /builddir/build/BUILD
+ cd pocketlint-0.9
+ make check
*** Running pylint to verify source ***
PYTHONPATH=./build/lib tests/pylint/runpylint.py
Traceback (most recent call last):
  File "tests/pylint/runpylint.py", line 19, in <module>
    rc = linter.run()
  File "/builddir/build/BUILD/pocketlint-0.9/build/lib/pocketlint/__init__.py", line 303, in run
    result = job.result()
  File "/usr/lib64/python3.5/concurrent/futures/_base.py", line 398, in result
    return self.__get_result()
  File "/usr/lib64/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
  File "/usr/lib64/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/builddir/build/BUILD/pocketlint-0.9/build/lib/pocketlint/__init__.py", line 267, in _run_one
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib64/python3.5/subprocess.py", line 950, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.5/subprocess.py", line 1540, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'python3-pylint'
Makefile:12: recipe for target 'check' failed

Comment 1 Peter Robinson 2015-11-11 00:07:31 UTC
bah, confusing pocketlint and pylint. Clearly been looking too closely at too many packages today


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