Bug 1702355 - python2-pytest-shutil fails to install due to missing dependencies
Summary: python2-pytest-shutil fails to install due to missing dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-shutil
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F31FailsToInstall PY2FTBI
TreeView+ depends on / blocked
 
Reported: 2019-04-23 14:47 UTC by Miro Hrončok
Modified: 2019-04-23 21:36 UTC (History)
1 user (show)

Fixed In Version: python-pytest-shutil-1.6.0-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-23 21:36:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-04-23 14:47:30 UTC
After the recent update of python-pytest-shutil:

https://src.fedoraproject.org/rpms/python-pytest-shutil/c/115ee401f42be6db6ae9b35d8e47604373b7db2b?branch=master

python2-pytest-shutil requires python2.7dist(termcolor).

That doesn't exists:

Error: 
 Problem: conflicting requests
  - nothing provides python2.7dist(termcolor) needed by python2-pytest-shutil-1.6.0-1.fc31.noarch


This makes python-pytest-virtualenv FTBFS and python2-pytest-virtualenv uninstallable as well.
 
If the dependency is optional, it should be filtered out. If it is not, python2-pytest-virtualenv and python2-pytest-shutil should be removed from Fedora and setuptools tests that need it should be skipped on Python 2.

Comment 1 Miro Hrončok 2019-04-23 14:51:41 UTC
IMHO, termcolor is only imported when PrettyFormatter is used.
I guess we can make it optional.

Comment 2 Miro Hrončok 2019-04-23 14:56:40 UTC
Looking into it.


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