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 | Matti: I made a bit of progress, the tests now only segfault towards the end
derpydoo has joined #pypy
jcea has quit [Ping timeout: 255 seconds]
derpydoo has quit [Quit: derpydoo]
epony has quit [Ping timeout: 272 seconds]
otisolsen70 has joined #pypy
epony has joined #pypy
epony has quit [Max SendQ exceeded]
epony has joined #pypy
epony has quit [Remote host closed the connection]
epony has joined #pypy
<tumbleweed> mattip: great :)
Dejan has joined #pypy
lesshaste has joined #pypy
lesshaste has quit [Client Quit]
lesshaste has joined #pypy
<lesshaste> mattip, I just tried it. I now get https://bpa.st/JKYQ
<mattip> right, we still have not figured out why creating a virtual environment with "python -m venv" does not properly symlink tkinter
<mattip> please try
<lesshaste> ok
<mattip> sudo apt install virtualenv
<mattip> virtualenv -p <path/to/pypy3/bin/pypy> /tmp/venv
<lesshaste> trying it with the new env
<tumbleweed> does it *need* to symlink virtualenv?
<lesshaste> mattip, that works
<tumbleweed> virtualenv doesn't seem to
<lesshaste> it creates a lot of things in lib
<lesshaste> which python -m venv doesn't creat
<tumbleweed> doesn't for me
<tumbleweed> I assume you're using a pypy.org distributed pypy3, with bundled libs
<lesshaste> virtualenv --version
<lesshaste> virtualenv 20.13.0+ds from /usr/lib/python3/dist-packages/virtualenv/__init__.py
<tumbleweed> which would explain why you need that symlink
<lesshaste> tumbleweed, I am using the pypy3 linked from the pypy website
<tumbleweed> yeah, I understand your issue now
<lesshaste> python --version
<lesshaste> Python 3.8.13 (4b1398fe9d76ad762155d03684c2a153d230b2ef, Mar 29 2022, 07:08:24)
<lesshaste> [PyPy 7.3.9 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
<lesshaste> if there was some way to pip install pypy that would be so much better of course!
<mattip> it seems like a bug in stdlib venv, that we should fix in the pypy we distribute
<mattip> since we call that a "portable pypy"
<lesshaste> that would be great
jinsun has joined #pypy
jcea has joined #pypy
derpydoo has joined #pypy
lesshaste has quit [Ping timeout: 248 seconds]
sam_ has quit [Quit: ZNC - http://znc.in]
lesshaste has joined #pypy
sam_ has joined #pypy
derpydoo has quit [Quit: derpydoo]
derpydoo has joined #pypy
otisolsen70 has quit [Quit: Leaving]
lesshaste has quit [Ping timeout: 272 seconds]
derpydoo has quit [Ping timeout: 246 seconds]
derpydoo has joined #pypy
derpydoo has quit [Quit: derpydoo]
derpydoo has joined #pypy
<hexology> how does pypy work with traditional cpython c extensions? does it implement a compatibility interface of some kind?
<Hodgestar> hexology: Yes. The compatibility layer is called cpyext.
<Hodgestar> hexology: One place to start reading about the workings of cpyext -- https://www.pypy.org/posts/2018/09/inside-cpyext-why-emulating-cpython-c-8083064623681286567.html
<hexology> Hodgestar: thanks! and pypy *also* implements hpy?
<hexology> or is that still WIP?
<hexology> also, i am wondering what are the chances of successfully building a cython library that wraps a c++ library. i don't think there are additional complicated dependencies, but does cython mostly work with cpyext?
<hexology> *successfully building for pypy
derpydoo has quit [Ping timeout: 255 seconds]
lesshaste has joined #pypy
lesshaste has quit [Ping timeout: 248 seconds]
jinsun has quit [Killed (osmium.libera.chat (Nickname regained by services))]
jinsun has joined #pypy
jinsun has quit [Read error: Connection reset by peer]