chatnoir-eu / chatnoir-resiliparse

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

Upgrade GitHub Action checkout to v4 #32

Closed cclauss closed 7 months ago

cclauss commented 7 months ago

https://github.com/actions/checkout/releases

This also required:

cclauss commented 7 months ago

Remove deprecated setuptools warnings about beta support for pyproject.toml

https://github.com/pypa/pyproject-hooks#pyproject-hooks

  * Getting build dependencies for wheel...
  Traceback (most recent call last):
    File "/opt/python/cp38-cp38/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/opt/python/cp38-cp38/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/opt/python/cp38-cp38/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/build-env-rvoyy4aw/lib/python3.8/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/build-env-rvoyy4aw/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
      self.run_setup()
    File "/tmp/build-env-rvoyy4aw/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
      exec(code, locals())
    File "<string>", line 34, in <module>
  AttributeError: module 'setuptools.config.pyprojecttoml' has no attribute '_BetaConfiguration'

  ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
Error: Command ['python', '-m', 'build', PurePosixPath('/project/fastwarc'), '--wheel', '--outdir=/tmp/cibuildwheel/built_wheel'] failed with code 1.