[issue36572] python-snappy install issue during Crossbar install with Python 3.7.3 (Windows x86 executable installer)

2019-04-09 Thread Slim


New submission from Slim :

In a Windows 2016 VM, when trying to install Crossbar in offline mode, we 
observed the following error:

error Running setup.py install for python-snappy ... error
...
snappy/snappymodule.cc(31): fatal error C1083: Cannot open include file: 
'snappy-c.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual 
Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.20.27508\\bin\\HostX86\\x86\\cl.exe'
 failed with exit status 2

Here the steps to reproduce this issue:
0) In a Windows 10 machine (where we create our MSI):
-> we download the corresponding python-3.7.3.exe (Windows x86 executable 
installer)
-> we download pyWin32 & crossbar & pip in a specific folder:
pip download -d "C:\Crossbar373" PyWin32==224
pip download -d "C:\Crossbar373" crossbar==19.3.5
pip download -d "C:\Crossbar373" pip==19.0.3

-> python-3.7.3.exe /quiet /layout "C:\Temp\Python373Layout"
-> Our MSI use this folder as an input to install Python 3.7.3 in the target 
Windows 2016 VM in offline mode

1) In the target Windows 2016 VM (where we launch our MSI):
-> Our MSI install Visual Studio 2019 from 
https://visualstudio.microsoft.com/downloads/ (default values)
-> It also removes the MAX_PATH Limitation
-> It copies all the files needed to install crossbar in the "C:\Crossbar373" 
folder
-> Then it executes the following custom actions in this machine:
   a) python-3.7.3.exe /quiet InstallAllUsers=1 
TargetDir="C:\Python373x86ExecInstaller" PrependPath=1 Include_pip=0 
Include_launcher=0 Include_test=0
   b) python -m pip install --upgrade pip==19.0.3
   c) pip.exe install --no-warn-script-location --disable-pip-version-check 
--no-index --find-links "C:\Crossbar373" PyWin32==224
   d) pip.exe install --no-warn-script-location --disable-pip-version-check 
--no-index --find-links "C:\Crossbar373" incremental
   e) pip.exe install --no-warn-script-location --disable-pip-version-check 
--no-index --find-links "C:\Crossbar373" crossbar
   f) Finally, this issue occurs.

The only workaround found to fix this issue is to:
1) download python_snappy-0.5.4-cp37-cp37m-win32.whl from 
https://www.lfd.uci.edu/~gohlke/pythonlibs/
2) and install it with our MSI in the target VM before step e):
   pip install C:\Crossbar372\python_snappy-0.5.4-cp37-cp37m-win32.whl

This issue seems also to occur with Python 3.7.2 version.

Questions:
1) Is there any invalid step in our process?
2) Is this workaround validated by you? As this wheel file does not seem to be 
official.
3) Is this issue related to https://github.com/crossbario/crossbar/issues/1521 
one? and thus will be fixed in forthcoming versions?

--
messages: 339721
nosy: telatoa
priority: normal
severity: normal
status: open
title: python-snappy install issue during Crossbar install with Python 3.7.3 
(Windows x86 executable installer)
type: compile error
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue36572>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36446] Need Windows x86-64 MSI installer for Python >= 3.x.x

2019-03-27 Thread Slim


New submission from Slim :

Currently, Windows MSI installers are only available for Python versions <= 
2.7.16.

Could you please generate Windows MSI installers also for Python versions >= 
3.x.x in order to be able to upgrade from 2.7.16 version to latest 3.x.x 
version?

Indeed, Python 2.7.x versions will be deprecated at the end of 2019, as shown 
by following log:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. 
Please upgrade your Python as Python 2.7 won't be maintained after that date. A 
future version of pip will drop support for Python 2.7.

--
components: Windows
messages: 338946
nosy: paul.moore, steve.dower, telatoa, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Need Windows x86-64 MSI installer for Python >= 3.x.x
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue36446>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com