chatnoir-eu / chatnoir-resiliparse

A robust web archive analytics toolkit
https://resiliparse.chatnoir.eu
Apache License 2.0
80 stars 11 forks source link

Installing fastwarc via `pip install` fails if compilation is required or requested #16

Closed sebastian-nagel closed 2 years ago

sebastian-nagel commented 2 years ago

The error message indicates that fastwarc is now too interconnected with resiliparse

  ERROR: Command errored out with exit status 1:
...  
  from resiliparse_common.string_util cimport str_to_lower, strip_str, strip_c_str
  ^
  ------------------------------------------------------------

  fastwarc/warc.pyx:32:0: 'resiliparse_common/string_util.pxd' not found

Building from a checkout of chatnoir-resiliparse via pip3 wheel -e fastwarc succeeds also on ARM-based systems.

phoerious commented 2 years ago

resiliparse_common is a directory that's copied into the source build of both packages. I guess I forgot to add it the the package data. I'll fix that. In the meantime, compiling from the repository should work.

phoerious commented 2 years ago

Fixed in 5b43781b714009d930719cec644920cb0890fe5c. Builds are underway.

sebastian-nagel commented 2 years ago

Thanks, @phoerious: confirmed - installation with compilation works for 0.7.2