Package Details: python2-hyperlink 21.0.0-3

Git Clone URL: https://aur.archlinux.org/python2-hyperlink.git (read-only, click to copy)
Package Base: python2-hyperlink
Description: A featureful, correct URL for Python
Upstream URL: https://github.com/python-hyper/hyperlink
Licenses: BSD
Submitter: LaughingMan
Maintainer: LaughingMan
Last Packager: LaughingMan
Votes: 2
Popularity: 0.000515
First Submitted: 2021-06-30 17:04 (UTC)
Last Updated: 2023-08-01 09:34 (UTC)

Latest Comments

LaughingMan commented on 2023-08-01 09:39 (UTC)

Fixed. It flew under the radar until now since that test only gets executed when you happen to have python2-hypothesis installed.

MarsSeed commented on 2023-07-31 12:44 (UTC)

And actually it seems that none of python2-twisted's current consumers are used. The end-user applications all seem to be broken for some reason or another.

MarsSeed commented on 2023-07-31 12:43 (UTC)

Though I don't need this package, I was just checking if taskcoach can work or not. But apparently it has other build failures as well.

MarsSeed commented on 2023-07-31 11:58 (UTC)

One of the tests fail here, preventing package creation and installation:

============================= test session starts ==============================
platform linux2 -- Python 2.7.18, pytest-4.6.11, py-1.11.0, pluggy-0.13.1
rootdir: /home/user/.cache/makepkg/python2-hyperlink/src/hyperlink-21.0.0, inifile: pytest.ini
plugins: hypothesis-4.57.1
collected 113 items

src/hyperlink/test/test_common.py ......                                 [  5%]
src/hyperlink/test/test_decoded_url.py ............                      [ 15%]
src/hyperlink/test/test_hypothesis.py ......F.......                     [ 28%]
src/hyperlink/test/test_parse.py .                                       [ 29%]
src/hyperlink/test/test_scheme_registration.py .......                   [ 35%]
src/hyperlink/test/test_url.py ......................................... [ 71%]
................................                                         [100%]

=================================== FAILURES ===================================
_____________ TestHypothesisStrategies.test_hostnames_ascii_nolead _____________

self = <hyperlink.test.test_hypothesis.TestHypothesisStrategies testMethod=test_hostnames_ascii_nolead>

    @given(hostnames(allow_leading_digit=False, allow_idn=False))
>   def test_hostnames_ascii_nolead(self, hostname):
        # type: (Text) -> None
        """
        hostnames(allow_leading_digit=False, allow_idn=False) generates
        ASCII host names without leading digits.
E       FailedHealthCheck: It looks like your strategy is filtering out a lot of data. Health check found 
        50 filtered examples but only 3 good ones. This will make your tests much slower, and also will 
        probably distort the data generation quite a lot. You should adapt your strategy to filter less. 
        This can also be caused by a low max_leaves parameter in recursive() calls
E       See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. 
        If you want to disable just this health check, add HealthCheck.filter_too_much to the 
        suppress_health_check settings for this test.

src/hyperlink/test/test_hypothesis.py:177: FailedHealthCheck
---------------------------------- Hypothesis ----------------------------------
You can add @seed(112134079374332543193346491934930432019) to this test or run pytest with 
--hypothesis-seed=112134079374332543193346491934930432019 to reproduce this failure.
==================== 1 failed, 112 passed in 29.73 seconds =====================

LaughingMan commented on 2022-09-30 11:08 (UTC)

It was deleted from the community repository with https://github.com/archlinux/svntogit-community/commit/410cfac4a30789276a218752b64921814767de87. I've resurrected it as an AUR package so installing should work again.

Lampese commented on 2022-09-30 09:05 (UTC) (edited on 2022-09-30 09:08 (UTC) by Lampese)

What happens to "python2 typing" in dependency? I can't install it which caused the dependency chain to break.