Skip to content

Fix pyyaml build issues

Afonso Mukai requested to merge ECDC-3555_fix_build into main

Created by: danesss

Issue

ECDC-3555

Since the release of cython v3 all our builds are failing.

This is related to an issue in pyyaml (see https://github.com/yaml/pyyaml/issues/601). We depend on pyyaml only because these development requirements:

  • pre-commit
  • docker-compose (this one is holding back a pyyaml upstream fix. The docker-compose installable via pip is only v1 from 2021, as Docker-Compose v2 is written in golang 🐍)

Description of work

  • Fix the issue by completely removing docker-compose as a dependency. Developers needs to install docker compose independently.
  • Remove docker and pytictoc dependencies, as I see no code importing those packages.

Checklist

Merge request reports