Bug 1589018

Summary: python-neo4j-driver: missing dependency on neotime
Product: [Fedora] Fedora Reporter: Martin Prpič <mprpic>
Component: python-neo4j-driverAssignee: Matt Prahl <mprahl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 28CC: mprahl, slukasik, thoger
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neo4j-driver-1.6.0-2.fc28 python-neo4j-driver-1.6.0-2.fc27 python-neo4j-driver-1.6.0-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-13 15:18:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Prpič 2018-06-08 08:42:27 UTC
Description of problem:

The most recent upgrade of python-neo4j-driver to 1.6.0 added a new dependency for neotime==1.0.0, which breaks the package when it is used:

Traceback (most recent call last):
  File "/usr/bin/xxx", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'neotime==1.0.0' distribution was not found and is required by neo4j-driver


neotime was added with this commit:

https://github.com/neo4j/neo4j-python-driver/commit/ed5071e9e2055c14fe9b2d5265ed68df12278b65

The current workaround is to downgrade to:

python-neo4j-driver-1.5.3-2.fc28

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

python-neo4j-driver-1.6.0-1.fc28

Comment 1 Matt Prahl 2018-06-08 12:24:43 UTC
Hi Martin,
I apologize for this issue. I missed while doing the initial testing and encountered it yesterday. I've reached out to Fedora RelEng to see if there is a way to roll this back.

In the mean-time, I have a new package request for python-neotime at:
https://bugzilla.redhat.com/show_bug.cgi?id=1588797

If you are a Fedora packager, a review would be greatly appreciated.

Comment 2 Matt Prahl 2018-06-08 15:42:27 UTC
I got python-neotime packaged. Could someone please test it and provide karma at:
https://bodhi.fedoraproject.org/updates/FEDORA-2018-fcb1c3e927
https://bodhi.fedoraproject.org/updates/FEDORA-2018-d97647d730
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-87ef985548

After that makes it to stable, I can fix python-neo4j-driver.

Comment 3 Fedora Update System 2018-06-10 02:16:53 UTC
python-neo4j-driver-1.6.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-888d15f2cd

Comment 4 Fedora Update System 2018-06-10 02:17:02 UTC
python-neo4j-driver-1.6.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b8a061916b

Comment 5 Fedora Update System 2018-06-10 02:17:09 UTC
python-neo4j-driver-1.6.0-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-f413dedc3b

Comment 6 Fedora Update System 2018-06-10 18:30:50 UTC
python-neo4j-driver-1.6.0-2.fc28 has been pushed to the Fedora 28 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-2018-b8a061916b

Comment 7 Fedora Update System 2018-06-10 18:43:12 UTC
python-neo4j-driver-1.6.0-2.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-2018-f413dedc3b

Comment 8 Fedora Update System 2018-06-10 18:50:04 UTC
python-neo4j-driver-1.6.0-2.fc27 has been pushed to the Fedora 27 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-2018-888d15f2cd

Comment 9 Fedora Update System 2018-06-13 15:18:14 UTC
python-neo4j-driver-1.6.0-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-06-16 19:32:35 UTC
python-neo4j-driver-1.6.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2018-07-11 18:11:08 UTC
python-neo4j-driver-1.6.0-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.