Problem
The Neo4jDatabase class uses the Neo4j driver which expects bolt:// or neo4j:// URI schemes.
However, Apache AGE runs on PostgreSQL and uses postgres:// URIs, causing a ConfigurationError
when running tests.
Error
neo4j.exceptions.ConfigurationError: URI scheme 'postgres' is not supported.
Supported URI schemes are ['bolt', 'bolt+ssc', 'bolt+s', 'neo4j', 'neo4j+ssc', 'neo4j+s']
Steps to reproduce
- Set up Apache AGE with
postgres://localhost:5432
- Run
pytest tests/unit/
Possible solutions
- Use
apache_age_python driver directly instead of Neo4j driver for AGE connections
- Or document the correct URI format for connecting Neo4j driver to AGE
Problem
The
Neo4jDatabaseclass uses the Neo4j driver which expectsbolt://orneo4j://URI schemes.However, Apache AGE runs on PostgreSQL and uses
postgres://URIs, causing aConfigurationErrorwhen running tests.
Error
Steps to reproduce
postgres://localhost:5432pytest tests/unit/Possible solutions
apache_age_pythondriver directly instead of Neo4j driver for AGE connections