Re: Shifting to 4.1 (Yes, really!)

Robin Dunn <[email protected]> Sun, 22 Sep 2019 13:37:53 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
------=_Part_3300_544459888.1569184673890
Content-Type: multipart/alternative; 
	boundary="----=_Part_3301_85208176.1569184673890"

------=_Part_3301_85208176.1569184673890
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Are you sure? It works here. Maybe the old DLLs didn't get replaced in your=
=20
upgrade of the package?=20

I verified in the build log that the proper files are being copied into the=
=20
package:

copying=20
C:\PROJECTS\bb2\dist-win32-py36\build\packaging\Py3.5\vcredist\x86\Microsof=
t.VC140.CRT\msvcp140.dll=20
--> C:\PROJECTS\bb2\dist-win32-py36\build/wx/msvcp140.dll
copying=20
C:\PROJECTS\bb2\dist-win32-py36\build\packaging\Py3.5\vcredist\x86\Microsof=
t.VC140.CRT\vcruntime140.dll=20
--> C:\PROJECTS\bb2\dist-win32-py36\build/wx/vcruntime140.dll

And installing it in my local Py36-32 environment works as expected:

 >  pip install -U --pre -f https://wxpython.org/Phoenix/snapshot-builds=20
wxPython
Looking in links: https://wxpython.org/Phoenix/snapshot-builds
Collecting wxPython
  Downloading=20
https://wxpython.org/Phoenix/snapshot-builds/wxPython-4.1.0a1.dev4363+f76a7=
1a2-cp36-cp36m-win32.whl=20
(14.9MB)
    100% |=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
| 14.9MB 2.2MB/s
Requirement already satisfied, skipping upgrade: numpy in=20
c:\users\robind\.mypyenv\py36-32\lib\site-packages (from wxPython) (1.16.3)
Requirement already satisfied, skipping upgrade: six in=20
c:\users\robind\.mypyenv\py36-32\lib\site-packages (from wxPython) (1.12.0)
Requirement already satisfied, skipping upgrade: pillow in=20
c:\users\robind\.mypyenv\py36-32\lib\site-packages (from wxPython) (6.0.0)
Installing collected packages: wxPython
  Found existing installation: wxPython 4.0.6
    Uninstalling wxPython-4.0.6:
      Successfully uninstalled wxPython-4.0.6
Successfully installed wxPython-4.1.0a1.dev4363+f76a71a2
You are using pip version 18.1, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip'=
=20
command.
(Py36-32)cyclops:robind  ~
 >  python -c "import wx; print(wx.version()); a=3Dwx.App(); wx.Frame(None,=
=20
title=3D'Hello').Show()
; a.Mainloop()"
4.1.0a1.dev4363+f76a71a2 msw (phoenix) wxWidgets 3.1.3
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'App' object has no attribute 'Mainloop'
(Py36-32)cyclops:robind  ~
 >  python -c "import wx; print(wx.version()); a=3Dwx.App(); wx.Frame(None,=
=20
title=3D'Hello').Show()
; a.MainLoop()"
4.1.0a1.dev4363+f76a71a2 msw (phoenix) wxWidgets 3.1.3

--
Robin


On Sunday, September 22, 2019 at 10:35:07 AM UTC-7, woss wrote:
>
> The dev4363 is not good yet.
>
> 2019. szeptember 20., p=C3=A9ntek 18:46:23 UTC+2 id=C5=91pontban Robin Du=
nn a=20
> k=C3=B6vetkez=C5=91t =C3=ADrta:
>>
>> On Friday, September 20, 2019 at 4:49:30 AM UTC-7, woss wrote:
>>>
>>>
>>> Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.191=
6=20
>>> 32 bit (Intel)] on win32
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import wx
>>> Traceback (most recent call last):
>>>   File "<stdin>", line 1, in <module>
>>>   File "D:\env\develop\lib\site-packages\wx\__init__.py", line 17, in=
=20
>>> <module>
>>>     from wx.core import *
>>>   File "D:\env\develop\lib\site-packages\wx\core.py", line 12, in=20
>>> <module>
>>>     from ._core import *
>>> ImportError: DLL load failed: %1 is not a valid Win32 application.
>>> >>>
>>>
>>> Robin !
>>>
>>> The 'wxPython-4.1.0a1.dev4362+4c3e4296-cp36-cp36m-win32.whl' is packed=
=20
>>> with 64 bit version of 'msvcp140.dll' and 'vcruntime140.dll'.
>>> Already was wrong the dev4355 too.
>>>
>>
>>
>> Thanks. I've been tweaking the buildbot configs and porting to the newes=
t=20
>> version. I probably dropped a flag somewhere along the way.  It's probab=
ly=20
>> a simple fix, I'll take a look at it later. Please check again in the ne=
xt=20
>> build.
>>
>> --
>> Robin
>>
>>

--=20
You received this message because you are subscribed to the Google Groups "=
wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
wxPython-dev/4db81cfd-5c60-4fc7-8aff-50f222808c33%40googlegroups.com.

------=_Part_3301_85208176.1569184673890
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Are you sure? It works here. Maybe the old DLLs didn&#39;t=
 get replaced in your upgrade of the package?=C2=A0<div><br></div><div>I ve=
rified in the build log that the proper files are being copied into the pac=
kage:<div><br></div><div><div><font face=3D"courier new, monospace">copying=
 C:\PROJECTS\bb2\dist-win32-py36\build\packaging\Py3.5\vcredist\x86\Microso=
ft.VC140.CRT\msvcp140.dll --&gt; C:\PROJECTS\bb2\dist-win32-py36\build/wx/m=
svcp140.dll</font></div><div><font face=3D"courier new, monospace">copying =
C:\PROJECTS\bb2\dist-win32-py36\build\packaging\Py3.5\vcredist\x86\Microsof=
t.VC140.CRT\vcruntime140.dll --&gt; C:\PROJECTS\bb2\dist-win32-py36\build/w=
x/vcruntime140.dll</font></div><div><br></div><div>And installing it in my =
local Py36-32 environment works as expected:</div><div><br></div><div><div>=
<font face=3D"courier new, monospace">=C2=A0&gt;=C2=A0 pip install -U --pre=
 -f https://wxpython.org/Phoenix/snapshot-builds wxPython</font></div><div>=
<font face=3D"courier new, monospace">Looking in links: https://wxpython.or=
g/Phoenix/snapshot-builds</font></div><div><font face=3D"courier new, monos=
pace">Collecting wxPython</font></div><div><font face=3D"courier new, monos=
pace">=C2=A0 Downloading https://wxpython.org/Phoenix/snapshot-builds/wxPyt=
hon-4.1.0a1.dev4363+f76a71a2-cp36-cp36m-win32.whl (14.9MB)</font></div><div=
><font face=3D"courier new, monospace">=C2=A0 =C2=A0 100% |=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=
=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88| 14.9MB 2.2MB/s</font></di=
v><div><font face=3D"courier new, monospace">Requirement already satisfied,=
 skipping upgrade: numpy in c:\users\robind\.mypyenv\py36-32\lib\site-packa=
ges (from wxPython) (1.16.3)</font></div><div><font face=3D"courier new, mo=
nospace">Requirement already satisfied, skipping upgrade: six in c:\users\r=
obind\.mypyenv\py36-32\lib\site-packages (from wxPython) (1.12.0)</font></d=
iv><div><font face=3D"courier new, monospace">Requirement already satisfied=
, skipping upgrade: pillow in c:\users\robind\.mypyenv\py36-32\lib\site-pac=
kages (from wxPython) (6.0.0)</font></div><div><font face=3D"courier new, m=
onospace">Installing collected packages: wxPython</font></div><div><font fa=
ce=3D"courier new, monospace">=C2=A0 Found existing installation: wxPython =
4.0.6</font></div><div><font face=3D"courier new, monospace">=C2=A0 =C2=A0 =
Uninstalling wxPython-4.0.6:</font></div><div><font face=3D"courier new, mo=
nospace">=C2=A0 =C2=A0 =C2=A0 Successfully uninstalled wxPython-4.0.6</font=
></div><div><font face=3D"courier new, monospace">Successfully installed wx=
Python-4.1.0a1.dev4363+f76a71a2</font></div><div><font face=3D"courier new,=
 monospace">You are using pip version 18.1, however version 19.2.3 is avail=
able.</font></div><div><font face=3D"courier new, monospace">You should con=
sider upgrading via the &#39;python -m pip install --upgrade pip&#39; comma=
nd.</font></div><div><font face=3D"courier new, monospace">(Py36-32)cyclops=
:robind=C2=A0 ~</font></div><div><font face=3D"courier new, monospace">=C2=
=A0&gt;=C2=A0 python -c &quot;import wx; print(wx.version()); a=3Dwx.App();=
 wx.Frame(None, title=3D&#39;Hello&#39;).Show()</font></div><div><font face=
=3D"courier new, monospace">; a.Mainloop()&quot;</font></div><div><font fac=
e=3D"courier new, monospace">4.1.0a1.dev4363+f76a71a2 msw (phoenix) wxWidge=
ts 3.1.3</font></div><div><font face=3D"courier new, monospace">Traceback (=
most recent call last):</font></div><div><font face=3D"courier new, monospa=
ce">=C2=A0 File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;</font=
></div><div><font face=3D"courier new, monospace">AttributeError: &#39;App&=
#39; object has no attribute &#39;Mainloop&#39;</font></div><div><font face=
=3D"courier new, monospace">(Py36-32)cyclops:robind=C2=A0 ~</font></div><di=
v><font face=3D"courier new, monospace">=C2=A0&gt;=C2=A0 python -c &quot;im=
port wx; print(wx.version()); a=3Dwx.App(); wx.Frame(None, title=3D&#39;Hel=
lo&#39;).Show()</font></div><div><font face=3D"courier new, monospace">; a.=
MainLoop()&quot;</font></div><div><font face=3D"courier new, monospace">4.1=
.0a1.dev4363+f76a71a2 msw (phoenix) wxWidgets 3.1.3</font></div></div><div>=
<br></div><div>--</div><div>Robin</div><div><br></div><br>On Sunday, Septem=
ber 22, 2019 at 10:35:07 AM UTC-7, woss wrote:<blockquote class=3D"gmail_qu=
ote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padd=
ing-left: 1ex;"><div dir=3D"ltr">The dev4363 is not good yet.<br><br>2019. =
szeptember 20., p=C3=A9ntek 18:46:23 UTC+2 id=C5=91pontban Robin Dunn a k=
=C3=B6vetkez=C5=91t =C3=ADrta:<blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
dir=3D"ltr">On Friday, September 20, 2019 at 4:49:30 AM UTC-7, woss wrote:<=
blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border=
-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br></div><div=
><div>Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1=
916 32 bit (Intel)] on win32</div><div>Type &quot;help&quot;, &quot;copyrig=
ht&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<=
/div><div>&gt;&gt;&gt; import wx</div><div>Traceback (most recent call last=
):</div><div>=C2=A0 File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&g=
t;</div><div>=C2=A0 File &quot;D:\env\develop\lib\site-<wbr>packages\wx\__i=
nit__.py&quot;, line 17, in &lt;module&gt;</div><div>=C2=A0 =C2=A0 from wx.=
core import *</div><div>=C2=A0 File &quot;D:\env\develop\lib\site-<wbr>pack=
ages\wx\core.py&quot;, line 12, in &lt;module&gt;</div><div>=C2=A0 =C2=A0 f=
rom ._core import *</div><div>ImportError: DLL load failed: %1 is not a val=
id Win32 application.</div><div>&gt;&gt;&gt;</div></div><div><br></div><div=
>Robin !</div><div><br></div><div>The &#39;wxPython-4.1.0a1.dev4362+<wbr>4c=
3e4296-cp36-cp36m-win32.whl&#39; is packed with 64 bit version of &#39;msvc=
p140.dll&#39; and &#39;vcruntime140.dll&#39;.<br></div><div>Already was wro=
ng the dev4355 too.</div></div></blockquote><div><br></div><div><br></div><=
div>Thanks. I&#39;ve been tweaking the buildbot configs and porting to the =
newest version. I probably dropped a flag somewhere along the way.=C2=A0 It=
&#39;s probably a simple fix, I&#39;ll take a look at it later. Please chec=
k again in the next build.</div><div><br></div><div>--</div><div>Robin</div=
><div><br></div></div></blockquote></div></blockquote></div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wxPython-dev&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">wxPyth=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/wxPython-dev/4db81cfd-5c60-4fc7-8aff-50f222808c33%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/wxPython-dev/4db81cfd-5c60-4fc7-8aff-50f222808c33%40googlegroups.com</a=
>.<br />

------=_Part_3301_85208176.1569184673890--

------=_Part_3300_544459888.1569184673890--