cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
nulano has quit [Ping timeout: 272 seconds]
nulano has joined #pypy
lritter has joined #pypy
lritter has quit [Quit: Leaving]
jcea has quit [Ping timeout: 260 seconds]
oberstet has quit [Quit: Leaving]
lritter has joined #pypy
lritter has quit [Ping timeout: 264 seconds]
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
xcm has quit [Ping timeout: 264 seconds]
lritter has joined #pypy
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
infernix has joined #pypy
<arigato> help? that's about cffi
<arigato> Azure pipeline now fails to build a Linux release
<arigato> though there are many levels and so maybe the "fault" is in cibuildwheel
<arigato> it's downloading the docker image "quay.io/pypa/manylinux1_x86_64:2020-10-06-c4a4a7c"
<arigato> inside it, it runs "sh -c 'yum install ...'"
<antocuni> arigato: link to the error log?
<arigato> ah yes, forgot that this link is public
<antocuni> arigato: from the traceback it looks like "yum" is trying to connect to some HTTP server but fails due to an ssl error
<arigato> Yes
<arigato> Any idea at all about what I can do now?
<antocuni> in theory, you can download the docker image locally and get a shell inside it to try things
<antocuni> but in practice, I am failing to get a shell inside this specific image and I don't know why
<antocuni> ok, it seems to be a docker problem of bencher7, because the same command line works on my machine
<antocuni> arigato: so, what I did is:
<antocuni> docker run -it quay.io/pypa/manylinux1_x86_64:2020-10-06-c4a4a7c # this gives you a bash prompt inside the docker image
<antocuni> and from inside the docker:
<antocuni> yum install -y texinfo
<antocuni> and it seems to work. So it doesn't seem a problem related to the docker image (e.g. ssl version too old or so) nor the web server
oberstet has joined #pypy
<antocuni> so I suggest to just restart the job and see whether the error is gone magically
<arigato> Ok
<arigato> because one problem never comes alone:
<arigato> now I can no longer push to ssh://hg@foss.heptapod.net/pypy/cffi
<antocuni> horray technology :(
<antocuni> arigato: FWIW, I can successfully clone that repo
<antocuni> arigato: but if you want to push to rerun the job, it's not strictly necessary. There should be a button to restart the job directly inside azure pipelines
<arigato> I'm trying to push to heptapod, not github
<arigato> but yes, indeed, I can ignore the problem and push to the git mirror anyway
<antocuni> the traceback looks like an error inside heptapod code itself
<antocuni> marmoute: ^^^
<arigato> yes
<marmoute> Yep, can you jump on the mattermost and report the bug ?
<arigato> sorry, there are too many subprojects inside the heptapod group for me to be sure
<marmoute> omnibus is the "internal" deployement system (to install heptapod).
<arigato> thanks
<arigato> antocuni: OK, the error seems to have disappeared. *shrug* internet technology
<antocuni> good :)
<arigato> another minor bug report about the issue tracker itself of heptapod: when I post, the date is initially set to "in two minutes", which goes down to zero and then to "xxx ago". Looks like a small unsynchronized time issue :-)
<antocuni> arigato: it might be that it's using your local browser time to compute "xxx ago"
<antocuni> actually, it's likely that it's using that, else it has no chances to update it in real time without doing an http request
<arigato> ah
<arigato> I thought it would be using a combination: get the initial server time, and then use delta times locally (so not depend on my absolute local time)
<arigato> but indeed, my computer's clock is two minutes late. it's time to debug my time
<antocuni> FWIW, it seems it's using this JS library to do that: https://timeago.org/
<antocuni> investigating whether it's using the absolute local clock or a delta is left as an exercise to the reader
<arigato> thanks :-)
<arigato> mattip: re issue #3348: maybe it occurs because of the exact details of libexpat.so?
<arigato> I would suggest to try in Ubuntu 20.04, if you know how to set that up easily
<mattip> I am using the tarball as downloaded, which vendors lib/libexpat.so.1
<arigato> ah right
<mattip> but maybe the reporter is locally compiling?
<arigato> unlikely
<arigato> his "pypy3" reports the exact same version info as the one from the 7.3.3 tarball
<arigato> including the compilation date, so yes
<mattip> ahh, right, missed that thanks
<mattip> I even tried creating virtualenvs via
<mattip> pypy -mvenv /tmp/pypyv1
<mattip> and
<mattip> virtualenv -p pypy3 /tmp/pypyv2
<mattip> still cannot reproduce
<arigato> mattip: unrelated: I should try to finish the py3.7-rsre branch
<mattip> would be nice to add in the rutf8-simd one as well
<mattip> where did the py3.7-rsre one get stuck?
<arigato> don't know any more...
<mattip> http://buildbot.pypy.org/summary?branch=py3.7-rsre is empty, should I kick an rpython build?
<arigato> no
<arigato> I first have to move all these rpython changes to default
<arigato> I think that was the next step
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2529 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6120 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/396 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-app-level-win-x86-32/builds/603 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5330 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7342 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/3976 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/374 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5671 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8448 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-lib-python-linux-x86-64/builds/60 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-aarch64/builds/136 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7316 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/2963 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/762 [arigo: testing, rpython-rsre-for-37]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/361 [arigo: testing, rpython-rsre-for-37]
<arigato> if that passes, it can be merged to default, and then we merge default->py3.6->py3.7->py3.7-rsre and try to run the tests in py3.7-rsre
<arigato> making sure that py3.7-rsre no longer has any changes to the rpython directory
<mattip> ok, I can take a look when the buildbot runs finish
<arigato> cool. I may be here too, but maybe off-line for a bit
<arigato> OK the parsetest.py now fails for me with the larger xml, too
<arigato> test.xml is not a list of 6000 times the same thing, though
<arigato> the first difference is around item 2998
<arigato> shouldn't matter given that the script fails around item 278 already
<arigato> ah, it seems to have an extra empty line
<arigato> yes, removing that empty line makes it entierely repetitive, and it fails in the same way anyway
<arigato> parsetest issue: reproduces untranslated, apparently
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2529 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7316 [arigo: testing, rpython-rsre-for-37]
<arigato> it seems to be 30e0be7f8135, according to "hg bisect"
<arigato> this checkin looks wrong to me, because this general utf8 decoding function might be called from many places
<arigato> I think what occurs is that it's called from module/pyexpat somewhere,
<arigato> and it passes "final=False" and that logic in 30e0 makes it ignore "final=False"
<arigato> so you get a decoding error, even though you shouldn't
<arigato> it only shows rarely because, I guess, module/pyexpat calls it on large chunks of data, and randomly the data boundary happens to be in the middle of a utf-8 multibytes char code
* arigato off
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8448 [arigo: testing, rpython-rsre-for-37]
<mattip> ok, will try to work out what is going on later
jcea has joined #pypy
otisolsen70 has joined #pypy
<bbot2> Success: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/374 [arigo: testing, rpython-rsre-for-37]
<arigato> It would seem much safer to add another parameter that is only set to True from cpyext, to make sure the behavior doesn't change for other callers
<bbot2> Success: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6120 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-32/builds/2963 [arigo: testing, rpython-rsre-for-37]
jacob22_ has quit [Read error: Connection reset by peer]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/5330 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-app-level-linux-x86-64/builds/3976 [arigo: testing, rpython-rsre-for-37]
jacob22_ has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-lib-python-linux-x86-64/builds/60 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/396 [arigo: testing, rpython-rsre-for-37]
<arigato> releasing cffi 1.14.4
<mattip> "... add another parameter that is only set to True from cpyext" - good idea
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7342 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-aarch64/builds/136 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-app-level-win-x86-32/builds/603 [arigo: testing, rpython-rsre-for-37]
<arigato> mattip: I'll need your approval I think. The rpython-rsre-for-37 tests show a bit more failures than usual on default, but as far as I can tell they are all of the kind "random stuff" and entirely unrelated to regexps in any way
Exrney has joined #pypy
* mattip looking
<mattip> I think it is OK. There is some interaction between running rpython and own on linux64, maybe bencher is getting overloaded
<Exrney> `ensurepip` is giving me an invalid utf-16 error when I try to run it
<Exrney> hmm?
<mattip> Exrney: that was for arigato
<Exrney> sorry, my messages didnt seem to be going through
<Exrney> ah
<Exrney> sry
<mattip> what platform are you on?
<Exrney> windows 10
<Exrney> it appears to be caused by winreg
<Exrney> ```
<Exrney> oops
<Exrney> File "C:\Users\askul\AppData\Local\Programs\pypy3.7-v7.3.3-win32\lib-python\3\mimetypes.py", line 248, in enum_types
* arigato merges
<mattip> I fought with this for quite a while, I couldn't reproduce locally
<Exrney> yea that appears to be it
<Exrney> curious why i would have invalid registry keys.
<mattip> Exrney: it is a pypy bug. The keys may be valid Unicode but we are not parsing them correctly
<mattip> winreg -> HKEY_CLASSES_ROOT at the bottom probably has all kinds of unicode stuff
<Exrney> lets take a gander
<Exrney> just 1 apparently
<Exrney> `ၩ�〫鴰`
<mattip> The second character copy-pasted correctly?
<Exrney> let me try deleting it and see if it still bugs
<Exrney> afaik
<Exrney> dont see why not
<Exrney> boom, thats that bug fixed for me
<Exrney> it only had 1 value in it as well, `.auto_rar` or something
<mattip> thanks, maybe if I build a test where I put that key in I can reproduce
<Exrney> the `string` module may also be of use.
<Exrney> but maybe not for non-english windows users.
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/397 [arigo: testing, py3.7-rsre]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8449 [arigo: testing, py3.7-rsre]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5671 [arigo: testing, rpython-rsre-for-37]
Exrney has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/762 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/361 [arigo: testing, rpython-rsre-for-37]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8449 [arigo: testing, py3.7-rsre]
<bbot2> Failure: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/397 [arigo: testing, py3.7-rsre]
otisolsen70_ has joined #pypy
otisolsen70_ has quit [Client Quit]
otisolsen70 has quit [Ping timeout: 256 seconds]
Mortir has joined #pypy
lritter has quit [Remote host closed the connection]
jacob22_ has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
<arigato> py3.7-rsre branch merged
<mattip> nice
<mattip> the buildbot summary of failures should dive into the lib-python.3.test* failures and show the failures in each file
<mattip> rather than just a pass/fail for each file
<mattip> for instance, lib-python.3.test.test_re has (failures=7, errors=6, skipped=5) before py3.7-rsre, and (failures=2, skipped=5) after
igitoor has quit [Ping timeout: 260 seconds]
igitoor has joined #pypy
oberstet has quit [Quit: Leaving]
oberstet has joined #pypy
oberstet has quit [Client Quit]
igitoor has joined #pypy
igitoor has quit [Changing host]
commandoline has quit [Ping timeout: 260 seconds]
commandoline has joined #pypy
Mortir_ has joined #pypy
Mortir has quit [Ping timeout: 272 seconds]
asmeurer has joined #pypy
asmeurer has quit [Quit: asmeurer]