offenesdresden / dvbpy

🚋 Query Dresden's public transport system for current bus- and tramstop data in python
https://pypi.org/project/dvb/
MIT License
47 stars 7 forks source link

Python 3.10 support #19

Open Malimav opened 1 year ago

Malimav commented 1 year ago

I only get this errors when i try to run dvb.route() with python 3.10.6

ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

Can someone migrate this project to 3.10+?

Malimav commented 1 year ago

I forgot to say that i found out that collections has changed since 3.5 and this api trys to import or use somthing from that that has changed.