From 9c0c0e428a8d9b2079d564400887e48cabc8fcf3 Mon Sep 17 00:00:00 2001 From: Christian Henkel Date: Wed, 8 Jan 2025 12:18:35 +0100 Subject: [PATCH] installing pip Signed-off-by: Christian Henkel --- .github/workflows/test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1b3cbfe..d71fcefc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,8 +23,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 # Set up wget - - name: Get up wget - run: apt update && apt install -y wget + - name: Get up wget, pip + run: apt update && apt install -y wget python3-pip # Get smc_storm for testing - name: Get smc_storm id: get_smc_storm @@ -36,22 +36,22 @@ jobs: echo SMC_STORM_PATH=$PWD/bin/ >> $GITHUB_OUTPUT # Update pip - name: Update pip - run: python -m pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} --upgrade pip - # workaround python 3.12 issue - - name: Install special fork of js2py - run: | - pip install --break-system-packages git+https://github.com/felixonmars/Js2Py.git@py3.12 - if: ${{ matrix.os == 'ubuntu-24.04' }} + run: python -m pip install --upgrade pip + # # workaround python 3.12 issue + # - name: Install special fork of js2py + # run: | + # pip install --break-system-packages git+https://github.com/felixonmars/Js2Py.git@py3.12 + # if: ${{ matrix.os == 'ubuntu-24.04' }} # install the packages - name: Install packages run: | - pip install ${{ matrix.os == 'ubuntu-24.04' && '--break-system-packages' || '' }} . + pip install . # this solves # E ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject - - name: Downgrade numpy - run: | - pip install numpy==1.26.4 - if: ${{ matrix.os == 'ubuntu-22.04' }} + # - name: Downgrade numpy + # run: | + # pip install numpy==1.26.4 + # if: ${{ matrix.os == 'ubuntu-22.04' }} # lint packages # TODO: add linting # Prepare ROS WS for the tests