MKuranowski / WarsawGTFS

Creates GTFS feed from ZTM Warsaw data
https://mkuran.pl/gtfs/
MIT License
34 stars 10 forks source link

libarchive deprecated #56

Closed przemekwrona closed 1 month ago

przemekwrona commented 1 month ago

The latest version of the libarchive library is from 4 years ago (July 1, 2019). On the page libarchive, the build tag indicates that the library does not build correctly. There is an issue with installing the libarchive dependency when building the project.

Building wheels for collected packages: libarchive
  Building wheel for libarchive (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [88 lines of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for libarchive
  Running setup.py clean for libarchive
Failed to build libarchive
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (libarchive)

The library is used to unpack 7z archives containing timetables that are on the FTP server of the Warsaw Public Transport Agency My recommendation is to switch to a currently supported library ex. py7zr.

przemekwrona commented 1 month ago

I prepare proposition of PR https://github.com/MKuranowski/WarsawGTFS/pull/57 where I change library to decompress 7z file