Skip to content

fix: Neo4j driver incompatible with Apache AGE connection URI #31

Description

@saeedya

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

  1. Set up Apache AGE with postgres://localhost:5432
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions