Thanks for your response Robbie.  It seems as though the error I'm getting 
comes from a released version of qpid-python that is automatically downloaded 
during the install (See below).  Do you know if there is a way to have it 
download a snapshot version that includes the fix for the python3 syntax errors 
or if there is a snapshot of qpid-cpp that would download a newer version of 
qpid-python that supports python3?  Sorry I am very new to qpid and github so 
I'm not very familiar with how to find specific snapshots on the site.

Installed 
/tmp/qpid/python3.9/alog-qpid-cpp-1.40.0-for-boost-1.75.0.x86_64/lib/python3.9/site-packages/qpid_tools-1.40.0-py3.9.egg
Processing dependencies for qpid-tools==1.40.0
Searching for qpid-python>=0.26
Reading https://pypi.org/simple/qpid-python/
Downloading 
https://files.pythonhosted.org/packages/2a/33/026ac50a29a85d5d54dd7784a98d624f6142cb07ce185ed268ef9bd3b6dc/qpid-python-1.36.0-1.tar.gz#sha256=1a341981723a7980163e6d33530f29133433742f6f9b5b12b46d5d239548afee
Best match: qpid-python 1.36.0.post1
Processing qpid-python-1.36.0-1.tar.gz
Writing /tmp/easy_install-u03_e80q/qpid-python-1.36.0-1/setup.cfg
Running qpid-python-1.36.0-1/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-u03_e80q/qpid-python-1.36.0-1/egg-dist-tmp-_sievita
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 152, in 
save_modules
    yield saved
  File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 193, in 
setup_context
    yield
  File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 254, in 
run_setup
    _execfile(setup_script, ns)
  File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 42, in 
_execfile
    code = compile(script, filename, 'exec')
  File "/tmp/easy_install-u03_e80q/qpid-python-1.36.0-1/setup.py", line 42
    raise DistutilsFileError, \
                            ^
SyntaxError: invalid syntax





-----Original Message-----
From: Robbie Gemmell <robbie.gemm...@gmail.com>
Sent: Wednesday, April 12, 2023 5:37 AM
To: users@qpid.apache.org
Subject: [EXTERNAL]Re: Installing qpid-cpp on RHEL9 with python3 fails

Related JIRA(s..see description):
https://issues.apache.org/jira/browse/QPID-8631

On Wed, 12 Apr 2023 at 10:33, Robbie Gemmell <robbie.gemm...@gmail.com> wrote:
>
> Your mail looks to be incomplete but it probably doesnt matter.
>
> There has been minimal activity around qpid-cpp and qpid-python in
> recent years, being a bit under or over 5 years since their last
> releases
> (https://qpi/
> d.apache.org%2Freleases%2Findex.html%23current-releases&data=05%7C01%7
> CLDo%40analogic.com%7Ca50a962df6984159135108db3b398cf1%7C8d6cef0176744
> e8e9b9f1753140a64ea%7C1%7C0%7C638168890717978844%7CUnknown%7CTWFpbGZsb
> 3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%
> 7C3000%7C%7C%7C&sdata=LR8mhTZVe9KT0IVDFW98b%2FHi%2FMuvmotTOuYN4jPlz6U%
> 3D&reserved=0), and they have mostly not been updated to Python 3 to
> this point. The old client (qpid-python) in particular ceded developer
> activity to the newer AMQP 1.0 qpid-proton Python binding for the past
> several years, and Proton was updated to Python 3 years ago. I dont
> think its really expected that qpid-cpp and qpid-python currently work
> on RHEL9, given they last released before RHEL8 came out.
>
> All that said, as coincidence would have it there has been some
> activity in just the last few days which that you have just missed on
> qpid-cpp around building on newer OS, and highly related to that
> qpid-python around Python 3 since its used in a lot of the qpid-cpp
> tests...so if it's something you are interested in, maybe take a look
> there and perhaps join in.
>
> https://gith/
> ub.com%2Fapache%2Fqpid-cpp%2Fcommits%2Fmain&data=05%7C01%7CLDo%40analo
> gic.com%7Ca50a962df6984159135108db3b398cf1%7C8d6cef0176744e8e9b9f17531
> 40a64ea%7C1%7C0%7C638168890717978844%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM
> C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C
> %7C&sdata=bu0O23flAzdZjh0mawlANZJcotVr7zA0TJIRe3a%2B40k%3D&reserved=0
> https://gith/
> ub.com%2Fapache%2Fqpid-python%2Fcommits%2Fmain&data=05%7C01%7CLDo%40an
> alogic.com%7Ca50a962df6984159135108db3b398cf1%7C8d6cef0176744e8e9b9f17
> 53140a64ea%7C1%7C0%7C638168890717978844%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C
> %7C%7C&sdata=5a6S5L4%2BCbaB07FeF%2BCJXy5%2F0KWX9JznnWidDzCFW9c%3D&rese
> rved=0
>
>
> On Tue, 11 Apr 2023 at 20:37, Do, Eling <l...@analogic.com.invalid> wrote:
> >
> > Hi, I'm new to qpid and am trying to build/install qpid-cpp on RHEL9 with 
> > python3.  After download snapshot qpid-cpp-43d6b96.tar.gz I was able to 
> > successfully build it but when I try to install it I'm getting the 
> > following errors.  Has anyone come across this issue and know if there is a 
> > fix or workaround?  Thank you.
> >
> > Installed
> > /usr/local/lib/python3.9/site-packages/qpid_tools-1.40.0-py3.9.egg
> > Processing dependencies for qpid-tools==1.40.0 Searching for
> > qpid-python>=0.26 Reading
> > https://py/
> > pi.org%2Fsimple%2Fqpid-python%2F&data=05%7C01%7CLDo%40analogic.com%7
> > Ca50a962df6984159135108db3b398cf1%7C8d6cef0176744e8e9b9f1753140a64ea
> > %7C1%7C0%7C638168890717978844%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
> > AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
> > &sdata=q3P0ZOv6i58gJdX23EbX13CrMd9L7rhn0wbvUDe5qfY%3D&reserved=0
> > Downloading
> > https://fi/
> > les.pythonhosted.org%2Fpackages%2F2a%2F33%2F026ac50a29a85d5d54dd7784
> > a98d624f6142cb07ce185ed268ef9bd3b6dc%2Fqpid-python-1.36.0-1.tar.gz%2
> > 3sha256%3D1a341981723a7980163e6d33530f29133433742f6f9b5b12b46d5d2395
> > 48afee&data=05%7C01%7CLDo%40analogic.com%7Ca50a962df6984159135108db3
> > b398cf1%7C8d6cef0176744e8e9b9f1753140a64ea%7C1%7C0%7C638168890717978
> > 844%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJB
> > TiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sBC2aqXyNehXsJpuQqc
> > 5SuRD%2B%2FClaFCn2KcQ7hu6EEo%3D&reserved=0
> > Best match: qpid-python 1.36.0.post1 Processing
> > qpid-python-1.36.0-1.tar.gz Writing
> > /tmp/easy_install-9dotofd5/qpid-python-1.36.0-1/setup.cfg
> > Running qpid-python-1.36.0-1/setup.py -q bdist_egg --dist-dir
> > /tmp/easy_install-9dotofd5/qpid-python-1.36.0-1/egg-dist-tmp-w9rgkk1
> > 6
> > Traceback (most recent call last):
> >   File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 152, 
> > in save_modules
> >     yield saved
> >   File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 193, 
> > in setup_context
> >     yield
> >   File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 254, 
> > in run_setup
> >     _execfile(setup_script, ns)
> >   File "/usr/lib/python3.9/site-packages/setuptools/sandbox.py", line 42, 
> > in _execfile
> >     code = compile(script, filename, 'exec')
> >   File "/tmp/easy_install-9dotofd5/qpid-python-1.36.0-1/setup.py", line 42
> >     raise DistutilsFileError, \
> >                             ^
> > SyntaxError: invalid syntax
> >
> > During handling of the above exception, another exception occurred:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional 
commands, e-mail: users-h...@qpid.apache.org

CAUTION: This email originated from outside of the organization. Please report 
any suspicious attachments, links, or requests for sensitive information.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to