Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] Fix conan install of cpython
Due to a new `xorg/system` recipe, which the cpython recipe depends on, the `conan install` step on CI (and Vagrant) fails attempting to install system packages (i.e. `apt` packages). This is because the `xorg/system` recipe has been refactored and will now always try to install the latest version of system packages, even if they are already available. The default conan mode in this case is to only "check" if packages are installed and throw an error if they're not found (the alternative behaviour being to "install" if not found). However, this has a bug (reported and hopefully fixed in conan-io/conan#11712), whereby if the recipe has specified to `apt-get update` (or platform-specific equivalent) before installing, then conan always tries and throws an error if in "check" mode. So switch to "install" mode, which will cause a pointless `apt-get update` followed by > xorg/system: System requirements: already installed during the conan install. Added a TODO to revisit this once conan 1.51 is released, where this problem should be fixed. Signed-off-by: David Feltell <david.feltell@foundry.com>
- Loading branch information