cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | insert pithy quote here
gef has joined #pypy
gef_ has joined #pypy
gef__ has joined #pypy
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
gef__ has quit [Ping timeout: 264 seconds]
gef_ has quit [Ping timeout: 272 seconds]
jryans has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 252 seconds]
exarkun has quit [Remote host closed the connection]
exarkun1 has joined #pypy
exarkun1 has quit [Remote host closed the connection]
exarkun1 has joined #pypy
gef has joined #pypy
gef_ has joined #pypy
gef_ has quit [Ping timeout: 272 seconds]
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 245 seconds]
aleale has quit [Quit: Connection closed for inactivity]
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef_ has joined #pypy
gef has joined #pypy
gef_ has quit [Ping timeout: 245 seconds]
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef_ has joined #pypy
gef has joined #pypy
gef_ has quit [Ping timeout: 268 seconds]
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
Wombatzus has quit [Quit: ERC (IRC client for Emacs 27.1)]
gef has quit [Ping timeout: 252 seconds]
gef has joined #pypy
gef_ has joined #pypy
gef_ has quit [Ping timeout: 245 seconds]
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 264 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 244 seconds]
gef has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 245 seconds]
gef_ has quit [Ping timeout: 272 seconds]
gef has joined #pypy
Eclipse2212 has joined #pypy
karel has joined #pypy
otisolsen70 has joined #pypy
gef has quit [Ping timeout: 252 seconds]
karel has quit [Quit: https://mibbit.com Online IRC Client]
gef has joined #pypy
Eclipse2212 has quit [Quit: WeeChat 3.1]
karel has joined #pypy
exarkun1 has quit [Remote host closed the connection]
exarkun1 has joined #pypy
aleale has joined #pypy
Eclipse2212 has joined #pypy
gef_ has joined #pypy
gef__ has joined #pypy
gef has quit [Ping timeout: 264 seconds]
Dejan has joined #pypy
glyph has quit [Read error: Connection reset by peer]
glyph has joined #pypy
lesshaste has joined #pypy
<lesshaste> do the binaries at https://www.pypy.org/download.html all support numpy?
Dejan has quit [Quit: Leaving]
Dejan has joined #pypy
<cfbolz> lesshaste: most should. is there a platform you're particularly interested in?
<lesshaste> cfbolz, ubuntu 20.04
<cfbolz> linux 64 definitely yes
<cfbolz> x86
<lesshaste> thanks
<lesshaste> it used to be that you needed a special version for numpy
nimaje1 has joined #pypy
<lesshaste> what is the current status of numpy support? I couldn't find any info from the last years on the website
jryans has quit [Ping timeout: 244 seconds]
daubers has quit [Ping timeout: 268 seconds]
nimaje has quit [Ping timeout: 244 seconds]
<lesshaste> https://www.pypy.org/compat.html#! mentioned numpypy which must be out of date
<lesshaste> mentions
nimaje1 is now known as nimaje
<Dejan> numpy compiles well with PyPy 3.7
<Dejan> cfbolz, did you guys have chance to merge 3.7 stuff into 3.8?
<mattip> Dejan: yes
<lesshaste> maybe the web docs need updating?
<mattip> lesshaste: please use conda, they supply not only numpy but scipy and other things
<lesshaste> thanks
<mattip> still no support for deep learning frameworks (pytorch, tensorflow), but everything else should just work on linux64
<lesshaste> mattip, could this be added to the website?
<lesshaste> the info is very minimalist currently
<lesshaste> the download page would ideally provide all the info you need to download the right thing
<lesshaste> should
<mattip> PR welcome
<lesshaste> first I would need to be the expert :)
<lesshaste> I am happy to copy whatever the experts tell me into a PR
<mattip> the point of the information is to help people who are not experts
<mattip> so it would be great if a non-expert would make a stab at contributing information that was helpful for them to get going
<mattip> we can then iterate on that to fine tune it
<mattip> I have little insight as to where a newcomers gaze falls when looking for information, since I don't use the site for that
<lesshaste> sure. I just didn't know what conda provides for example
<mattip> right, so it makes sense to write that after you try it out, hit the hurdles and figure out how to cross them, and then you can help others avoid them
<lesshaste> mattip, sort of. If you or others who have extensive experience and knowledge already know the answers to all the main questions it does seem a little perverse to keep them secret and ask someone who doesn't know to write the relevant docs
tumbleweed has quit [*.net *.split]
tazle has quit [*.net *.split]
antocuni has quit [*.net *.split]
pjenvey has quit [*.net *.split]
ammar2 has quit [*.net *.split]
<lesshaste> I am happy to help but I have very little knowledge except for sudo apt install pypy
<lesshaste> this reminds me a little of a conversation I had recently with the main nuitka dev
<mattip> there is no secret. I know to point people to that blog post. I know alot about conda and how to set up a channel, how to specify pypy
<lesshaste> I guess you also know what should really be after "Standard library modules supported by PyPy. Note that large parts of python library are implemented in pure python, so they don't have to be listed there. Please just check if it imports. If it imports, it should work:"
<lesshaste> that list in unexplained and includes numpypy
<lesshaste> that list *is unexplained
<mattip> IMO it would be less confusing to rewrite that whole section and remove that list.
<mattip> does that list help at all?
<lesshaste> ah ok
lesshaste has quit [Remote host closed the connection]
<lesshaste> what is the point that they are trying to make?
lesshaste has joined #pypy
<mattip> it is discussing stdlib modules, which are not all that interesting
<lesshaste> but _collections is not the right name is it?
<lesshaste> I mean with the "_"
<mattip> maybe it was python2?
<lesshaste> that was an underscore
<lesshaste> and numpypy?
<lesshaste> that is ancient isn't it?
<mattip> dead
<mattip> ahh, some of those are internal modules that support the stdlib modules
<lesshaste> ok so deleting the list makes sense. There used to be a website where modules were tested for compatibility I think
<mattip> it too is so out of date as to not be useful
<lesshaste> ok
<mattip> thanks, this was helpful
<Dejan> few times i was wondering how would pure python numpy perform on top of PyPy...
antocuni has joined #pypy
tazle has joined #pypy
ammar2 has joined #pypy
tumbleweed has joined #pypy
pjenvey has joined #pypy
<Dejan> once I even thought of starting a project called "pynum" that basically implements the same set of numpy modules but in pure python :)
<Dejan> temporal insanity i would say...
ammar2 has quit [Ping timeout: 265 seconds]
ammar2 has joined #pypy
<mattip> lesshaste: does this preview of a PR to fix up the page look more helpful?
<mattip> PR is here
daubers has joined #pypy
gef_ has quit [Read error: Connection reset by peer]
Eclipse2212 has quit [Quit: WeeChat 3.1]
exarkun1 has quit [Read error: Connection reset by peer]
exarkun2 has joined #pypy
jryans has joined #pypy
gef__ has quit [Read error: Connection reset by peer]
gef has joined #pypy
<lesshaste> mattip, reading it now
<lesshaste> mattip, I would state at the start that all the modules in the standard library and (?) are sped up
<lesshaste> mattip, you can use virtualenv + pip to install numpy/scipy I think. Or at least you used to be able to
<lesshaste> is there a list of commonly used incompatible modules?
<mattip> what are incompatibile modules?
<mattip> there are no binary wheels for scipy, so you will compile from source, and probably do it suboptimally
<mattip> the only commonly used module I know of that totally fails to install is h5py
<mattip> which is really not all that common
<mattip> and might even work now, with some failing corner cases
<lesshaste> mattip, I will try to install numpy and scipy with pip in a bit
gef_ has joined #pypy
<lesshaste> mattip, not a good start https://bpa.st/2GLA
<lesshaste> can you remind me how to do this?
<lesshaste> I vaguely remember there was a way to get the source
<lesshaste> I haven't done this in a long time
gef has quit [Ping timeout: 272 seconds]
<Dejan> it worked straight without problems here with latest 3.7 build
<Dejan> /opt/bin/pypy37 -> pypy-c-jit-102471-3176908cd9d2-linux64
<lesshaste> Dejan, using the same method I used in that bpaste?
<Dejan> that is the one i used
<Dejan> and i made venv just like you did
<lesshaste> I will try the latest version in that case
<Dejan> idk if the one i use is the latest, but it is one of the latest builds
<mattip> can you try to use conda?
<lesshaste> mattip, I am not really a conda user. I thought it might be helpful to test pip for the docs too
<mattip> but... that means compiling everything except numpy from source, which is going to be very painful
<lesshaste> mattip, it doesn't seem to
<Dejan> Almost all my colleagues use conda. I prefer using good, old pip only
<lesshaste> mattip, https://bpa.st/KH3Q
<lesshaste> ah sorry.. you said except numpy
<lesshaste> let me try scipy npw
<lesshaste> now
<lesshaste> if the compilation were multithreaded that could help
<lesshaste> Dejan, me too
<Dejan> Do not get me wrong, I understand how conda helps... I am just too stubborn to use it :)
<Dejan> plus... I am part of community that has Anaconda for different purposes :)
<lesshaste> :)
<lesshaste> the compilation also needs a verbose mode so you can see what it is compiling when. Maybe it has one?
daubers has quit [Quit: node-irc says goodbye]
jryans has quit [Quit: node-irc says goodbye]
<lesshaste> there was work on speeding up pypy+numpy. How did it go?
daubers has joined #pypy
<lesshaste> mattip, 7m2.309s not too bad
<lesshaste> I suggest we add the instructions for how to install numpy and scipy with pypy. It's not hard and it doesn't take too long
<lesshaste> both the conda and the pip routes
<lesshaste> trying pandas
<mattip> ok. Can you comment on the PR with the exact commands you used, including any "sudo apt install" you need?
<mattip> where did you get a fortran compiler from, openblas, any others
jryans has joined #pypy
<lesshaste> mattip, I have no idea. Must have been installed by default
gef_ has quit [Read error: Connection reset by peer]
<lesshaste> I seem to have gfortran installed
gef has joined #pypy
<lesshaste> pandas is taking longer to compile...
gef_ has joined #pypy
gef__ has joined #pypy
<lesshaste> turns out I have libblas3 not libopenblas
gef has quit [Ping timeout: 265 seconds]
<lesshaste> mattip, updated PR
exarkun2 has quit [Read error: Connection reset by peer]
exarkun2 has joined #pypy
exarkun2 has quit [Remote host closed the connection]
exarkun2 has joined #pypy
exarkun2 has quit [Quit: WeeChat 2.4]
gef__ has quit [Ping timeout: 272 seconds]
gef_ has quit [Ping timeout: 265 seconds]
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
gef has joined #pypy
Julian has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
stkrdknmibalz has joined #pypy
lesshaste has quit [Remote host closed the connection]
lesshaste has joined #pypy
mgorny has joined #pypy
gef has quit [Ping timeout: 272 seconds]
Dejan has quit [Quit: Leaving]
Julian has quit [Quit: leaving]
gef has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef_ has quit [Ping timeout: 252 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 265 seconds]
gef has joined #pypy
gef_ has joined #pypy
gef_ has quit [Ping timeout: 272 seconds]
gef has quit [Ping timeout: 272 seconds]
Gustavo6046 has joined #pypy
gef has joined #pypy
Arfrever has quit [Quit: 御出で]
gef has quit [Read error: Connection reset by peer]
gef has joined #pypy
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
karel has quit [Quit: Konversation terminated!]
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
Gustavo6046 has quit [Quit: ZNC 1.8.2 - https://znc.in]
Gustavo6046 has joined #pypy
Gustavo6046_ has joined #pypy