bottlepy / bottle

bottle.py is a fast and simple micro-framework for python web-applications.
http://bottlepy.org/
MIT License
8.39k stars 1.47k forks source link

Getting warning on python 3.10.4 #1378

Closed l1mero closed 2 years ago

l1mero commented 2 years ago

This is due to some changes in python 3.10 https://docs.python.org/3/library/importlib.html#importlib.abc.MetaPathFinder

изображение

defnull commented 2 years ago

This is triggered by the bottle.ext module, which is actually a virtual module with its own loader that allows to import bottle_whatever as bottle.ext.whatever. Probably best to deprecate this high-magic-low-benefit functionality and call it a day.