Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.5.2
-
None
-
Ubuntu 20.04
Python 3.8.10
python3 -m pip list
Package Version
------------------------------- --------
actionlib 1.14.0
aiodocker 0.21.0
aiohttp 3.8.5
aiosignal 1.3.1
alabaster 0.7.13
angles 1.9.13
async-timeout 4.0.3
atomicwrites 1.1.5
attrs 19.3.0
Babel 2.12.1
bcrypt 3.1.7
black 23.3.0
bondpy 1.8.6
catkin 0.8.10
catkin-lint 1.6.22
catkin-pkg 0.5.2
catkin-pkg-modules 0.5.2
catkin-tools 0.9.2
certifi 2023.5.7
cfgv 3.3.1
chardet 3.0.4
charset-normalizer 3.1.0
click 8.1.3
cmake-format 0.6.13
cmakelang 0.6.13
configobj 5.0.6
controller-manager 0.19.6
controller-manager-msgs 0.19.6
cov-core 1.15.0
coverage 4.5.2
crcmod 1.7
cryptography 2.8
cv-bridge 1.16.2
cycler 0.10.0
dbus-next 0.2.3
dbus-python 1.2.16
defusedxml 0.6.0
diagnostic-updater 1.11.0
distlib 0.3.6
distro 1.4.0
docker 6.1.3
docutils 0.20.1
dynamic-reconfigure 1.7.3
empy 3.3.2
filelock 3.12.2
flake8 6.0.0
frozenlist 1.4.0
future 0.18.2
fysom 2.1.6
gencpp 0.7.0
geneus 3.0.0
genlisp 0.4.18
genmsg 0.6.0
gennodejs 2.0.2
genpy 0.6.15
hal_hw_interface 0.0.0
hidapi 0.14.0
identify 2.5.24
idna 3.4
ifaddr 0.2.0
imagesize 1.4.1
importlib-metadata 6.7.0
inotify-simple 1.3.5
interactive-markers 1.12.0
Jinja2 3.1.2
joint-state-publisher 1.15.1
joint-state-publisher-gui 1.15.1
kitchen 1.2.6
kiwisolver 1.0.1
laser_geometry 1.6.7
lxml 4.9.2
machinetalk-protobuf 1.2.1
MarkupSafe 2.1.3
matplotlib 3.1.2
mccabe 0.7.0
message-filters 1.16.0
mock 3.0.5
more-itertools 4.2.0
moveit-commander 1.1.11
moveit-core 1.1.11
moveit-ros-planning-interface 1.1.11
moveit-ros-visualization 1.1.11
multidict 6.0.4
mypy-extensions 1.0.0
netifaces 0.10.4
nodeenv 1.8.0
nose 1.3.7
nose2 0.9.1
numpy 1.17.4
osrf-pycommon 2.0.2
packaging 23.1
pandas 0.25.3
paramiko 2.6.0
parso 0.5.2
pathspec 0.11.1
pbr 5.4.5
pep8-naming 0.13.3
Pillow 7.0.0
Pint 0.21.1
pip 23.2.1
platformdirs 3.8.0
pluggy 0.13.0
pre-commit 3.3.3
protobuf 3.20.0
psutil 5.5.1
py 1.11.0
pyassimp 4.1.4
pycairo 1.16.2
pycodestyle 2.10.0
pycryptodomex 3.6.1
pydot 1.4.1
pyflakes 3.0.1
pyftpdlib 1.5.4
Pygments 2.15.1
PyGObject 3.36.0
pymachinetalk 0.13.3
PyNaCl 1.3.0
PyOpenGL 3.1.0
pyparsing 2.4.6
PyQt5 5.14.1
PyQtWebEngine 5.14.0
PySide6 6.5.2
PySide6-Addons 6.5.2
PySide6-Essentials 6.5.2
pytest 4.6.9
pytest-cov 2.8.1
pytest-dependency 0.5.1
pytest-mock 1.10.4
pytest-qt 3.2.2
python-dateutil 2.7.3
python-gnupg 0.4.5
python-qt-binding 0.4.4
python-xlib 0.23
pytz 2023.3
PyYAML 5.3.1
pyzmq 18.1.1
qasync 0.24.0
qt-dotgraph 0.4.2
qt-gui 0.4.2
qt-gui-cpp 0.4.2
qt-gui-py-common 0.4.2
redis 3.3.11
redis_store 0.1.5
requests 2.31.0
resource_retriever 1.12.7
roman 2.0.0
ros_pytest 0.2.1
rosbag 1.16.0
rosboost-cfg 1.15.8
rosclean 1.15.8
roscreate 1.15.8
rosdep 0.22.2
rosdep-modules 0.22.2
rosdistro 0.9.0
rosdistro-modules 0.9.0
rosdoc_lite 0.2.10
rosgraph 1.16.0
rosinstall 0.7.8
rosinstall-generator 0.1.23
roslaunch 1.16.0
roslib 1.15.8
roslint 0.12.0
roslz4 1.16.0
rosmake 1.15.8
rosmaster 1.16.0
rosmsg 1.16.0
rosnode 1.16.0
rosparam 1.16.0
rospkg 1.5.0
rospkg-modules 1.5.0
rospy 1.16.0
rosservice 1.16.0
rostest 1.16.0
rostopic 1.16.0
rosunit 1.15.8
roswtf 1.16.0
rqt_action 0.4.9
rqt_bag 0.5.1
rqt_bag_plugins 0.5.1
rqt_console 0.4.11
rqt_dep 0.4.12
rqt_graph 0.4.14
rqt_gui 0.5.3
rqt_gui_py 0.5.3
rqt-image-view 0.4.17
rqt_joint_trajectory_controller 0.18.1
rqt_launch 0.4.8
rqt_logger_level 0.4.11
rqt-moveit 0.5.10
rqt_msg 0.4.10
rqt_nav_view 0.5.7
rqt_plot 0.4.13
rqt_pose_view 0.5.11
rqt_publisher 0.4.10
rqt_py_common 0.5.3
rqt_py_console 0.4.10
rqt-reconfigure 0.5.5
rqt-robot-dashboard 0.5.8
rqt-robot-monitor 0.5.14
rqt_robot_steering 0.5.12
rqt_runtime_monitor 0.5.9
rqt-rviz 0.7.0
rqt_service_caller 0.4.10
rqt_shell 0.4.11
rqt_srv 0.4.9
rqt_tf_tree 0.6.3
rqt_top 0.4.10
rqt_topic 0.4.13
rqt_web 0.4.10
ruamel.yaml 0.15.89
rviz 1.14.20
semver 3.0.1
sensor-msgs 1.13.1
setproctitle 1.1.10
setuptools 45.2.0
sh 1.12.14
shiboken6 6.5.2
simplejson 3.16.0
sip 4.19.21
six 1.14.0
smclib 1.8.6
snowballstemmer 2.2.0
Sphinx 7.0.1
sphinx-rtd-theme 0.4.3
sphinxcontrib-applehelp 1.0.4
sphinxcontrib-confluencebuilder 2.2.0
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 2.0.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5
srdfdom 0.6.4
supervisor 4.2.2
supervisor-stdout 0.1.1
tf 1.13.2
tf-conversions 1.13.2
tf2-geometry-msgs 0.7.6
tf2-kdl 0.7.6
tf2-py 0.7.6
tf2-ros 0.7.6
tomli 2.0.1
topic-tools 1.16.0
typing_extensions 4.7.1
tzlocal 2.1b1
unique_id 1.0.6
urdfdom-py 0.4.6
urllib3 2.0.3
vcstools 0.1.42
virtualenv 20.23.1
wcwidth 0.1.8
websocket-client 1.6.1
wheel 0.34.2
wstool 0.1.18
xacro 1.14.16
xdot 1.1
Yapps2 2.2.1
yarl 1.9.2
zeroconf 0.76.0
zipp 1.0.0Ubuntu 20.04 Python 3.8.10 python3 -m pip list Package Version ------------------------------- -------- actionlib 1.14.0 aiodocker 0.21.0 aiohttp 3.8.5 aiosignal 1.3.1 alabaster 0.7.13 angles 1.9.13 async-timeout 4.0.3 atomicwrites 1.1.5 attrs 19.3.0 Babel 2.12.1 bcrypt 3.1.7 black 23.3.0 bondpy 1.8.6 catkin 0.8.10 catkin-lint 1.6.22 catkin-pkg 0.5.2 catkin-pkg-modules 0.5.2 catkin-tools 0.9.2 certifi 2023.5.7 cfgv 3.3.1 chardet 3.0.4 charset-normalizer 3.1.0 click 8.1.3 cmake-format 0.6.13 cmakelang 0.6.13 configobj 5.0.6 controller-manager 0.19.6 controller-manager-msgs 0.19.6 cov-core 1.15.0 coverage 4.5.2 crcmod 1.7 cryptography 2.8 cv-bridge 1.16.2 cycler 0.10.0 dbus-next 0.2.3 dbus-python 1.2.16 defusedxml 0.6.0 diagnostic-updater 1.11.0 distlib 0.3.6 distro 1.4.0 docker 6.1.3 docutils 0.20.1 dynamic-reconfigure 1.7.3 empy 3.3.2 filelock 3.12.2 flake8 6.0.0 frozenlist 1.4.0 future 0.18.2 fysom 2.1.6 gencpp 0.7.0 geneus 3.0.0 genlisp 0.4.18 genmsg 0.6.0 gennodejs 2.0.2 genpy 0.6.15 hal_hw_interface 0.0.0 hidapi 0.14.0 identify 2.5.24 idna 3.4 ifaddr 0.2.0 imagesize 1.4.1 importlib-metadata 6.7.0 inotify-simple 1.3.5 interactive-markers 1.12.0 Jinja2 3.1.2 joint-state-publisher 1.15.1 joint-state-publisher-gui 1.15.1 kitchen 1.2.6 kiwisolver 1.0.1 laser_geometry 1.6.7 lxml 4.9.2 machinetalk-protobuf 1.2.1 MarkupSafe 2.1.3 matplotlib 3.1.2 mccabe 0.7.0 message-filters 1.16.0 mock 3.0.5 more-itertools 4.2.0 moveit-commander 1.1.11 moveit-core 1.1.11 moveit-ros-planning-interface 1.1.11 moveit-ros-visualization 1.1.11 multidict 6.0.4 mypy-extensions 1.0.0 netifaces 0.10.4 nodeenv 1.8.0 nose 1.3.7 nose2 0.9.1 numpy 1.17.4 osrf-pycommon 2.0.2 packaging 23.1 pandas 0.25.3 paramiko 2.6.0 parso 0.5.2 pathspec 0.11.1 pbr 5.4.5 pep8-naming 0.13.3 Pillow 7.0.0 Pint 0.21.1 pip 23.2.1 platformdirs 3.8.0 pluggy 0.13.0 pre-commit 3.3.3 protobuf 3.20.0 psutil 5.5.1 py 1.11.0 pyassimp 4.1.4 pycairo 1.16.2 pycodestyle 2.10.0 pycryptodomex 3.6.1 pydot 1.4.1 pyflakes 3.0.1 pyftpdlib 1.5.4 Pygments 2.15.1 PyGObject 3.36.0 pymachinetalk 0.13.3 PyNaCl 1.3.0 PyOpenGL 3.1.0 pyparsing 2.4.6 PyQt5 5.14.1 PyQtWebEngine 5.14.0 PySide6 6.5.2 PySide6-Addons 6.5.2 PySide6-Essentials 6.5.2 pytest 4.6.9 pytest-cov 2.8.1 pytest-dependency 0.5.1 pytest-mock 1.10.4 pytest-qt 3.2.2 python-dateutil 2.7.3 python-gnupg 0.4.5 python-qt-binding 0.4.4 python-xlib 0.23 pytz 2023.3 PyYAML 5.3.1 pyzmq 18.1.1 qasync 0.24.0 qt-dotgraph 0.4.2 qt-gui 0.4.2 qt-gui-cpp 0.4.2 qt-gui-py-common 0.4.2 redis 3.3.11 redis_store 0.1.5 requests 2.31.0 resource_retriever 1.12.7 roman 2.0.0 ros_pytest 0.2.1 rosbag 1.16.0 rosboost-cfg 1.15.8 rosclean 1.15.8 roscreate 1.15.8 rosdep 0.22.2 rosdep-modules 0.22.2 rosdistro 0.9.0 rosdistro-modules 0.9.0 rosdoc_lite 0.2.10 rosgraph 1.16.0 rosinstall 0.7.8 rosinstall-generator 0.1.23 roslaunch 1.16.0 roslib 1.15.8 roslint 0.12.0 roslz4 1.16.0 rosmake 1.15.8 rosmaster 1.16.0 rosmsg 1.16.0 rosnode 1.16.0 rosparam 1.16.0 rospkg 1.5.0 rospkg-modules 1.5.0 rospy 1.16.0 rosservice 1.16.0 rostest 1.16.0 rostopic 1.16.0 rosunit 1.15.8 roswtf 1.16.0 rqt_action 0.4.9 rqt_bag 0.5.1 rqt_bag_plugins 0.5.1 rqt_console 0.4.11 rqt_dep 0.4.12 rqt_graph 0.4.14 rqt_gui 0.5.3 rqt_gui_py 0.5.3 rqt-image-view 0.4.17 rqt_joint_trajectory_controller 0.18.1 rqt_launch 0.4.8 rqt_logger_level 0.4.11 rqt-moveit 0.5.10 rqt_msg 0.4.10 rqt_nav_view 0.5.7 rqt_plot 0.4.13 rqt_pose_view 0.5.11 rqt_publisher 0.4.10 rqt_py_common 0.5.3 rqt_py_console 0.4.10 rqt-reconfigure 0.5.5 rqt-robot-dashboard 0.5.8 rqt-robot-monitor 0.5.14 rqt_robot_steering 0.5.12 rqt_runtime_monitor 0.5.9 rqt-rviz 0.7.0 rqt_service_caller 0.4.10 rqt_shell 0.4.11 rqt_srv 0.4.9 rqt_tf_tree 0.6.3 rqt_top 0.4.10 rqt_topic 0.4.13 rqt_web 0.4.10 ruamel.yaml 0.15.89 rviz 1.14.20 semver 3.0.1 sensor-msgs 1.13.1 setproctitle 1.1.10 setuptools 45.2.0 sh 1.12.14 shiboken6 6.5.2 simplejson 3.16.0 sip 4.19.21 six 1.14.0 smclib 1.8.6 snowballstemmer 2.2.0 Sphinx 7.0.1 sphinx-rtd-theme 0.4.3 sphinxcontrib-applehelp 1.0.4 sphinxcontrib-confluencebuilder 2.2.0 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 2.0.1 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.5 srdfdom 0.6.4 supervisor 4.2.2 supervisor-stdout 0.1.1 tf 1.13.2 tf-conversions 1.13.2 tf2-geometry-msgs 0.7.6 tf2-kdl 0.7.6 tf2-py 0.7.6 tf2-ros 0.7.6 tomli 2.0.1 topic-tools 1.16.0 typing_extensions 4.7.1 tzlocal 2.1b1 unique_id 1.0.6 urdfdom-py 0.4.6 urllib3 2.0.3 vcstools 0.1.42 virtualenv 20.23.1 wcwidth 0.1.8 websocket-client 1.6.1 wheel 0.34.2 wstool 0.1.18 xacro 1.14.16 xdot 1.1 Yapps2 2.2.1 yarl 1.9.2 zeroconf 0.76.0 zipp 1.0.0
Description
Using pytest with the PySide6 and Python 3.8 I noticed the following error (and variations depending on the import used).
File "shibokensupport/signature/loader.py", line 61, in feature_imported File "shibokensupport/feature.py", line 137, in feature_imported File "shibokensupport/feature.py", line 148, in _mod_uses_pyside File "/usr/lib/python3.8/inspect.py", line 997, in getsource lines, lnum = getsourcelines(object) File "/usr/lib/python3.8/inspect.py", line 979, in getsourcelines lines, lnum = findsource(object) File "/usr/lib/python3.8/inspect.py", line 794, in findsource lines = linecache.getlines(file, module.__dict__) File "/usr/local/lib/python3.8/dist-packages/py/_vendored_packages/apipkg/__init__.py", line 177, in __dict__ self.__makeattr(name) File "/usr/local/lib/python3.8/dist-packages/py/_vendored_packages/apipkg/__init__.py", line 157, in __makeattr result = importobj(modpath, attrname) File "/usr/local/lib/python3.8/dist-packages/py/_vendored_packages/apipkg/__init__.py", line 75, in importobj module = __import__(modpath, None, None, ["__doc__"]) File "shibokensupport/signature/loader.py", line 61, in feature_imported File "shibokensupport/feature.py", line 137, in feature_imported File "shibokensupport/feature.py", line 148, in _mod_uses_pyside File "/usr/lib/python3.8/inspect.py", line 997, in getsource lines, lnum = getsourcelines(object) File "/usr/lib/python3.8/inspect.py", line 978, in getsourcelines object = unwrap(object) File "/usr/lib/python3.8/inspect.py", line 520, in unwrap while _is_wrapper(func): File "/usr/lib/python3.8/inspect.py", line 511, in _is_wrapper return hasattr(f, '__wrapped__') RecursionError: maximum recursion depth exceeded while calling a Python object
Investigating into this I found the source to be in shibokensupport/feature.py
This issue can be nicely reproduced with
import py import PySide6.Qtcore import shibokensupport.feature shibokensupport.feature.__init__()
Other options include calling from {}feature{} import snake_case after importing py (done by pytest internally), which calls this method.
Might be related to PYSIDE-2393
Attachments
Issue Links
- relates to
-
PYSIDE-2393 regression when using pytest-forked (infinite recursion)
- Closed