Skip to content

Commit aae12a9

Browse files
committed
CI:22.04: check local python modules
2025-04-19T08:48:12.0969121Z [ 20%] [34m[1mCompiling Cython C source for nms...[0m 2025-04-19T08:48:12.0970692Z cd /home/runner/ws/build/jsk_recognition_utils/python/jsk_recognition_utils && /usr/bin/cython3 -I /home/runner/ws/devel/.private/jsk_recognition_utils/include -I /usr/local/lib/python3.10/dist-packages/numpy/_core/include --output-file /home/runner/ws/build/jsk_recognition_utils/python/jsk_recognition_utils/nms.c /home/runner/ws/src/jsk_recognition/jsk_recognition_utils/python/jsk_recognition_utils/nms.pyx 2025-04-19T08:48:12.0972723Z /usr/lib/python3/dist-packages/pythran/tables.py:4553: FutureWarning: In the future `np.bytes` will be defined as the corresponding NumPy scalar. 2025-04-19T08:48:12.0973392Z obj = getattr(themodule, elem) 2025-04-19T08:48:12.0974494Z /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/runner/ws/src/jsk_recognition/jsk_recognition_utils/python/jsk_recognition_utils/nms.pyx 2025-04-19T08:48:12.0975594Z tree = Parsing.p_module(s, pxd, full_module_name) 2025-04-19T08:48:12.0975895Z 2025-04-19T08:48:12.0976052Z Error compiling Cython file: 2025-04-19T08:48:12.0976414Z ------------------------------------------------------------ 2025-04-19T08:48:12.0976762Z ... 2025-04-19T08:48:12.0977062Z """ 2025-04-19T08:48:12.0977439Z return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base 2025-04-19T08:48:12.0977767Z 2025-04-19T08:48:12.0977776Z 2025-04-19T08:48:12.0977882Z # Iterator API added in v1.6 2025-04-19T08:48:12.0978361Z ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil 2025-04-19T08:48:12.0978784Z ^ 2025-04-19T08:48:12.0979198Z ------------------------------------------------------------ 2025-04-19T08:48:12.0979441Z 2025-04-19T08:48:12.0979797Z /usr/local/lib/python3.10/dist-packages/numpy/__init__.pxd:1028:50: Syntax error in ctypedef statement 2025-04-19T08:48:12.0980191Z 2025-04-19T08:48:12.0980309Z Error compiling Cython file: 2025-04-19T08:48:12.0980701Z ------------------------------------------------------------ 2025-04-19T08:48:12.0981070Z ... 2025-04-19T08:48:12.0981502Z # -------------------------------------------------------- 2025-04-19T08:48:12.0981724Z 2025-04-19T08:48:12.0981935Z import numpy as np 2025-04-19T08:48:12.0982194Z cimport numpy as np 2025-04-19T08:48:12.0982379Z 2025-04-19T08:48:12.0982575Z cdef inline np.float32_t max(np.float32_t a, np.float32_t b):
1 parent 915b389 commit aae12a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ jobs:
226226
sed 's/apt-get install/apt-get -y install/;/install ros-one/s/^/#/;/pip3 install/s/^/#/' rosdep-install.sh | bash -xe
227227
shell: bash
228228

229+
- name: Check local installed python
230+
run: |
231+
set -x
232+
pip freeze --local | cut -d= -f1 | xargs -n1 pip show | grep -E '^(Name|Location)'
233+
shell: bash
234+
229235
- name: Compile Packages
230236
run: |
231237
source /opt/ros/one/setup.bash

0 commit comments

Comments
 (0)