01:22
mgedmin has quit [Ping timeout: 245 seconds]
01:32
holdsworth_ has joined #pypy
01:39
astrojl_matrix has quit [*.net *.split]
01:39
papangoo[m]1 has quit [*.net *.split]
01:39
holdsworth has quit [*.net *.split]
01:54
astrojl_matrix has joined #pypy
02:00
papangoo[m]1 has joined #pypy
02:14
lritter has quit [Ping timeout: 264 seconds]
02:14
lritter has joined #pypy
02:47
jcea has quit [Ping timeout: 260 seconds]
05:51
forgottenone has joined #pypy
06:35
<
mattip >
today's puzzle: why is the win64 run of rpython hitting the pypy directory instead?
06:36
<
mattip >
win32 does not do that
06:42
jacob22 has quit [Ping timeout: 264 seconds]
06:44
<
mattip >
fixed that was easier to find than I thought
07:08
oberstet has joined #pypy
07:32
lritter has quit [Ping timeout: 246 seconds]
07:39
lritter has joined #pypy
07:44
Taggnostr2 has quit [Ping timeout: 240 seconds]
07:48
Taggnostr has joined #pypy
08:26
Taggnostr has quit [Quit: Switching to single player mode.]
08:27
<
cfbolz >
mattip: yay, thanks a lot for your work on this!
08:32
<
mattip >
so we need to make a PR to switch the fed?
08:32
Taggnostr has joined #pypy
08:44
<
cfbolz >
mattip: or an issue, I am not sure
09:19
otisolsen70 has joined #pypy
09:32
<
antocuni >
mattip: congrats for the blog, and thank you!
09:33
<
antocuni >
we should do the same for hpy :)
09:34
<
antocuni >
mattip: I tried to write a comment to check that they work
09:36
<
mattip >
grr. I couldn't try it out till it was live
09:39
<
antocuni >
it seems it work, doesn't it?
09:41
<
mattip >
not on firefox
09:41
<
mattip >
I get a "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://api.github.com ..."
09:42
<
antocuni >
it worked for me with chrome
09:42
* antocuni
tries with firefox as well
09:43
<
mattip >
ahh, it is ghostery blocking something
09:44
<
antocuni >
I just made another comment from firefox
09:44
<
mattip >
if I disable ghostery it works
09:46
<
antocuni >
makes sense I suppose, it seems that ghostery is explicitly trying to block these kind of inter-website integrations
09:48
<
mattip >
it's OK if I "trust" pypy.org in the ghostery UI
09:56
<
cfbolz >
mattip: I'm not sure what we should do with the heap pull request. We usually try to keep the stdlib diff to CPython small
09:59
<
mattip >
cfbolz: maybe put it off till 3.10, when the change will show up in the stdlib?
10:06
<
cfbolz >
mattip: or we accept it in order to put pressure on cpython to accept it as well 😅
10:07
<
cfbolz >
I'll take a more detailed look later in any case
10:36
jryans has quit [Quit: Bridge terminating on SIGTERM]
10:36
ronny has quit [Quit: Bridge terminating on SIGTERM]
10:36
ShadeJonathan[m] has quit [Quit: Bridge terminating on SIGTERM]
10:36
astrojl_matrix has quit [Quit: Bridge terminating on SIGTERM]
10:36
jevinskie[m] has quit [Quit: Bridge terminating on SIGTERM]
10:36
toad_polo has quit [Quit: Bridge terminating on SIGTERM]
10:36
papangoo[m]1 has quit [Quit: Bridge terminating on SIGTERM]
10:46
papangoo[m] has joined #pypy
11:06
toad_polo has joined #pypy
11:06
astrojl_matrix has joined #pypy
11:06
ShadeJonathan[m] has joined #pypy
11:06
ronny has joined #pypy
11:06
jryans has joined #pypy
11:06
jevinskie[m] has joined #pypy
11:45
lritter has quit [Ping timeout: 260 seconds]
12:20
Dejan has joined #pypy
12:52
jacob22 has joined #pypy
13:02
jacob22 has quit [Read error: No route to host]
13:06
jcea has joined #pypy
13:44
DRMacIver has quit []
13:44
DRMacIver has joined #pypy
13:49
jacob22 has joined #pypy
13:51
cfbolz has joined #pypy
13:54
jacob22_ has joined #pypy
13:54
jacob22 has quit [Ping timeout: 272 seconds]
14:04
jacob22_ has quit [Ping timeout: 264 seconds]
15:26
<
fijal >
ok, so the pypy nightly comes with no six?
15:26
<
fijal >
which means pip does not work, at least in some version
15:40
<
mattip >
which nightly did you try?
15:42
<
mattip >
ensurepip should install a functioning pip
15:42
<
mattip >
pypy -m ensurepip
15:52
<
fijal >
I got a pip from ubuntu and upgrading it helped
15:52
<
fijal >
I mean "would be cool if pypy warned you about stuff" but I really don't know why, it's a very unconstructive problem
15:57
<
fijal >
but maybe we can detect the version of pip and error with "this will not work"
16:39
<
mattip >
I don't understand. Can you describe what you did, starting from which nightly you used?
16:51
infernix has quit [Remote host closed the connection]
16:54
infernix has joined #pypy
17:03
<
fijal >
I downloaded latest 3.7 nightly
17:03
<
fijal >
and downloaded some recent ubuntu, 20.10
17:03
<
fijal >
you create a virtualenv using nightly pypy and boom, nothing works
17:13
<
larstiq >
fijal: yeah, that's a known problem
17:13
<
larstiq >
I've been trying to find a writeup about that I recently read, but having some trouble
17:14
<
larstiq >
users and their view of Python. "
17:15
<
larstiq >
but no link to the discussion, hrmf
17:23
<
cfbolz >
larstiq: the discussion was some gist, I think
17:23
<
cfbolz >
pretty weird place to talk
17:23
<
larstiq >
cfbolz: yeah
17:24
<
larstiq >
I remember I found that link from the cryptography rust bug report
17:26
<
fijal >
well, maybe pypy can detect the situation?
17:26
<
fijal >
because I'm pretty sure the answer will be "pypy does not work"
17:27
<
fijal >
anyway, no, I don't know how to fix it from pypy side
17:27
<
fijal >
but I think pretty much I ever try pypy + virtualenv + pip it explodes in bizzare ways that have possibly nothing to do with pypy
17:40
jacob22_ has joined #pypy
18:04
<
mattip >
you mean "sudo apt install virtualenv" and then using that, right?
18:09
<
Dejan >
i stopped using virtualenv the moment they added pip to python3
18:09
<
Dejan >
pardon, the "venv" module
18:10
<
Dejan >
<python3 interpreter> -m venv <env name> is how I do it for quite some time
18:10
<
Dejan >
colleagues love conda
18:26
<
Dejan >
ImportError: /opt/jobserve/pypy/site-packages/numpy/core/_multiarray_umath.pypy37-pp73-x86_64-linux-gnu.so: undefined symbol: PyPyUnicode_Check
18:26
<
Dejan >
is this a known issue?
18:26
<
Dejan >
i was basically trying to install numexpr
18:49
<
mattip >
that is meant to be a macro, so maybe you used the wrong headers somehow?
18:49
<
mattip >
where did you get numpy from?
18:54
<
mattip >
fijal: this works for me:
18:54
<
mattip >
virtualenv -p pypy/bin/pypy /tmp/venv
18:54
<
mattip >
/tmp/venv/bin/pypy -mpip install numpy
18:55
<
mattip >
but maybe that is not a clean, untouched pypy/bin/pypy, let me try again
18:57
<
mattip >
this works too
18:57
<
mattip >
mkdir /tmp/clean; cd /tmp/clean
18:57
<
fijal >
this is what pip?
18:58
<
mattip >
tar -xf <latest pypy 3.7>
18:59
<
mattip >
pip 20.0.2 from /tmp/venv/site-packages/pip (python 3.7)
19:00
<
Dejan >
i tried to pip3 install numexpr
19:00
<
Dejan >
in pypy3.7 environment
19:02
<
mattip >
grr. another meeting
19:02
<
mattip >
fijal: can you put up a complete reproducer somewhere?
19:03
<
fijal >
mattip: I had pip from ubuntu?
19:03
<
fijal >
maybe that's the problem?
19:03
<
fijal >
came with no six installed
19:05
<
fijal >
tthat's 20.1.1
19:06
<
fijal >
no, now works
19:06
<
fijal >
I HAVE NO CLUE
19:06
<
cfbolz >
fijal: you are still not very precise in the steps that lead to the problem :-P
19:08
<
fijal >
well, this is the history that I found
19:08
<
fijal >
I
*think* this is not a reproducer because I can't reproduce it any more
19:15
<
cfbolz >
I can reproduce
19:15
<
cfbolz >
with the python3-virtualenv ubuntu package
19:19
<
fijal >
I don't know what I changed that I can no longer reproduce
19:20
<
fijal >
(and I changed quite a bit I guess, trying to frantically get it to work)
19:33
dmalcolm__ has joined #pypy
19:34
lazka8 has joined #pypy
19:35
whitewlf has joined #pypy
19:39
runciter_ has joined #pypy
19:42
runciter has quit [*.net *.split]
19:42
dmalcolm_ has quit [*.net *.split]
19:42
lazka has quit [*.net *.split]
19:42
whitewolf has quit [*.net *.split]
19:42
energizer has quit [*.net *.split]
19:42
lazka8 is now known as lazka
19:43
energizer has joined #pypy
19:46
ulope has quit [Ping timeout: 246 seconds]
19:47
oberstet has quit [Quit: Leaving]
19:47
ulope has joined #pypy
20:35
forgottenone has quit [Ping timeout: 246 seconds]
20:38
<
mattip >
cfbolz: this is without running "pypy -m ensurepip" ?
20:38
EWDurbin has quit []
20:39
EWDurbin has joined #pypy
20:41
michelp has quit []
20:41
michelp has joined #pypy
20:51
<
cfbolz >
mattip: I'm not sure, honestly
20:51
<
cfbolz >
let me check
20:53
<
cfbolz >
mattip: doesn't matter whether I run ensurepip or not, always get the failing six import
20:53
otisolsen70 has quit [Quit: Leaving]
20:55
bbot2_ has quit [Quit: buildmaster reconfigured: bot disconnecting]
20:56
pjenvey1 is now known as pjenvey
20:56
* mattip
restarting buildbot for win64 rpython run typo
21:00
bbot2 has joined #pypy
21:06
<
cfbolz >
mattip: and virtualenv is from python3-virtualenv?
21:08
<
mattip >
virtualenv is in /usr/bin/virtualenv, so I assume that is from ubuntu
21:08
<
cfbolz >
mattip: yes, but I think ubuntu has two such packages, a python3 based one and a python2 one
21:09
<
mattip >
but note the line app_data_dir=/home/matti/.local/share/virtualenv/seed-app-data/v1.0.1.debian
21:09
<
mattip >
you have app_data_dir=/home/cfbolz/.local/share/virtualenv
21:10
<
mattip >
in mine there is all this stuff in /home/matti/.local/share/virtualenv/seed-app-data/v1.0.1.debian/3.7/image/CopyPipInstall
21:10
<
cfbolz >
yeah, it's a game of hunt-the-difference now :-(
21:11
<
cfbolz >
maybe it's because I indeed have another virtualenv script installed somehow, that's not from ubuntu
21:12
* cfbolz
needs to sleep
21:15
<
mattip >
apparently there is a --download option to virtualenv, that will download lots of packages including six
21:16
<
mattip >
maybe that is stored across invocations and once downloaded always used?
21:16
<
mattip >
and a --six option to choose which version of six to install
21:20
graingert has quit []
21:21
graingert has joined #pypy
21:34
* tumbleweed
has a look at the virtualenv thing
21:34
<
tumbleweed >
looks like that's Ubuntu 20.10
21:44
jaraco has joined #pypy
21:46
<
tumbleweed >
OK, so this is caused by assumptions in the pip devendoring patch in Debian/Ubuntu
21:47
<
tumbleweed >
I bet it breaks any python built from source
21:48
<
tumbleweed >
s/built/running/
23:17
jcea has quit [Ping timeout: 260 seconds]
23:26
jcea has joined #pypy