[Libre-soc-dev] daily kan-ban update 17may2021
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon May 17 12:50:45 BST 2021
On Mon, May 17, 2021 at 12:33 PM Lauri Kasanen <cand at gmx.com> wrote:
> Used the release tarball from https://pypi.org/project/astor/
> not git master, in the interest of hitting *less* incompatibilities.
right. that may be the source of the problem, because by running from
the git repository the file named "VERSION" is *not* included.
however the tarball - which would have been manually uploaded by the
developer to the pypi packaging system - *may* include it. the "whl"
file does not - i checked that already (unzip
lkcl at fizzy:~/src/libresoc/astor-0.8.1/tgz$ tar -xvzf ../astor-0.8.1.tar.gz
astor-0.8.1/astor/VERSION <<<<----- this is the problem
yyep, that's the source of the problem - that's the mistake made by
okaay so you have a number of options / solutions here:
1) download the .whl file instead
2) use "pip3 install astor"
3) manually delete that damn annoying VERSION file
4) use the git clone https://github.com/berkerpeksag/astor
if you do anything other than option (3) you will need to follow this
procedure to remove the files installed from extracting the tarball
(by installing again and requesting the install process provide a full
list of all files, now you know exactly what to delete):
so, the source of the bug is, indeed, the maintainer uploading and
including a file in the .tar.gz release that should *not* have been
included, and is in fact *not* included in the .whl file.
this will be because the developer will have had to *manually* create
that .tar.gz release file, whereas everything else is done in an
More information about the Libre-soc-dev