neo4j-contrib / py2neo

EOL! Py2neo is a comprehensive Neo4j driver library and toolkit for Python.
https://py2neo.org
Apache License 2.0
20 stars 8 forks source link

Unable to connect DB with latest py2neo (2021.0.0) #892

Closed krdpk17 closed 3 years ago

krdpk17 commented 3 years ago

Issue: My code which was working with py2neo(2020.0.0) broke with py2neo(2021.0.0)

Code: Full code can be found at https://github.com/krdpk17/twitter-neo4j/blob/master/docker/features/libs/cypher_store.py def get_graph():

global NEO4J_URL,NEO4J_HOST,NEO4J_PORT,NEO4J_AUTH
pdb.set_trace()
#test()

# Connect to graph
creds = NEO4J_AUTH.split('/')
#TODO: Enable cert verify after fix
graph = Graph(user=creds[0], password=creds[1], host=NEO4J_HOST, port=NEO4J_BOLT_PORT, secure=NEO4J_BOLT_SECURE, verify=False)
graph.run('match (t:Tweet) return COUNT(t)')
return graph

pip output for not working case $ pip freeze | grep py2neo py2neo==2021.0.1

pip output for working case $ pip freeze | grep py2neo py2neo==2020.0.0

Workaround: Reverted my library to working version

Please let me know for any more info

technige commented 3 years ago

"Broke" isn't specific enough. What was the error?

technige commented 3 years ago

Closing issue due to lack of detail in problem description.