[
https://issues.apache.org/jira/browse/PROTON-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967414#comment-16967414
]
ASF GitHub Bot commented on PROTON-2126:
----------------------------------------
jdanekrh commented on issue #200: PROTON-2126 Fix Appveyor CI build
URL: https://github.com/apache/qpid-proton/pull/200#issuecomment-549757732
What I thought was important in this PR was to run pip using `"%PYTHON% -m
pip install`, because that ensures the pip used corresponds to version of
python being used. Appveyor VMs have 5+ versions of python installed at the
same time, 32bit and 64bit variants. Not doing this was causing the original
appveyor issue. That got merged.
When you install the wheel package, or when you use python venv which
automatically brings in wheel package, then the setup.py needs also updating.
And this got merged also.
I also thought that it is a good idea to drop the --user flag from pip
invocation, since 1) test runs on throwaway VM 2) appveyor files I examined did
not bother with it 3) one less flag to worry about.
----------------------------------------------------------------
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]