Package Details: python-jaraco.packaging 9.4.0-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: 5
Popularity: 0.40
First Submitted: 2022-05-24 15:51 (UTC)
Last Updated: 2023-07-09 14:20 (UTC)

Latest Comments

1 2 Next › Last »

yochananmarqos commented on 2023-09-03 20:41 (UTC) (edited on 2023-09-03 20:43 (UTC) by yochananmarqos)

@atriix: Does not compute. python-types-docutils and python-docutils-stubs (which neither exists in the repos nor AUR) are two different packages and neither are required by this package.

EDIT: In your log, I see you have mypy installed which is not used to run the tests here. Please build in a clean chroot.

atriix commented on 2023-09-03 20:37 (UTC)

similarly to @haffmans, package build fails (specifically tests). installing https://aur.archlinux.org/packages/python-types-docutils fixes it, log https://bpa.st/KQ5E6

yochananmarqos commented on 2023-08-17 15:46 (UTC)

@haffmans: I just built it in a clean chroot with no issue. Please post your build log to a pastebin service and link it here.

haffmans commented on 2023-08-17 07:22 (UTC)

I couldn't build this without python-docutils-stubs installed, it's probably needed as make dependency.

cherio commented on 2023-05-18 16:28 (UTC) (edited on 2023-05-18 16:33 (UTC) by cherio)

Purging "yay" cache and reinstalling & rebuilding python-rst.linker fixed the issue. Thanks @harmathy, python3.11 upgrade was likely the cause.

harmathy commented on 2023-05-17 12:55 (UTC)

@cherio you most probably just have to re-build the python-rst.linker package after the python3.11 upgrade.

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.