commit 2d99cfb316d4231ff8cad6cdfe4e53b19b86a9fd from: Sergey Bronnikov via: Sergey Bronnikov date: Thu Jun 26 07:26:03 2025 UTC ci: bump Ubuntu version The patch bumps an Ubuntu version used on GHA runners and also fix numpy version to avoid error below: A module that was compiled using NumPy 1.x cannot be run in NumPy 2.3.1 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. Related to https://github.com/actions/runner-images/issues/11101 commit - abaa4f2a4ed7b2f513cd5df5b249642b2ac5ba91 commit + 2d99cfb316d4231ff8cad6cdfe4e53b19b86a9fd blob - a34dfa3f79426b76e89e336b00eb313b43d3a31f blob + 4a6149b6f214c76144b9efeb2a7721a60a87b8c3 --- .github/workflows/check.yaml +++ .github/workflows/check.yaml @@ -11,7 +11,7 @@ jobs: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 blob - dfa8b92296aaaf3732894da55347b7187713ad3d blob + 518dd804c5f63d665f9feae2b4f52faeedd6e5ac --- requirements.txt +++ requirements.txt @@ -1,2 +1,3 @@ opencv-python==4.9.0.80 Pillow==10.3.0 +numpy==1.26.4