Re: Does wxPython 4.0.6 must also install numpy?

Robin Dunn <[email protected]> Fri, 24 May 2019 15:58:02 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
------=_Part_1275_1572647520.1558738682609
Content-Type: multipart/alternative; 
	boundary="----=_Part_1276_274039813.1558738682609"

------=_Part_1276_274039813.1558738682609
Content-Type: text/plain; charset="UTF-8"



On Friday, May 24, 2019 at 2:26:19 PM UTC-7, ABC wrote:
>
> I'm still relying on Windows 7 32-bit Python 3.4.4 + pyinstaller to 
> package my application as an executable file, due to MSVC library inclusion 
> issues that started with Python 3.5.
>
> wxPython 4.0.6 attempts to install numpy too, which 4.0.4 didn't.
> numpy 1.16.3 installs OK on my Python 3.7, but not on my Python 3.4.4.
>
> Is numpy a must? If not, how do I instruct 4.0.6 not to install it?
>

I added it to the install dependencies list because it is imported by some 
commonly used modules in the wx.lib package. Some others didn't seem to get 
as much use so I  didn't add some other dependencies, but numpy seemed 
important enough to do so.

You can tell pip to ignore dependencies with the `--no-deps` install 
option. Note that there are not any constraints on the dependency so if 
there is an earlier version of numpy that will work in your environment 
then you can explicitly use that version number on the pip command line or 
in your requirements file.

BTW, I'm going to be dropping 3.4 support with the wxPython 4.1.x series. 
It will probably remain compatible, but I'm going to be removing those 
builds and won't be putting in any more effort specifically for 3.4 if I 
can help it. I used the newest PyInstaller with Python 3.5 earlier this 
week (although not a wxPython project) and it did a very good job of 
collecting the proper MSVC runtime libs. You may want to give it another 
try.

--
Robin

-- 
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 email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxPython-dev/673145c4-6731-4401-b3c8-2c3908b3713d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

<div dir=3D"ltr"><br><br>On Friday, May 24, 2019 at 2:26:19 PM UTC-7, ABC w=
rote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8e=
x;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>I&#=
39;m still relying on Windows 7 32-bit Python 3.4.4 + pyinstaller to packag=
e my application as an executable file, due to MSVC library inclusion issue=
s that started with Python 3.5.</div><div></div><div><br></div><div>wxPytho=
n 4.0.6 attempts to install numpy too, which 4.0.4 didn&#39;t.</div><div>nu=
mpy 1.16.3 installs OK on my Python 3.7, but not on my Python 3.4.4.</div><=
div><br></div><div>Is numpy a must? If not, how do I instruct 4.0.6 not to =
install it?<br></div></div></blockquote><div><br></div><div>I added it to t=
he install dependencies list because it is imported by some commonly used m=
odules in the wx.lib package. Some others didn&#39;t seem to get as much us=
e so I=C2=A0 didn&#39;t add some other dependencies, but numpy seemed impor=
tant enough to do so.</div><div><br></div><div>You can tell pip to ignore d=
ependencies with the `--no-deps` install option. Note that there are not an=
y constraints on the dependency so if there is an earlier version of numpy =
that will work in your environment then you can explicitly use that version=
 number on the pip command line or in your requirements file.</div><div><br=
></div><div>BTW, I&#39;m going to be dropping 3.4 support with the wxPython=
 4.1.x series. It will probably remain compatible, but I&#39;m going to be =
removing those builds and won&#39;t be putting in any more effort specifica=
lly for 3.4 if I can help it. I used the newest PyInstaller with Python 3.5=
 earlier this week (although not a wxPython project) and it did a very good=
 job of collecting the proper MSVC runtime libs. You may want to give it an=
other try.</div><div><br></div><div>--</div><div>Robin</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/673145c4-6731-4401-b3c8-2c3908b3713d%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/wxPython-dev/673145c4-6731-4401-b3c8-2c3908b3713d%40googlegroups.com</a=
>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_1276_274039813.1558738682609--

------=_Part_1275_1572647520.1558738682609--