00:07
fotis has quit [Ping timeout: 265 seconds]
00:11
fotis has joined #pypy
00:15
fotis has quit [Ping timeout: 258 seconds]
00:39
Gustavo6046 has quit [Remote host closed the connection]
00:39
Gustavo6046 has joined #pypy
00:44
fotis has joined #pypy
01:12
Gustavo6046_ has joined #pypy
01:12
Gustavo6046 has quit [Ping timeout: 265 seconds]
01:14
Gustavo6046_ is now known as Gustavo6046
01:18
fotis has quit [Ping timeout: 268 seconds]
01:46
fotis has joined #pypy
02:24
fotis has quit [Ping timeout: 272 seconds]
02:50
fotis has joined #pypy
03:24
fotis has quit [Ping timeout: 265 seconds]
03:53
fotis has joined #pypy
04:31
fotis has quit [Ping timeout: 258 seconds]
04:57
fotis has joined #pypy
05:36
fotis has quit [Ping timeout: 252 seconds]
06:05
fotis has joined #pypy
06:25
Julian has joined #pypy
06:40
fotis has quit [Ping timeout: 265 seconds]
06:43
fotis has joined #pypy
06:48
fotis has quit [Ping timeout: 258 seconds]
07:21
Julian has quit [Quit: leaving]
07:22
fotis has joined #pypy
08:00
fotis has quit [Ping timeout: 272 seconds]
08:27
fotis has joined #pypy
08:42
greedom has joined #pypy
08:44
greedom has quit [Client Quit]
08:45
greedom has joined #pypy
08:48
jkovac1 has quit [*.net *.split]
08:49
jkovac1 has joined #pypy
09:02
tumbleweed_ has joined #pypy
09:02
tazle_ has joined #pypy
09:02
tumbleweed has quit [*.net *.split]
09:02
tazle has quit [*.net *.split]
09:04
fotis has quit [Ping timeout: 258 seconds]
09:30
fotis has joined #pypy
10:08
fotis has quit [Ping timeout: 272 seconds]
10:36
fotis has joined #pypy
11:12
fotis has quit [Ping timeout: 268 seconds]
11:30
greedom has quit [Remote host closed the connection]
11:41
fotis has joined #pypy
12:16
fotis has quit [Ping timeout: 268 seconds]
12:19
fotis has joined #pypy
12:24
fotis has quit [Ping timeout: 252 seconds]
12:34
greedom has joined #pypy
12:40
greedom has quit [Remote host closed the connection]
12:41
greedom has joined #pypy
12:50
Julian has joined #pypy
12:53
fotis has joined #pypy
13:28
fotis has quit [Ping timeout: 268 seconds]
13:50
otisolsen70 has joined #pypy
13:58
<
mattip >
tumbleweed_: someone reached out with a scenario where they installed pypy3-v7.3.5 and then did `sudo pypy3 -m pip install numpy` and it went to the same directory as cpython
13:59
<
mattip >
I tried to convince them that `sudo pip` is evil, but re-using the same path seems problematic
14:00
fotis has joined #pypy
14:12
<
mattip >
it should have pypy3, not python3
14:14
<
mattip >
(and the corresponding sections in lib-python/3/distutils/command/install.py and lib-python/3/sysconfig_pypy.py)
14:25
greedom has quit [Quit: Konversation terminated!]
14:29
tazle_ is now known as tazle
14:34
tazle has quit [Quit: leaving]
14:34
tazle has joined #pypy
14:34
fotis has quit [Ping timeout: 258 seconds]
14:35
fotis has joined #pypy
14:35
tazle has quit [Client Quit]
14:36
tazle has joined #pypy
14:37
tazle has quit [Client Quit]
14:38
tazle has joined #pypy
14:39
<
cfbolz >
mattip: note that there was/is a general conversation happening between debian packaging and cpython-dev
14:39
<
cfbolz >
arounds uch issues
14:40
fotis has quit [Ping timeout: 268 seconds]
15:04
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
15:08
<
tumbleweed_ >
mattip: that L352 won't be reached on pypy
15:09
fotis has joined #pypy
15:09
* tumbleweed_
tries to reproduce
15:09
tumbleweed_ is now known as tumbleweed
15:10
lritter has joined #pypy
15:12
greedom has joined #pypy
15:15
<
mattip >
hmm, so the distutils patch has this
15:16
<
tumbleweed >
= /usr/lib/python3/dist-packages
15:16
<
tumbleweed >
which is where we put our python modules (shared between cpython and pypy)
15:18
<
mattip >
is that where "sudo pypy3 -m pip install numpy" will end up putting it?
15:18
<
tumbleweed >
no, it should be using the pypy-local scheme
15:20
<
mattip >
when I do the command, I get "Requirement already satisfied: numpy in /usr/lib/python3/dist-packages (1.17.4)"
15:21
<
mattip >
so cpython/debian is installing numpy there, which confuses pypy
15:22
<
mattip >
(I don't dispute that the whole "sudo pip install" saga is wrong, but that is above my pay grade)
15:22
<
tumbleweed >
even if sudo pip install is a good way to break your system, it should still work, if used correctly
15:23
<
tumbleweed >
pypy3 -m pip install -U numpy - WFM
15:23
<
tumbleweed >
although it uninstalled python3-numpy, which it shouldn't have
15:24
<
mattip >
what happens when you do it with sudo and without -U
15:24
<
tumbleweed >
that was as root, so with sudo
15:24
<
mattip >
ahh, so without -U, sorry
15:25
<
tumbleweed >
without -U if python3-numpy is installed it doesn't know that it's only built for cpython
15:25
<
tumbleweed >
I guess -I or --ignore-installed would work here too
15:25
<
tumbleweed >
err or --force-reinstall
15:27
<
mattip >
I think trying to share /usr/lib/python3/dist-packages between cpython and pypy is problematic
15:27
<
tumbleweed >
we really should do a pypy3-numpy package in Debian (and other popular C libs)
15:27
<
tumbleweed >
yes, it has some issues
15:29
<
mattip >
building popular c-extensions for pypy3 would be cool, as long as it isn't too much effort
15:30
<
mattip >
then I guess the pypy3-numpy and python3-numpy could live happily side-by-side, since they will be the same exact version
15:30
<
tumbleweed >
I can't see any metadata that would enable pip to understand and resolve this problem, itself
15:31
<
tumbleweed >
unless installed from wheel, then you get numpy-*.dist-info/WHEEL
15:31
<
mattip >
in the "official" portable builds, we take the no-sharing approach
15:32
<
mattip >
like conda
15:32
<
tumbleweed >
sounds like the right thing to do
15:32
<
tumbleweed >
I was on the fence about sharing in the beginning, because there are definitely some issues with it (that I don't think are resolveable)
15:33
<
tumbleweed >
but on the plus side, for pure-python modules it is really useful
15:33
<
tumbleweed >
packages don't have to change to support pypy, and we don't have to bloat the archive with pypy3-* packages
15:33
<
mattip >
I wonder how much disk it would consume to not share
15:34
<
tumbleweed >
in the big picture, not a whole lot. But it means extra binary packages for every python module that opts-in
15:34
<
tumbleweed >
and there's always pressure to not do that
15:34
<
mattip >
maybe someday hpy will take off and everything will be simpler
15:35
<
tumbleweed >
we can hope :)
15:35
<
mattip >
sorry, I don't have any other good ideas
15:35
<
mattip >
we had discussed trying to be 100% cpython compatible with our c-extension modules, but it is very tricky
15:46
fotis has quit [Ping timeout: 272 seconds]
16:17
fotis has joined #pypy
16:17
stkrdknmibalz has joined #pypy
16:42
Julian has quit [Ping timeout: 272 seconds]
16:51
fotis has quit [Ping timeout: 252 seconds]
16:54
Julian has joined #pypy
16:58
fotis has joined #pypy
17:04
fotis has quit [Ping timeout: 272 seconds]
17:15
greedom has quit [Ping timeout: 250 seconds]
17:23
Julian has quit [Ping timeout: 272 seconds]
17:25
Julian has joined #pypy
17:30
Julian has quit [Ping timeout: 268 seconds]
17:38
fotis has joined #pypy
17:39
benjaminp is now known as benjamin
17:41
Julian has joined #pypy
17:47
Julian has quit [Ping timeout: 268 seconds]
17:57
Julian has joined #pypy
18:03
Julian has quit [Ping timeout: 265 seconds]
18:14
Julian has joined #pypy
18:16
fotis has quit [Ping timeout: 265 seconds]
18:19
Julian has quit [Ping timeout: 272 seconds]
18:31
Julian has joined #pypy
18:36
otisolsen70 has quit [Quit: Leaving]
18:37
Julian has quit [Ping timeout: 268 seconds]
18:42
fotis has joined #pypy
18:48
Julian has joined #pypy
18:53
Julian has quit [Ping timeout: 252 seconds]
19:04
Julian has joined #pypy
19:10
Julian has quit [Ping timeout: 272 seconds]
19:20
fotis has quit [Ping timeout: 272 seconds]
19:21
Julian has joined #pypy
19:26
Julian has quit [Ping timeout: 258 seconds]
19:50
fotis has joined #pypy
19:54
Julian has joined #pypy
19:59
Julian has quit [Ping timeout: 268 seconds]
20:09
Julian has joined #pypy
20:25
fotis has quit [Ping timeout: 268 seconds]
20:27
fotis has joined #pypy
20:32
fotis has quit [Ping timeout: 268 seconds]
21:04
fotis has joined #pypy
21:15
greedom has joined #pypy
21:15
greedom has quit [Client Quit]
21:16
greedom has joined #pypy
21:17
greedom has quit [Read error: Connection reset by peer]
21:17
greedom has joined #pypy
21:39
fotis has quit [Ping timeout: 265 seconds]
21:39
fotis has joined #pypy
21:44
fotis has quit [Ping timeout: 272 seconds]
22:14
fotis has joined #pypy
22:45
greedom has quit [Remote host closed the connection]
22:49
fotis has quit [Ping timeout: 268 seconds]
23:23
fotis has joined #pypy
23:44
lritter has quit [Ping timeout: 268 seconds]