tedivm / paracelsus

Visualize SQLAlchemy Databases using Mermaid or Dot Diagrams.
https://pypi.org/project/paracelsus/
MIT License
94 stars 10 forks source link

error ModuleNotFoundError: No module named 'tomllib' (python 3.10) #10

Closed BPie closed 6 months ago

BPie commented 6 months ago

while using python 3.10, pip installs paracelsus==0.5.0 . Running pipenv run paracelsus graph gives error

ModuleNotFoundError: No module named 'tomllib'

tomllib is supported from 3.11. Maybe 'requires-python' should be specified or some other toml parser used.

tedivm commented 6 months ago

If you update to 0.5.1 you should be all set! Thanks for reporting!

tedivm commented 6 months ago

Note that I also updated the test suite so that 3.10, 3.11, and 3.12 are all tested on each PR so we shouldn't see any regressions.

BPie commented 6 months ago

nice, works now. thanks