Skip to content

Update neo4j-driver #40

Description

@nathanweeks
$ grep neo4j-driver requirements.txt 
neo4j-driver==1.5.3

Could neo4j-driver be bumped to at least 1.7.6? I see this error using Python 3.8.x:

Error: While importing "server.dscensor", an ImportError was raised:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
  File "/app/dscensor/server/dscensor.py", line 12, in <module>
    from client.templating import neo4j_dscensor_linkout
  File "/app/dscensor/client/templating/neo4j_dscensor_linkout.py", line 11, in <module>
    from neo4j.v1 import GraphDatabase, basic_auth
  File "/usr/local/lib/python3.8/site-packages/neo4j/v1/__init__.py", line 22, in <module>
    from .direct import *
  File "/usr/local/lib/python3.8/site-packages/neo4j/v1/direct.py", line 23, in <module>
    from neo4j.bolt.connection import DEFAULT_PORT, ConnectionPool, connect, ConnectionErrorHandler
  File "/usr/local/lib/python3.8/site-packages/neo4j/bolt/__init__.py", line 23, in <module>
    from .connection import *
  File "/usr/local/lib/python3.8/site-packages/neo4j/bolt/connection.py", line 44, in <module>
    from time import clock
ImportError: cannot import name 'clock' from 'time' (unknown location)

time.clock was deprecated in Python 3.3, and removed in Python 3.8

If the answer is "use Python <= 3.7 for now", that's fine too :-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions