Package Details: python-pyinstrument 4.6.2-1

Git Clone URL: https://aur.archlinux.org/python-pyinstrument.git (read-only, click to copy)
Package Base: python-pyinstrument
Description: Call stack profiler for Python
Upstream URL: https://github.com/joerick/pyinstrument
Licenses: BSD-3-Clause
Submitter: zhangkaizhao
Maintainer: alhirzel
Last Packager: alhirzel
Votes: 1
Popularity: 0.181004
First Submitted: 2019-01-14 04:16 (UTC)
Last Updated: 2024-01-29 22:07 (UTC)

Latest Comments

Score_Under commented on 2024-02-12 13:39 (UTC) (edited on 2024-02-12 13:39 (UTC) by Score_Under)

Needs python-setuptools in makedepends:

==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'

ERROR Backend 'setuptools.build_meta' is not available.

bradpitcher commented on 2023-01-09 15:29 (UTC) (edited on 2023-01-09 15:30 (UTC) by bradpitcher)

Please add aarch64 as a supported arch. Works fine for me running python-trimesh tests on Asahi

diff --git a/.SRCINFO b/.SRCINFO
index f4af8a9..9402386 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,6 +4,7 @@ pkgbase = python-pyinstrument
        pkgrel = 2
        url = https://github.com/joerick/pyinstrument
        arch = x86_64
+       arch = aarch64
        license = BSD
        makedepends = python-build
        makedepends = python-installer
diff --git a/PKGBUILD b/PKGBUILD
index 83729b7..6107cca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _pkg="${pkgname#python-}"
 pkgver=4.1.1
 pkgrel=2
 pkgdesc="Call stack profiler for Python"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url="https://github.com/joerick/pyinstrument"
 license=('BSD')
 depends=('python>=3.7')