Package Details: py-spy 0.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: py-spy
Description: Sampling profiler for Python programs
Upstream URL:
Licenses: GPL3
Submitter: craftyguy
Maintainer: craftyguy
Last Packager: craftyguy
Votes: 5
Popularity: 0.88
First Submitted: 2018-11-16 21:28
Last Updated: 2019-12-09 08:25

Latest Comments

lilydjwg commented on 2019-09-24 11:49

It seems that libunwind should be added to depends.

eschwartz commented on 2018-11-18 02:31

Merged instead, thanks for the fast response.

BTW, no need to provide/conflict itself, also you forgot to quote the newly added ${srcdir} references.

eschwartz commented on 2018-11-08 01:53

This is not a python package and is therefore misnamed and should not contain the prefix "python-".

It's a 100% rust project, which uses weird and IMO disgusting hacks to pretend to be a python program for no other reason than to make it easy for people to misuse and abuse the PyPI index for hosting statically compiled rust binaries. What's next, pip install firefox as a distribution method for your favorite browser?

Please re-upload this as a package called "py-spy", using cargo build --release to build the software during build(), using install(1) to install the resulting binary during package(), and most importantly, setting arch=('x86_64') as this is most definitely not an any-arch package.

blueyed commented on 2018-09-22 14:52

When using pip directly to install py-spy it will use wheels, while python-py-spy will build the package (which takes quite some time). Couldn't/shouldn't the package use the wheel also?

craftyguy commented on 2018-09-07 15:44


Seems like it is failing to compile backtrace-sys. I suggest reporting this problem to that project:

A quick scan of the open/closed issues there shows some other build problems (some on Arch), though I didn't see any with this exact failure.

mathieu.clabaut commented on 2018-09-07 15:34

Trying to build this package, I get :

    Running `rustc --crate-name backtrace_sys /home/clabaut/.cargo/registry/src/ --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=2901dca6d426b7bd -C extra-filename=-2901dca6d426b7bd --out-dir /tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/deps -L dependency=/tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/deps --extern libc=/tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/deps/liblibc-9983bbef4073e90f.rlib --cap-lints allow -L native=/tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/build/backtrace-sys-a61abb562b6e310f/out -l static=backtrace`
error[E0658]: use of unstable library feature 'thread_local_state': state querying was recently added (see issue #27716)
   --> /home/clabaut/.cargo/registry/src/
169 |     if let Ok(tls) = THREAD_DATA.try_with(|x| x as *const ThreadData) {
    |                                  ^^^^^^^^

error[E0658]: use of unstable library feature 'thread_local_state': state querying was recently added (see issue #27716)
  --> /home/clabaut/.cargo/registry/src/
55 |         if let Ok(tls) = THREAD_DATA.try_with(|x| x as *const ThreadData) {
   |                                      ^^^^^^^^

error: aborting due to 2 previous errors

error: Could not compile `parking_lot_core`.