[
https://issues.apache.org/jira/browse/QPID-8631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770385#comment-17770385
]
ASF subversion and git services commented on QPID-8631:
-------------------------------------------------------
Commit 1ff4397672f4c52f12530bd9470de0a67aa7378e in qpid-python's branch
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-python.git;h=1ff4397 ]
QPID-8631: fix RuntimeError: dictionary changed size during iteration
```
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/threading.py",
line 932, in _bootstrap_inner
self.run()
File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/threading.py",
line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/runner/work/qpid-python/qpid-python/qpid/connection.py", line
190, in run
self.detach_all()
File "/home/runner/work/qpid-python/qpid-python/qpid/connection.py", line
140, in detach_all
self.run()
File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/threading.py",
line 870, in run
for ssn in self.attached.values():
```
This is Python's version of the concurrent modification exception in Java.
> [python client] Add minimal python3 support (while keeping python2.7 primary)
> so that qpid-cpp build and tests work with python3
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-8631
> URL: https://issues.apache.org/jira/browse/QPID-8631
> Project: Qpid
> Issue Type: New Feature
> Components: Python Client
> Affects Versions: qpid-python-1.38.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
>
> The qpid-python project consists of an amqp client implementations for
> amqp0-8, amqp0-9, amqp0-10 protocol versions, and of tests for those clients,
> and also tests that use the clients to test qpid brokers.
> I am interested in compiling qpid-cpp (especially the cpp client) on a recent
> Linux that has Python 3. Therefore, if I don't want to skip building tests, I
> need qpid-python to work with Python 3.
> This is related to QPID-4982, QPID-8413, QPID-8516, QPID-8517 "modernization"
> issues.
> h3. Plan
> Follow https://portingguide.readthedocs.io/en/latest.
> Add things gradually, initially add changes that are py2 neutral, then in a
> next stage add thing that are py3 required (while keeping it py2 compatible).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]