2018-02-26 15:52
cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs:
https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
00:10
marr has quit [Ping timeout: 255 seconds]
00:17
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:37
zmt00 has quit [Quit: Leaving]
00:38
zmt00 has joined #pypy
00:38
tbodt has joined #pypy
01:02
Hasimir has quit [Ping timeout: 240 seconds]
01:06
Hasimir has joined #pypy
01:42
nimaje has quit [Ping timeout: 255 seconds]
01:43
nimaje has joined #pypy
02:09
jcea has quit [Quit: jcea]
02:16
dddddd has quit [Remote host closed the connection]
02:39
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:11
<
kenaan >
wlav cppyy-packaging dd967ce1da92 /pypy/module/_cppyy/: initial support for exception handling from wrapped functions
03:11
<
kenaan >
wlav cppyy-packaging 4f2df82b0b9f /pypy/: merge default into branch
03:11
<
kenaan >
wlav cppyy-packaging 3f9d98258560 /pypy/module/_cppyy/src/dummy_backend.cxx: update enum handling
03:11
<
kenaan >
wlav cppyy-packaging 43f7036815b1 /pypy/module/_cppyy/interp_cppyy.py: fix translation
03:17
<
kenaan >
wlav default e50e11af23f1 /pypy/: merge cppyy-packaging: move to latest backend (0.6.0) and support exceptions through wrappers
03:25
inhahe__ has joined #pypy
03:25
energizer has quit [Remote host closed the connection]
04:42
energizer has joined #pypy
05:27
dmalcolm has quit [Ping timeout: 240 seconds]
05:40
illume has joined #pypy
05:41
dmalcolm has joined #pypy
06:07
<
kenaan >
mattip default 53d84a6caf3c /pypy/doc/: update release notes to include cppyy
06:07
<
kenaan >
mattip default 93fe826c4242 /: add new contributors (thanks!!!)
06:07
<
kenaan >
mattip release-pypy2.7-6.x ab0b9caf307d /: merge default into branch
06:07
<
kenaan >
mattip py3.5 6416cd28171a /: merge default into branch
06:07
<
kenaan >
mattip release-pypy3.5-6.x fdd60ed87e94 /: merge py3.5 into release
06:07
<
kenaan >
mattip default e1aef8bbd9e7 /.hgtags: Added tag release-pypy2.7-v6.0.0 for changeset ab0b9caf307d
06:07
<
kenaan >
mattip default 9303f16ac3b2 /.hgtags: Added tag release-pypy3.5-v6.0.0 for changeset fdd60ed87e94
06:14
tayfun26 has joined #pypy
06:16
tayfun26 has quit [Remote host closed the connection]
06:19
tayfun26 has joined #pypy
06:22
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:53
AndrewBC_ has left #pypy ["Leaving"]
07:06
asmeurer_ has quit [Quit: asmeurer_]
07:07
asmeurer__ has joined #pypy
07:14
illume has joined #pypy
07:52
jaffachief has joined #pypy
07:54
<
kenaan >
arigo cffi/cffi 0eac9cf29182 /setup.cfg: Merged in jdufresne/cffi (pull request #86) Include license file in the generated wheel package
07:54
<
kenaan >
jdufresne cffi/cffi b93a527ad3b1 /setup.cfg: Include license file in the generated wheel package The wheel package format supports including the license ...
07:55
marr has joined #pypy
08:00
<
kenaan >
arigo py3.5 a07f07034d28 /pypy/module/cpyext/: Fix _PyLong_Sign() to accept any app-level 'int' object
08:11
antocuni has joined #pypy
08:14
asmeurer__ has quit [Quit: asmeurer__]
08:17
<
mattip >
arigato: a07f07034d28 should be part of the release? Did you see this "in the wild" ?
08:21
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:45
mcyprian has joined #pypy
08:52
dddddd has joined #pypy
08:54
mcyprian has quit [Ping timeout: 248 seconds]
08:54
mcyprian has joined #pypy
10:03
solarjoe4 has joined #pypy
10:08
antocuni has quit [Ping timeout: 264 seconds]
10:10
energizer has quit [Ping timeout: 264 seconds]
10:35
lazka has joined #pypy
10:59
jcea has joined #pypy
11:07
<
lesshaste >
what's the latest way to profile my python code when using pypy?
11:07
<
lesshaste >
to see what is going so slow
11:07
<
lesshaste >
is it vmprof?
11:10
<
lesshaste >
there was some method that give you a nice web page
11:10
<
lesshaste >
what was that?
11:15
<
njs >
pypy -m vmprof --web yourscript.py
11:20
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:22
carljm_ has quit [Ping timeout: 276 seconds]
11:34
raynold has quit [Quit: Connection closed for inactivity]
11:46
ionelmc has quit []
11:46
ionelmc has joined #pypy
11:48
illume has joined #pypy
12:13
<
lesshaste >
njs, thanks!
12:30
untitaker has quit []
12:31
untitaker has joined #pypy
12:31
<
lesshaste >
is collections.Counter fast in pypy? As in was it reimplemented in rpython?
12:36
lazka has quit [Quit: Leaving]
12:49
antocuni has joined #pypy
12:59
<
lesshaste >
is this important?
12:59
<
lesshaste >
numpy/random/__init__.py:99: UserWarning: __builtin__.type size changed, may indicate binary incompatibility. Expected 888, got 408
13:01
<
antocuni >
it's a cython bug
13:01
<
antocuni >
or, better: it's a cython workaround for what was a bug in pypy
13:02
<
antocuni >
now pypy behaves correctly, but cython still looks for the wrong size, so it emits the warning
13:04
<
mattip >
pip install cython --upgrade; pip install numpy --upgrade --force-reinstall
13:05
<
lesshaste >
antocuni, thanks!
13:05
<
lesshaste >
mattip, --force-reinstall looks like a worrying option.. why is that needed?
13:05
<
lesshaste >
oh I see
13:15
marky1991 has joined #pypy
13:35
marky1991 has quit [Ping timeout: 264 seconds]
13:51
solarjoe4 has quit [Quit: Leaving]
13:54
marky1991 has joined #pypy
14:32
<
lesshaste >
mattip, the warning is still there after pip install cython --upgrade; pip install numpy --upgrade --force-reinstall
14:33
<
lesshaste >
the numpy support for pypy is really helping me today.. thank you
14:33
<
lesshaste >
now if only seaborn worked too :)
14:33
<
lesshaste >
(I think scipy is the blocker there)
14:33
<
lesshaste >
matplotlib support is awesome too!
14:35
lritter has joined #pypy
14:36
<
mattip >
lesshaste: what doesn't work about scipy/seaborn?
14:36
<
mattip >
"really helping" - is it any faster than cpython?
14:37
<
lesshaste >
mattip, the numpy parts are slow but I only need it to set up the problem then I convert everything to lists. The matplotlib part might also be slow but I just draw two pictures
14:37
<
lesshaste >
so it's hugely helpful
14:38
<
lesshaste >
(I was completely wrong about what was blocking seaborn it seems)
14:49
<
mattip >
lesshaste: pip install seaborn goes past that for me, I am on Ubuntu 16.04. It is now building scipy after collecting all the dependencies
14:50
<
lesshaste >
mattip, that's strange. I am also on 16.04. Which version of pypy?
14:51
<
lesshaste >
I am install scipy separately and it is whirrin away
14:54
<
lesshaste >
mattip, so it's pandas that won't install for me
14:58
<
lesshaste >
mattip, scipy works! I mean it gives me a lot of messages like scipy/sparse/csgraph/_validation.py:5: UserWarning: __builtin__.type size changed, may indicate binary incompatibility. Expected 888, got 408
14:58
<
lesshaste >
as before
14:58
<
lesshaste >
but it works
15:01
<
lesshaste >
any ideas how to fix the pandas problem gratefully received
15:03
<
ronan >
lesshaste: something's wrong in the way pandas specifies dependencies, but it should work if you just pip install Cython
15:06
<
lesshaste >
it is pretty awesome that pypy has got this far !
15:08
<
lesshaste >
ronan, anything else I can try?
15:08
<
lesshaste >
I don't mind installing a new version of.. everything if that is needed
15:09
<
mattip >
lesshaste: it successfully installs for me. What version of pip are you using?
15:09
<
lesshaste >
it says 10
15:09
<
lesshaste >
which version are you using?
15:10
<
mattip >
I am using 9.0.1. Let me try 10
15:11
<
mattip >
yup, pip 10 fails
15:11
<
lesshaste >
cool :)
15:12
<
lesshaste >
I just downgraded to 9 and I get weird messages... Cache entry deserialization failed, entry ignored
15:12
<
lesshaste >
but pandas seems to be installing
15:13
lritter has quit [Quit: Leaving]
15:14
<
mattip >
what does "No sources permitted for Cython" mean?
15:18
<
lesshaste >
where do you see that?
15:25
<
mattip >
pip install pandas -vvv
15:26
<
ronny >
you also need to disable build isolation for pandas
15:27
<
mattip >
ronny: how?
15:36
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:41
<
antocuni >
lesshaste: if matplotlib and seaborn works, I am more than happy to accept PR to build pypy wheels for them
15:42
<
mattip >
ok, it seems pip install pandas --no-build-isolation works, thanks ronny
15:44
<
mattip >
antocuni: should I add your repo to the release notice?
15:44
<
antocuni >
I suppose it's useful for people to know, yes
15:44
inad922 has joined #pypy
15:45
<
antocuni >
although it's ubuntu only, I never managed to build manylinux1 or even "somelinux" wheels
15:46
<
ronan >
antocuni: it might be blocked on scipy releasing 1.1.0 though
15:46
<
antocuni >
ronan: why is scipy 1.1.0 a problem?
15:46
<
antocuni >
mattip: yes
15:47
<
ronan >
antocuni: previous versions don't really work IIRC
15:49
<
antocuni >
some of the program we run in gambit is installing scipy 1.0.1 and we didn't have any problem
15:49
<
antocuni >
I don't know which parts of it we are actively using, though
15:51
<
lesshaste >
antocuni, matplotlib definitely works! I will try seaborn soon
15:51
<
lesshaste >
it installs at least
15:52
<
lesshaste >
oh do some parts of scipy fail?I guess there is a test suite one could run
15:53
tayfun26 has quit [Remote host closed the connection]
15:53
<
ronan >
lesshaste: yes, some of the 1st level subpackages can't even be imported in 1.0.1, like scipy.io, IIRC
16:06
<
lesshaste >
ronan, interesting!
16:11
tbodt has joined #pypy
16:18
<
lesshaste >
well found!
16:18
lazka has joined #pypy
16:31
marky1991 has quit [Remote host closed the connection]
16:33
marky1991 has joined #pypy
16:33
inad922 has quit [Ping timeout: 248 seconds]
16:37
<
lazka >
pyproject.toml makes more problems than it solves atm
16:38
lazka has quit [Quit: Leaving]
16:51
dmalcolm has quit [Ping timeout: 255 seconds]
16:53
dmalcolm has joined #pypy
17:00
asmeurer__ has joined #pypy
17:02
asmeurer__ has quit [Client Quit]
17:18
antocuni has quit [Ping timeout: 255 seconds]
17:33
energizer has joined #pypy
17:53
lritter has joined #pypy
17:56
<
arigato >
mattip: a07f07034d28: no, it's fine to ignore
17:56
<
mattip >
+1, uploading release candidates
17:57
<
mattip >
arigato: ppc64?
17:58
<
arigato >
mattip: ok, let me get them
18:01
<
kenaan >
mattip default ad394955cf52 /pypy/doc/release-v6.0.0.rst: mention antocuni wheels and --no-build-isolation in release notes
18:03
<
kenaan >
mattip pypy.org[extradoc] bec9ffcc234e /source/download.txt: update for release, do not regenerate yet
18:05
lritter has quit [Remote host closed the connection]
18:21
mcyprian has quit [Ping timeout: 255 seconds]
18:25
asmeurer__ has joined #pypy
18:25
energizer has quit [Disconnected by services]
18:26
energizer has joined #pypy
18:26
energizer has quit [Remote host closed the connection]
18:27
energizer has joined #pypy
18:33
energizer has quit [Disconnected by services]
18:34
energizer has joined #pypy
18:34
energizer has quit [Remote host closed the connection]
18:35
energizer has joined #pypy
18:53
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:09
mcyprian has joined #pypy
19:13
mcyprian has quit [Ping timeout: 256 seconds]
19:13
tbodt has joined #pypy
19:21
illume has joined #pypy
20:03
adamholmberg has joined #pypy
20:04
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:31
Taggnostr has quit [Remote host closed the connection]
20:31
jcea has quit [Ping timeout: 255 seconds]
20:32
Taggnostr has joined #pypy
20:47
jcea has joined #pypy
20:48
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:49
tbodt has joined #pypy
20:57
inhahe__ has quit [Ping timeout: 255 seconds]
21:05
jcea1 has joined #pypy
21:06
jcea has quit [Ping timeout: 248 seconds]
21:06
jcea1 is now known as jcea
21:07
oberstet has quit [Quit: Leaving]
21:16
jcea has quit [Ping timeout: 265 seconds]
21:16
jcea has joined #pypy
21:21
jaffachief has joined #pypy
21:31
illume has joined #pypy
21:36
adamholmberg has quit [Remote host closed the connection]
21:36
adamholmberg has joined #pypy
21:37
jcea has quit [Ping timeout: 256 seconds]
21:38
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:38
inad922 has joined #pypy
21:40
illume has joined #pypy
21:41
adamholmberg has quit [Ping timeout: 264 seconds]
21:43
marky1991 has quit [Read error: Connection reset by peer]
21:44
inad922 has quit [Ping timeout: 255 seconds]
21:48
illume has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:51
adamholmberg has joined #pypy
22:09
adamholmberg has quit [Remote host closed the connection]
22:10
adamholmberg has joined #pypy
22:10
adamholmberg has quit [Read error: No route to host]
22:36
adamholmberg has joined #pypy
22:41
adamholmberg has quit [Ping timeout: 248 seconds]
22:52
jaffachief has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:14
jcea has joined #pypy
23:29
raynold has joined #pypy
23:39
tbodt has quit [Ping timeout: 240 seconds]