From a49d4e1748ba7bfdb556de206e3954644388614c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 24 Sep 2024 17:42:36 +0200 Subject: [PATCH] package/ci: fuck all your containers and environments, FUCK THEM Why everything has to be so damn containerized and duplicated that it's not fucking possible to just do brew install numpy in order for it to be BOTH available for any subsequent brew packages, AND `import numpy` working from python?! What the fuck?? What was so broken about the previous *perfectly working* behavior that you had to "fix" it?! --- package/ci/circleci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/ci/circleci.yml b/package/ci/circleci.yml index 7957b49..241ebf6 100644 --- a/package/ci/circleci.yml +++ b/package/ci/circleci.yml @@ -51,6 +51,18 @@ commands: command: | if [[ "$CMAKE_CXX_FLAGS" == *"--coverage"* ]]; then export LCOV_PACKAGES="lcov"; fi HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake ninja $LCOV_PACKAGES << parameters.extra >> + - run: + name: Uninstall the pyenv crap and install plain python instead + # Otherwise the numpy installed by homebrew is unreachable by actual + # user-side python. THIS ALL USED TO WORK BUT NOT ANYMORE. They + # subsequently added `brew pyenv-sync` in an attempt to fix this trash + # fire, but that damn thing doesn't work at all either. Fuck it, then. + # https://github.com/orgs/Homebrew/discussions/4664 + # https://github.com/Homebrew/brew/issues/17563 + command: | + HOMEBREW_NO_AUTO_UPDATE=1 brew remove pyenv + HOMEBREW_NO_AUTO_UPDATE=1 brew install python + rm -r ~/.pyenv install-gcc-4_8: steps: