Package Details: python-lineprofiler 4.1.2-1

Git Clone URL: https://aur.archlinux.org/python-lineprofiler.git (read-only, click to copy)
Package Base: python-lineprofiler
Description: Line-by-line profiler
Upstream URL: https://pypi.python.org/pypi/line_profiler
Licenses: BSD
Submitter: richli
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 9
Popularity: 0.000000
First Submitted: 2014-10-17 14:10 (UTC)
Last Updated: 2024-01-04 21:51 (UTC)

Latest Comments

1 2 3 4 Next › Last »

lahwaacz commented on 2024-01-06 16:06 (UTC)

Doh, I fucked up something in my workflow... I'm sorry for the noise 🙏

thrasibule commented on 2024-01-06 14:50 (UTC)

chDir was added to ubelt in 1.3.4, see: https://github.com/Erotemic/ubelt/commit/716f33676633b2da9af1bbe011e0565e25a6a195 So it seems you don't have ubelt 1.3.4 installed.

lahwaacz commented on 2024-01-06 12:18 (UTC)

@thrasibule The breaf summary is

test_assumptions.py .                                                    [  2%]
test_autoprofile.py FFFFFFFF                                             [ 26%]
test_cli.py ..                                                           [ 32%]
test_complex_case.py FF                                                  [ 38%]
test_duplicate_functions.py .                                            [ 41%]
test_explicit_profile.py .FFFFFFF                                        [ 64%]
test_import.py ..                                                        [ 70%]
test_ipython.py .                                                        [ 73%]
test_kernprof.py ...                                                     [ 82%]
test_line_profiler.py ......                                             [100%]

There are errors like AttributeError: module 'ubelt' has no attribute 'ChDir' or AttributeError: 'dict' object has no attribute 'stdout'. Did you build with a clean chroot?

thrasibule commented on 2024-01-06 12:02 (UTC)

@lahwaacz which test doesn't work? I have python-ubelt 1.3.4 installed and tests pass fine here.

lahwaacz commented on 2024-01-06 10:44 (UTC)

The tests don' work with python-ubelt 1.3.4 which is now in AUR.

arielzn commented on 2023-11-15 13:56 (UTC)

i confirm that removing --no-isolation produces a working build

carsme commented on 2023-07-25 12:00 (UTC)

Also affected by the compilation error.

ilario commented on 2023-07-25 10:42 (UTC)

Just observed the compilation error reported by @lahwaacz.

Reading here https://github.com/pyutils/line_profiler/issues/204 seems that the latest version of Cython, currently, cannot be used for compiling line_profiler.

For fixing, in my opinion, we should remove "--no-isolation" from the build command in PKGBUILD until when the line_profiler will be compatible with the latest Cython version again.

Nestor_013 commented on 2023-05-08 16:04 (UTC) (edited on 2023-05-08 16:04 (UTC) by Nestor_013)

After update of PKGBUILD to 4.0.3 (thanks to maintainer), now there is:

run_tests.py: error: unrecognized arguments: --cov-config --cov-report html --cov-report term --cov-report xml --cov=line_profiler

I guess it's a missing python-pytest-cov in makedepends

Nestor_013 commented on 2023-05-08 09:32 (UTC) (edited on 2023-05-08 09:33 (UTC) by Nestor_013)

Thanks @lahwaacz.

Damned, I miss that one, that's a nuisance that pkg version does not change at least it's minor value when python changes.

Now, I end up to the same stage as you. I'll wait.

Interestingly enough, pip install line-profiler seems to work with a version 4.0.3.