Package Details: python-jaraco.packaging 10.1.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: 4
Popularity: 0.016272
First Submitted: 2022-05-24 15:51 (UTC)
Last Updated: 2024-04-19 20:30 (UTC)

Dependencies (6)

Required by (2)

Sources (1)

Latest Comments

1 2 Next › Last »

dalu commented on 2024-04-10 08:41 (UTC) (edited on 2024-04-10 08:41 (UTC) by dalu)

==> Starting check()...
======================================================= test session starts ========================================================
platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
rootdir: /tmp/yaytmp-1000/python-jaraco.packaging/src/jaraco.packaging-9.4.0
configfile: pytest.ini
plugins: black-0.3.13.dev0+g1d0d34a.d20230410, cov-4.1.0, flake8-1.1.1, typeguard-4.2.1, mypy-0.10.3, enabler-3.1.1
collected 13 items                                                                                                                 

conftest.py .Fs                                                                                                              [ 23%]
docs/conf.py .s                                                                                                              [ 38%]
jaraco/packaging/__init__.py .s                                                                                              [ 53%]
jaraco/packaging/make-tree.py .s                                                                                             [ 69%]
jaraco/packaging/sphinx.py Fs..                                                                                              [100%]

============================================================= FAILURES =============================================================
___________________________________________________________ test session ___________________________________________________________
mypy exited with status 1.
____________________________________________________ jaraco/packaging/sphinx.py ____________________________________________________
16: error: Library stubs not installed for "docutils.parsers.rst"  [import-untyped]
16: note: Hint: "python3 -m pip install types-docutils"
16: note: (or run "mypy --install-types" to install all missing stub packages)
16: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
17: error: Library stubs not installed for "docutils.statemachine"  [import-untyped]
17: error: Library stubs not installed for "docutils"  [import-untyped]
========================================================= warnings summary =========================================================
jaraco/packaging/sphinx.py::packaging.sphinx._load_metadata_from_wheel
  /tmp/yaytmp-1000/python-jaraco.packaging/src/jaraco.packaging-9.4.0/jaraco/packaging/sphinx.py:99: DeprecationWarning: JARACO_PACKAGING_SPHINX_WHEEL is deprecated; fix pypa/build#556 instead
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.11.8-final-0 -----------
Name                            Stmts   Miss  Cover   Missing
-------------------------------------------------------------
conftest.py                         7      0   100%
docs/conf.py                        9      0   100%
jaraco/packaging/__init__.py        0      0   100%
jaraco/packaging/make-tree.py      26     15    42%   12, 16, 20-22, 28, 34-43
jaraco/packaging/sphinx.py         56     33    41%   22-27, 49-82, 112-117, 121-122, 126
-------------------------------------------------------------
TOTAL                              98     48    51%

=============================================================== mypy ===============================================================
Found 3 errors in 1 file (checked 5 source files)
===================================================== short test summary info ======================================================
FAILED conftest.py::mypy-status
FAILED jaraco/packaging/sphinx.py::mypy
======================================== 2 failed, 6 passed, 5 skipped, 1 warning in 19.36s ========================================
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python-jaraco.packaging-exit status 4

yochananmarqos commented on 2024-03-28 15:50 (UTC)

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

Duter2016 commented on 2024-03-28 14:11 (UTC)

when I update python-jaraco.packaging, I get an error tip:

ImportError: cannot import name 'HookimplOpts' from 'pluggy' (/home/dh/.local/lib/python3.11/site-packages/pluggy/__init__.py)
==> ERROR: A failure occurred in check().
    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

then I update pluggy:

pip3 install --upgrade pluggy

finally, I update python-jaraco.packaging successfully.

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.