Package Details: python-kiss-headers 2.4.3-1

Git Clone URL: https://aur.archlinux.org/python-kiss-headers.git (read-only, click to copy)
Package Base: python-kiss-headers
Description: Python package for HTTP/1.1 style headers. Parse headers to objects.
Upstream URL: https://ousret.github.io/kiss-headers
Licenses: MIT
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 6
Popularity: 0.005178
First Submitted: 2020-06-26 19:06 (UTC)
Last Updated: 2023-11-12 19:37 (UTC)

Latest Comments

gustaphe commented on 2022-07-26 06:24 (UTC)

When trying to install this package, I get ======================== 69 passed, 56 errors in 6.21s ======================== ==> ERROR: A failure occurred in check()., preceded by many (I suspect 56?) sections like

/usr/lib/python3.10/site-packages/pluggy/_callers.py:39:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

item = <DoctestItem kiss_headers.utils.unquote>

    def pytest_runtest_setup(item) -> None:
        """During each test item's setup phase,
        choose the behavior based on the configurations supplied.

        This is the bulk of the logic for the plugin.
        As the logic can be extensive, this method is allowed complexity.
        It may be refactored in the future to be more readable.
        """

        # If test has the `enable_socket` marker, we accept this as most explicit.
>       if "socket_enabled" in item.fixturenames or item.get_closest_marker(
            "enable_socket"
        ):
E       AttributeError: 'DoctestItem' object has no attribute 'fixturenames'

/usr/lib/python3.10/site-packages/pytest_socket.py:118: AttributeError

I would have submitted this in a bug tracker, but the upstream link is dead.

yochananmarqos commented on 2021-01-27 19:17 (UTC)

@nobodyinperson: Oops, forgot to remove that. It's now fixed, thanks for letting me know.

nobodyinperson commented on 2021-01-27 19:13 (UTC)

This one doesn't package well, this fixes it:

diff --git a/PKGBUILD b/PKGBUILD
index 4a7bfa8..925d16e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,5 +27,5 @@ package() {
    cd "$_name-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build

-   install -Dm644 "$srcdir/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
+   install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
 }