OCR-D / ocrd_all

Master repository which includes most other OCR-D repositories as submodules
MIT License
72 stars 18 forks source link

`make all` fails for Python 3.7 #428

Closed stweil closed 5 months ago

stweil commented 6 months ago

It fails for dinglehopper:

Processing /home/runner/work/ocrd_all/ocrd_all/dinglehopper
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Collecting setuptools>=61.0.0
        Using cached setuptools-68.0.0-py3-none-any.whl.metadata (6.4 kB)
      Collecting wheel
        Using cached wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
      ERROR: Ignored the following versions that require a different python version: 0.0.14 Requires-Python >=3.8; 0.0.15 Requires-Python >=3.8; 0.0.16 Requires-Python >=3.8; 0.0.17 Requires-Python >=3.8; 0.0.18 Requires-Python >=3.8; 0.0.3 Requires-Python >=3.8; 0.0.4 Requires-Python >=3.8; 0.0.5 Requires-Python >=3.8; 0.0.6 Requires-Python >=3.8; 0.0.7 Requires-Python >=3.8; 0.0.8 Requires-Python >=3.8; 0.43.0 Requires-Python >=3.8; 68.1.0 Requires-Python >=3.8; 68.1.2 Requires-Python >=3.8; 68.2.0 Requires-Python >=3.8; 68.2.1 Requires-Python >=3.8; 68.2.2 Requires-Python >=3.8; 69.0.0 Requires-Python >=3.8; 69.0.1 Requires-Python >=3.8; 69.0.2 Requires-Python >=3.8; 69.0.3 Requires-Python >=3.8; 69.1.0 Requires-Python >=3.8; 69.1.1 Requires-Python >=3.8; 69.2.0 Requires-Python >=3.8; 69.3 Requires-Python >=3.8; 69.3.0 Requires-Python >=3.8; 69.3.1 Requires-Python >=3.8; 69.4 Requires-Python >=3.8; 69.4.0 Requires-Python >=3.8; 69.4.1 Requires-Python >=3.8; 69.4.2 Requires-Python >=3.8; 69.5.0 Requires-Python >=3.8; 69.5.1 Requires-Python >=3.8
      ERROR: Could not find a version that satisfies the requirement setuptools-ocrd (from versions: none)
      ERROR: No matching distribution found for setuptools-ocrd
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
make: *** [Makefile:415: /home/runner/work/ocrd_all/ocrd_all/venv/bin/ocrd-dinglehopper] Error 1
Error: Process completed with exit code 2.
stweil commented 6 months ago

Cc @mikegerber and @kba. Should we remove the relicts for Python 3.7 (which is an unsupported old version) in ocrd_all?

mikegerber commented 6 months ago

Cc @mikegerber and @kba. Should we remove the relicts for Python 3.7 (which is an unsupported old version) in ocrd_all?

We don't support 3.7 anymore in the latest version of dinglehopper (because it's EOL and it probably also had a reason, but I don't keep track for EOL versions). ocrd_all needs to use an older version or don't use Python 3.7 itself.

bertsky commented 5 months ago

Can we close @stweil ?

stweil commented 5 months ago

Yes, this issue is no longer relevant as Python 3.7 support was removed.