alchemiscale
alchemiscale copied to clipboard
neo4j destructor behavior deprecation
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(
Thanks for this @atravitz! I believe I've addressed this in #421!