alchemiscale icon indicating copy to clipboard operation
alchemiscale copied to clipboard

neo4j destructor behavior deprecation

Open atravitz opened this issue 4 months ago • 1 comments

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(

atravitz avatar Aug 19 '25 16:08 atravitz

Thanks for this @atravitz! I believe I've addressed this in #421!

dotsdl avatar Oct 14 '25 15:10 dotsdl