conan-io / hooks

Official Conan client hooks
MIT License
32 stars 46 forks source link

[infra] install platformsdir in Mac #419

Closed uilianries closed 1 year ago

uilianries commented 2 years ago

Related to https://github.com/conan-io/hooks/pull/418

uilianries commented 2 years ago

Related issue: https://github.com/platformdirs/platformdirs/issues/81

ericLemanissier commented 2 years ago

The problem is that macos CI keeps reusing the same environment and never recreates it from scratch, so if any pip install is incomplete (if the build is interrupted for any reasom), it makes all subsequent builds fail. I added the build number in the path to the python virtual environment in my PR #418, and it fixed the problem. Windows CI already uses the build number I the path, but Linux does not yet. Maybe it should ?