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
Gustavo6046 has joined #pypy
gef_ has joined #pypy
gef has quit [Ping timeout: 245 seconds]
gef_ has quit [Ping timeout: 265 seconds]
gef has joined #pypy
daubers has quit [Read error: Connection reset by peer]
jryans has quit [Read error: Connection reset by peer]
daubers has joined #pypy
jryans has joined #pypy
gef has quit [Ping timeout: 245 seconds]
<mattip> I thought extra_tests were meant to run on cpython and pypy,
<mattip> but py3.7-errormsg-improvements adds "from traceback import _levenshtein_distance, _compute_suggestion_attribute_error"
<mattip> which doesn't exist on CPython
<mattip> and was added directly to the stdlib
<mattip> I think the import should be conditional, and the code should be moved into a lib_pypy pypy-specific module
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7704 [mattip: force build, py3.8-vectorcall]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8718 [mattip: force build, py3.8-vectorcall]
marvin has quit [Ping timeout: 264 seconds]
marvin has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7704 [mattip: force build, py3.8-vectorcall]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8718 [mattip: force build, py3.8-vectorcall]
gef has joined #pypy
<arigato> mattip: re issue 3483 (_sysconfigdata): I think the idea is that it's officially impossible to do what the OP is trying to do, but he managed with a hack that he describes, which is that the _sysconfigdata.py file is just a plain dictionary and so if he runs the wrong pypy3 (from x86_64) on the right _sysconfigdata.py (aarch64) then he gets the right answer (from aarch64)
<arigato> or I mean, this hack works on CPython but not on pypy3
<cfbolz> mattip: that's cpython's fault, they added features to the C-implementation of traceback.py, but didn't keep traceback.py in sync
<cfbolz> but I am fine with fixing tests to not crash on cpython, of course
Ninpo has quit [*.net *.split]
tumbleweed has quit [*.net *.split]
tazle has quit [*.net *.split]
antocuni has quit [*.net *.split]
pjenvey has quit [*.net *.split]
tazle has joined #pypy
tumbleweed has joined #pypy
pjenvey has joined #pypy
Ninpo has joined #pypy
antocuni has joined #pypy
<arigato> mattip: the docker used by the OP is called messense/manylinux2014-cross:aarch64 so I guess it's not a x86_64 docker
karel has joined #pypy
gef has quit [Ping timeout: 272 seconds]
Julian has joined #pypy
Julian has quit [Client Quit]
gef has joined #pypy
<mattip> arigato: I guess we could create and ship the various _sysconfigdata* files they are expecting,
<mattip> but I want to see exactly what they are, and how they are built
gef has quit [Ping timeout: 264 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
gef has joined #pypy
<mattip> arigato: inside that docker image there are executables for aarch64, and _sysconfigdata_m_linux_aarch64-linux-gnu.py files with static values for each version of cpython
<mattip> we create a single _sysconfigdata.py with dynamic values that are filled in by the interpreter when the file is imported
<mattip> so I guess we could convert the dynamic values into a platform-specific _sysconfigdata_linux* file when packaging pypy?
gef has quit [Ping timeout: 264 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 264 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 268 seconds]
gef has joined #pypy
karel has quit [Quit: Konversation terminated!]
gef has quit [Ping timeout: 245 seconds]
gef has joined #pypy
gef has quit [Ping timeout: 264 seconds]
Julian has joined #pypy
Julian has quit [Quit: leaving]
<tumbleweed> that sysconfigdata setup sounds like it came from debian multiarch. I see it made it into upstream cpython
<tumbleweed> so, yeah, would be nice to have in pypy too, to be able to co-install multiple architectures
<tumbleweed> (although I'd have to do some work to make it possible)
gef has joined #pypy
<mattip> cpython on macOS, what is the value of sys.implementation? Does it have a "_multiarch" field?
<mattip> that becomes part of the `_sysconfigdata_*` file name, see "sysconfig._get_sysconfigdata_name()"
<mattip> anyone with macOS that can help out?
Julian has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7705 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/271 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/326 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8719 [mattip: force build, multiarch]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7705 [mattip: force build, multiarch]
stkrdknmibalz has quit [Ping timeout: 252 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8719 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7706 [mattip: force build, multiarch]
gef has quit [Ping timeout: 272 seconds]
Julian has quit [Ping timeout: 272 seconds]
<mattip> it seems the gcc in the manylinux images prints nothing for "gcc --print-multiarch"
<mattip> where the one in ubuntu prints "x86_64-linux-gnu"
<mattip> I guess it will be easier to just hardcode the values
Julian has joined #pypy
gef has joined #pypy
karel has joined #pypy
Dejan has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/271 [mattip: force build, multiarch]
Julian has quit [Quit: leaving]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7706 [mattip: force build, multiarch]
gef has quit [Read error: Connection reset by peer]
gef has joined #pypy
gef has quit [Ping timeout: 272 seconds]
stkrdknmibalz has joined #pypy
gef has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/326 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7707 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8720 [mattip: force build, multiarch]
<arigato> we now officially have the #cffi channel. I'm pointing there (and also here as a second choice) in the cffi docs
<cfbolz> mattip: if I add a number of ifdefs I can get testcapimodule to compile
lesshaste has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8720 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8721 [Carl Friedrich Bolz-Tereick: force build, py3.8-vectorcall]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7707 [mattip: force build, multiarch]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7708 [Carl Friedrich Bolz-Tereick: force build, py3.8-vectorcall]
lesshaste has quit [Remote host closed the connection]
lesshaste has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7708 [Carl Friedrich Bolz-Tereick: force build, py3.8-vectorcall]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8721 [Carl Friedrich Bolz-Tereick: force build, py3.8-vectorcall]
karel has quit [Quit: Konversation terminated!]
leshaste has joined #pypy
lesshaste has quit [Ping timeout: 264 seconds]