pallets-eco / flask-debugtoolbar

A toolbar overlay for debugging Flask applications
https://flask-debugtoolbar.readthedocs.io
BSD 3-Clause "New" or "Revised" License
952 stars 146 forks source link

Missing files in PyPI wheel #168

Closed sfermigier closed 2 years ago

sfermigier commented 2 years ago
 ~/Downloads  unzip -v Flask_DebugToolbar-0.12.1-py3-none-any.whl 
Archive:  Flask_DebugToolbar-0.12.1-py3-none-any.whl
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
    1524  Defl:N      572  63% 03-26-2022 07:14 d8cb4698  panels/__init__.py
     607  Defl:N      281  54% 03-26-2022 07:14 4350cf0f  panels/config_vars.py
     555  Defl:N      254  54% 03-26-2022 07:14 89ffa55c  panels/g.py
    1317  Defl:N      528  60% 03-26-2022 07:14 a6c8cab9  panels/headers.py
    3262  Defl:N     1126  66% 03-26-2022 07:14 65153649  panels/logger.py
    3583  Defl:N     1051  71% 03-26-2022 07:14 cff56675  panels/profiler.py
    1385  Defl:N      488  65% 03-26-2022 07:14 edc9cbd6  panels/request_vars.py
     875  Defl:N      382  56% 03-26-2022 07:14 66771779  panels/route_list.py
    4029  Defl:N     1317  67% 03-26-2022 07:14 cab5cfaa  panels/sqlalchemy.py
    3870  Defl:N     1375  65% 03-26-2022 07:14 b9e6deeb  panels/template.py
    3282  Defl:N     1132  66% 03-26-2022 07:14 d956b743  panels/timer.py
    1259  Defl:N      485  62% 03-26-2022 07:14 24c53511  panels/versions.py
    1542  Defl:N      797  48% 03-28-2022 08:18 e939a6d6  Flask_DebugToolbar-0.12.1.dist-info/LICENSE
    2312  Defl:N     1023  56% 03-28-2022 08:18 23a6467e  Flask_DebugToolbar-0.12.1.dist-info/METADATA
      92  Defl:N       92   0% 03-28-2022 08:18 801a68e9  Flask_DebugToolbar-0.12.1.dist-info/WHEEL
       7  Defl:N        9 -29% 03-28-2022 08:18 3d5cecd8  Flask_DebugToolbar-0.12.1.dist-info/top_level.txt
    1340  Defl:N      817  39% 03-28-2022 08:18 a1e55c5c  Flask_DebugToolbar-0.12.1.dist-info/RECORD
--------          -------  ---                            -------
   30841            11729  62%                            17 files

Lots of files are missing. The source distribution seems correct, though.

jeffwidman commented 2 years ago

Yep, something is wrong in #164, probably just needs a minor tweak somewhere.

For now, I yanked both 0.12.0 and 0.12.1 from PyPI, hopefully we can figure out the issue and push a new version later this week as I'd like to get #157 into a release so that this is compatible with newer Jinja.

nickjj commented 2 years ago

Thanks, this has been fixed in https://github.com/flask-debugtoolbar/flask-debugtoolbar/pull/172 and 0.13.1 has been released which contains this fix.

You should be able to pip3 install flask-debugtoolbar or pip3 install flask-debugtoolbar==0.13.1 to get a working version of Flask Debug Toolbar.