Skip to content

neo4j destructor behavior deprecation #427

Description

@atravitz

when running the integration tests, I see the following deprecation warning:

alchemiscale/tests/integration/test_cli.py::test_compute_api[Neo4j/5.25 (CE) over 'bolt']
  /home/atravitz/micromamba/envs/alchemiscale-test/lib/python3.12/site-packages/neo4j/_sync/driver.py:547: DeprecationWarning: Relying on Driver's destructor to close the session is deprecated. Please make sure to close the session. Use it as a context (`with` statement) or make sure to call `.close()` explicitly. Future versions of the driver will not close drivers automatically.
    _deprecation_warn(

Metadata

Metadata

Assignees

No one assigned

    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