[ 
https://issues.apache.org/jira/browse/PROTON-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967631#comment-16967631
 ] 

ASF GitHub Bot commented on PROTON-2126:
----------------------------------------

astitcher commented on issue #200: PROTON-2126 Fix Appveyor CI build
URL: https://github.com/apache/qpid-proton/pull/200#issuecomment-549889796
 
 
   For reference I choose python 3.5 because it is present on every appveyor 
image and so avoided messing with a matrix of different versions.
   I left the --user flag not because it's needed here, but because it allows 
the build logic to be common across different CI platforms even if the actual 
'code' is different - ie it will work on a non privileged account as well on 
Windows or Unix.
   Also note that the python binding (rather than the python build code) is 
tested using tox (if present) and this will test py26, py27, py35, py36, py37 & 
py38 (I think that's the correct list) if it can find them regardless of the 
python used for the build.
   I removed the VS9 install part because once you move to python3 for the 
build it's not needed (and doesn't fail the tox test) and is not important for 
this kind of CI run IMO.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Appveyor: pip install --user setuptools tox: `exec code in run_globals` File 
> "C:\Python27\Scripts\pip.exe\__main__.py", line 9, in <module> TypeError: 
> 'module' object is not callable Command exited with code 1
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2126
>                 URL: https://issues.apache.org/jira/browse/PROTON-2126
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build
>    Affects Versions: proton-c-0.30.0
>            Reporter: Jiri Daněk
>            Priority: Major
>             Fix For: proton-c-0.30.0
>
>
> All Proton Appveyor CI builds are failing with the following error.
> {noformat}
> $ pip install --user --upgrade pip
> Collecting pip
>   Downloading 
> https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl
>  (1.4MB)
> Installing collected packages: pip
> Successfully installed pip-19.3.1
> You are using pip version 18.1, however version 19.3.1 is available.
> You should consider upgrading via the 'python -m pip install --upgrade pip' 
> command.
> pip install --user setuptools tox
> Traceback (most recent call last):
>   File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "c:\python27\lib\runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "C:\Python27\Scripts\pip.exe\__main__.py", line 9, in <module>
> TypeError: 'module' object is not callable
> Command exited with code 1
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to