MLServer icon indicating copy to clipboard operation
MLServer copied to clipboard

`mlserver build` fails if requirements.txt includes a git path

Open isaac-smothers opened this issue 1 year ago • 0 comments
trafficstars

As git isn't installed on the mlserver images, any references to git paths in your requirements.txt will fail mlserver build commands.

Reproduce:

  • Specify a git path in your requirements.txt like git+https://github.com/x/x.git
  • Run mlserver build
  • ERROR: Error [Errno 2] No such file or directory: 'git' while executing command git version

isaac-smothers avatar Feb 02 '24 22:02 isaac-smothers