From ba0f2f77d96c57a1801b8292ed30bf1032bed7a7 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 27 Jul 2023 21:16:52 +0200 Subject: [PATCH] Fix hash for breeze dependencies The #32873 has been merged without merging and commiting breeze's hash accounting for changed dependencies, breaking unit tests of breeze. This PR brings hash of breeze back adter running `breeze setup version` manually and commiting the changed hash. --- .github/workflows/ci.yml | 5 ++++- dev/breeze/README.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cda3148c59a1..daec76e48c9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -383,7 +383,10 @@ jobs: cache: 'pip' cache-dependency-path: ./dev/breeze/setup* - run: python -m pip install --editable ./dev/breeze/ - - run: breeze setup version + - run: > + breeze setup version || + (echo "\033[0;31mERROR: Breeze version check failed\033[0m" && + echo "Please run 'breeze setup version' and commit the changes." && false) - run: python -m pytest -n auto --color=yes working-directory: ./dev/breeze/ - run: breeze setup check-all-params-in-groups diff --git a/dev/breeze/README.md b/dev/breeze/README.md index a91598a0628b..775150252451 100644 --- a/dev/breeze/README.md +++ b/dev/breeze/README.md @@ -52,6 +52,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PRE-COMMIT. --------------------------------------------------------------------------------------------------------- -Package config hash: c2bade421865f94fb91f652317d76f3686ad017067349265d8a1d465bbfc2f0796d570bf4777acfb31a7703f1ccb6b0a63c655b97cec9eb9fdeeb1676c804c02 +Package config hash: 9d095d522c9f6fcf0c5834fcdc050bc98231d17fad07ec054c4e437580129d547b693b66b61442757f81fc1a505483da5267cc973dbf86babba7cd2c11697708 ---------------------------------------------------------------------------------------------------------