Can't import csv data after desktop v5.4 with python neo4j package

I'm running medium size batch scripts using the python neo4j driver to import data using LOAD CSV with Neo4j Desktop. My approach has worked fine in v4.4.15, 5.1-5.4 but beyond that, when I run the script no data get's loaded, and the script just hangs until I get a transaction failed error message. It then takes the desktop a really long time to stop the database.

I've set the heap memory to 3g (initial size and max) and I've limited the data import to very low numbers for testing - only 10k rows of data at 1k rows per transaction.

I'm using python version 3.10.12 and using the latest neo4j python package. Did something change about memory usage or importing data through cypher from 5.4 to 5.5 and beyond that could be causing these issues?