Package Details: python-jaraco.packaging 10.2.3-1

Git Clone URL: https://aur.archlinux.org/python-jaraco.packaging.git (read-only, click to copy)
Package Base: python-jaraco.packaging
Description: Tools to supplement packaging Python releases
Upstream URL: https://github.com/jaraco/jaraco.packaging
Licenses: MIT
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 4
Popularity: 0.000002
First Submitted: 2022-05-24 15:51 (UTC)
Last Updated: 2025-07-20 16:11 (UTC)

Dependencies (14)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

mhaquila commented on 2023-05-15 12:19 (UTC)

You can easily resolve this problem modifying PKGBUILD in this way:

diff --git a/PKGBUILD b/PKGBUILD
index 375e9c4..f1a8e1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,9 @@ sha256sums=('1b06a2a700975c298e793264f07ca522cfec778c03eeae28395af97c3b1b23e3')

 build() {
   cd "$_name-$pkgver"
+  python -m venv env
+  source env/bin/activate
+  pip install build wheel setuptools-scm rst.linker sphinx furo jaraco.context installer
   python -m build --wheel --no-isolation

   # generate html docs

So you will create a virtual environment, activate it, install in it necessary packages and then make the compilation in this venv.

yochananmarqos commented on 2023-05-13 16:54 (UTC)

@cherio: Don't mix system and local Python packages.

cherio commented on 2023-05-13 16:43 (UTC) (edited on 2023-05-13 16:45 (UTC) by cherio)

Here is what I get when updating 9.1.2-1 -> 9.2.0-1 with yay:

Successfully built jaraco.packaging-9.2.0-py3-none-any.whl
Running Sphinx v7.0.1

Extension error:
Could not import extension rst.linker (exception: No module named 'rst')
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-jaraco.packaging-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-jaraco.packaging - exit status 4

yochananmarqos commented on 2022-06-10 16:04 (UTC)

@yan12125: It seems it doesn't need it after all. git-cola builds fine without it, anyway.

yan12125 commented on 2022-06-10 11:16 (UTC) (edited on 2022-06-10 13:58 (UTC) by yan12125)

All other python-jaraco.* packages utilize PEP 420 and jaraco/__init__.py is no longer needed. I believe jaraco.packaging works similarly.

yochananmarqos commented on 2022-06-09 16:18 (UTC)

@yan12125: This package looks for /usr/lib/python3.10/site-packages/jaraco/__init__.py which only python-jaraco contains.

yan12125 commented on 2022-06-09 07:44 (UTC)

python-jaraco is split into python-jaraco.* and going to be removed. Please update package dependencies, thanks!