1.4.5 wheel on PyPI differs from source
Describe the bug
The code in the built distribution file on PyPI differs from that in the source distribution file and the Git tag 1.4.5.
To Reproduce
pipx install i3-resurrect- look in
~/.local/pipx/venvs/i3-resurrect/lib/python3.10/site-packages/i3_resurrect/main.py
Alternatively:
cd /tmp && wget https://files.pythonhosted.org/packages/fe/30/362d39eaf8d0dc1869fb200bcd9141e545bfd17d703c8b3f4fa76bd0fd9c/i3_resurrect-1.4.5-py3-none-any.whl && unzip -d i3_resurrect-1.4.5-py3-none-any i3_resurrect-1.4.5-py3-none-any.whl- look in
/tmp/i3_resurrect-1.4.5-py3-none-any/i3_resurrect/main.py
Expected behavior
Code corresponds to main.py at tag 1.4.5; in particular, line 13 reads the directory key from config into a global DEFAULT_DIRECTORY variable which is further used as the default for the -d, --directory option.
Observed behavior
Code corresponds to 1.4.3, except for config.py which matches that of 1.4.5.
System information (please complete the following information):
- Linux distribution: Ubuntu 22.04
- i3-resurrect version (output of
i3-resurrect --version): claims to bei3-resurrect, version 1.4.5 - i3 version (output of
i3 -v):i3 version 4.20.1 (2021-11-03) © 2009 Michael Stapelberg and contributors - Python version (output of
python -V):Python 3.10.12
Workaround: pipx install --pip-args=--no-binary=i3-resurrect i3-resurrect installs the source distribution which matches the 1.4.5 tag.
Hmm not sure how that could've happened but it's been quite a few years. I should add a GitHub Actions pipeline for releases anyway.