valq7711 / ombott

This is bottle spin-off (One More BOTTle)
MIT License
8 stars 5 forks source link

DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 #10

Open mdipierro opened 7 months ago

mdipierro commented 7 months ago

DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

valq7711 commented 7 months ago

Will fix asap

valq7711 commented 7 months ago

test, please pip install ombott==2.0rc2

Some improvements/caveats:

earlier workflow:

now:

ali96343 commented 6 months ago

Hello, Val !

Please, if possible, add a small change to the line 73 file ombott.py

  -     _stderr(f"Listening on http{'s' if kwargs.get('certfile', None) else ''}://{server.host}:{server.port}/\n")

  +      if not server.host.startswith('unix:/') :
  +          _stderr(f"Listening on http{'s' if kwargs.get('certfile', None) else ''}://{server.host}:{server.port}/\n")