scott-griffiths / bitstring

A Python module to help you manage your bits
https://bitstring.readthedocs.io/en/stable/index.html
MIT License
401 stars 67 forks source link

Stray, invalid `bitstring/plugin_test.py` in the sdist for 4.1.2 #293

Closed mgorny closed 8 months ago

mgorny commented 11 months ago

The sdist contains a bitstring/plugin_test.py file that doesn't seem to be present in the git repository here, and that has invalid syntax:

  File "/tmp/portage/dev-python/bitstring-4.1.2/work/bitstring-4.1.2/bitstring/plugin_test.py", line 8
    reverse_int = Dtype(name='uintr', getter=getuintr, setter=setuintr)
    ^
IndentationError: expected an indented block after function definition on line 6
scott-griffiths commented 11 months ago

Good catch - thanks for letting me know.

Also there's a similarly stray hints.py, both of which got dragged into the PyPI sdist upload (but not the GitHub sdist). Neither file is terribly interesting, and I don't think they'll cause problems, but clearly my release procedure needs some work. 😞

I'll fix in another update shortly. Again, thanks for the heads up as that could have been worse.

scott-griffiths commented 8 months ago

Sorted in 4.1.3 release.

mgorny commented 8 months ago

Thanks!