Bug 1894740 - Missing dependencies in python2-pyvmomi-6.7.3-4.el7
Summary: Missing dependencies in python2-pyvmomi-6.7.3-4.el7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-pyvmomi
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-04 22:17 UTC by Stephan Dühr
Modified: 2021-02-01 02:20 UTC (History)
4 users (show)

Fixed In Version: python-pyvmomi-7.0.1-1.el7
Clone Of:
Environment:
Last Closed: 2021-02-01 02:20:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stephan Dühr 2020-11-04 22:17:52 UTC
Description of problem:

Dependencies on python-six and python2-requests are missing.

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

6.7.3-4.el7

How reproducible:


Steps to Reproduce:
1. Install the package python2-pyvmomi-6.7.3-4.el7.rpm
2. Run python
3. Enter "from pyVim.connect import SmartConnect, Disconnect"

Actual results:
    from pyVim.connect import SmartConnect, Disconnect
  File "/usr/lib/python2.7/site-packages/pyVim/connect.py", line 26, in <module>
    from six import reraise
ImportError: No module named six

Expected results:
No error

Additional info:

# rpm -q python2-pyvmomi --requires
python(abi) = 2.7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

May be the same problem as in BZ #1660801

Comment 1 Raphael Groner 2020-11-05 17:50:53 UTC
Thanks for the report.

TBH I would like to get rid of that slowly dying python2 stack- yes knowing about still relevance in epel7. Is it possible for you to switch to python3-pyvmomi instead?

Otherwise you're right there's no explicit Requires: python2-six tough it's added for python3-six.

Comment 2 Stephan Dühr 2020-11-11 16:10:55 UTC
Sure we need to face it, python2 is dying. So do you consider removing python2-pyvmomi?
In my opinion it is better to give users the option to choose the point in time for switching to python3.

Comment 3 Raphael Groner 2020-11-11 16:41:22 UTC
To be honest I'm wondering why the python2 package is still available in the repository.
An outstanding update to pyvmomi version 7.0.1 as already in epel8 can drop that?

Comment 4 Raphael Groner 2020-11-11 16:43:48 UTC
Related upstream issue: https://github.com/vmware/pyvmomi/issues/837

Comment 5 Stephan Dühr 2020-11-12 14:38:34 UTC
Ok, understood. Good bye python2. Update to pyvmomi 7.0.1 is appreciated.

Comment 6 Raphael Groner 2020-11-12 16:18:10 UTC
Thanks. On the other side, I'd appreciate any willing co-maintainer that (still) cares about python2. ;-)

Comment 7 Raphael Groner 2021-01-15 18:07:17 UTC
Waited another time for any concerns about python2 support, btw. there's anyways not full support in the provided unit tests (see disabled some). Okay, I'm going to merge from master and push a new update into epel7 as it was in epel8 for a long time.

Comment 8 Fedora Update System 2021-01-16 16:05:06 UTC
FEDORA-EPEL-2021-f2cb02767d has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-f2cb02767d

Comment 9 Fedora Update System 2021-01-17 02:04:30 UTC
FEDORA-EPEL-2021-f2cb02767d has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-f2cb02767d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-02-01 02:20:21 UTC
FEDORA-EPEL-2021-f2cb02767d has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, 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.