lyda / chkcrontab

A tool for checking system crontab files (/etc/crontab and /etc/cron.d normally) for errors and common mistakes.
Other
59 stars 22 forks source link

Fails to build with Python 3.12 #26

Open mat813 opened 2 months ago

mat813 commented 2 months ago

I am not sure why this fails, but:

$ docker run -it --rm python:3.12 pip install chkcrontab
Collecting chkcrontab
  Downloading chkcrontab-1.7.tar.gz (24 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: chkcrontab
  Building wheel for chkcrontab (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for chkcrontab (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error: can't copy 'doc/chkcrontab.1': doesn't exist or not a regular file
      [end of output]

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

It works just fine with Python 3.11.