Bug 261243 - www/py-rfc3986: 1.5.0 -> 2.0.0 update ports d681fdea breaks www/py-httpx, www/py-hyper: py38-rfc3986>=1.3<2 - not found
Summary: www/py-rfc3986: 1.5.0 -> 2.0.0 update ports d681fdea breaks www/py-httpx, www...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: Yuri Victorovich
URL:
Keywords: needs-patch, regression
Depends on:
Blocks:
 
Reported: 2022-01-16 12:07 UTC by p5B2EA84B3
Modified: 2022-01-22 01:38 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
workaround (1.33 KB, patch)
2022-01-16 13:23 UTC, Ivan Rozhuk
rozhuk.im: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2022-01-16 12:07:20 UTC
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py38-httpx-0.21.1 depends on package: py38-certifi>=0 - not found
===>   Installing existing package /packages/All/py38-certifi-2021.10.8.pkg
[pkg.FreeBSD.org] Installing py38-certifi-2021.10.8...
[pkg.FreeBSD.org] Extracting py38-certifi-2021.10.8: .......... done
===>   py38-httpx-0.21.1 depends on package: py38-certifi>=0 - found
===>   Returning to build of py38-httpx-0.21.1
===>   py38-httpx-0.21.1 depends on package: py38-charset-normalizer>=0 - not found
===>   Installing existing package /packages/All/py38-charset-normalizer-2.0.9.pkg
[pkg.FreeBSD.org] Installing py38-charset-normalizer-2.0.9...
[pkg.FreeBSD.org] Extracting py38-charset-normalizer-2.0.9: .......... done
===>   py38-httpx-0.21.1 depends on package: py38-charset-normalizer>=0 - found
===>   Returning to build of py38-httpx-0.21.1
===>   py38-httpx-0.21.1 depends on package: py38-httpcore>=0.14.0<0.15.0 - not found
===>   Installing existing package /packages/All/py38-httpcore-0.14.3.pkg
[pkg.FreeBSD.org] Installing py38-httpcore-0.14.3...
[pkg.FreeBSD.org] `-- Installing py38-anyio-3.4.0...
[pkg.FreeBSD.org] |   `-- Installing py38-idna-2.10...
[pkg.FreeBSD.org] |   `-- Extracting py38-idna-2.10: .......... done
[pkg.FreeBSD.org] |   `-- Installing py38-sniffio-1.2.0...
[pkg.FreeBSD.org] |   `-- Extracting py38-sniffio-1.2.0: .......... done
[pkg.FreeBSD.org] `-- Extracting py38-anyio-3.4.0: .......... done
[pkg.FreeBSD.org] `-- Installing py38-h11-0.12.0...
[pkg.FreeBSD.org] `-- Extracting py38-h11-0.12.0: .......... done
[pkg.FreeBSD.org] `-- Installing py38-h2-4.0.0...
[pkg.FreeBSD.org] |   `-- Installing py38-hpack-4.0.0...
[pkg.FreeBSD.org] |   `-- Extracting py38-hpack-4.0.0: .......... done
[pkg.FreeBSD.org] |   `-- Installing py38-hyperframe-6.0.0...
[pkg.FreeBSD.org] |   `-- Extracting py38-hyperframe-6.0.0: .......... done
[pkg.FreeBSD.org] `-- Extracting py38-h2-4.0.0: .......... done
[pkg.FreeBSD.org] Extracting py38-httpcore-0.14.3: .......... done
===>   py38-httpx-0.21.1 depends on package: py38-httpcore>=0.14.0<0.15.0 - found
===>   Returning to build of py38-httpx-0.21.1
===>   py38-httpx-0.21.1 depends on package: py38-idna>=0 - found
===>   py38-httpx-0.21.1 depends on package: py38-rfc3986>=1.3<2 - not found
===>   Installing existing package /packages/All/py38-rfc3986-2.0.0.pkg
[pkg.FreeBSD.org] Installing py38-rfc3986-2.0.0...
[pkg.FreeBSD.org] Extracting py38-rfc3986-2.0.0: .......... done
===>   py38-httpx-0.21.1 depends on package: py38-rfc3986>=1.3<2 - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/www/py-httpx
=>> Cleaning up wrkdir
===>  Cleaning for py38-httpx-0.21.1
build of www/py-httpx@py38 | py38-httpx-0.21.1 ended at Sun Jan 16 12:56:06 CET 2022
build time: 00:00:07
!!! build failure encountered !!!
Comment 1 Ivan Rozhuk 2022-01-16 13:23:43 UTC
Created attachment 231041 [details]
workaround
Comment 2 Ivan Rozhuk 2022-01-16 13:40:32 UTC
https://github.com/encode/httpx/issues/504
https://github.com/python-hyper/rfc3986/commit/37482000ef69d6d759c4fed6d0eb0e80f84231b3

As far I see there was no API change in rfc3986 2.0, so it should work.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-22 00:16:55 UTC
ports d681fdea affected 13+ ports transitively: 

www/py-hyper: depends on package: py38-rfc3986>=1.1.0,<2.0 - not found
misc/orange3
www/py-httpx-socks
misc/py-orange3-associate
biology/py-orange3-bioinformatics
misc/py-orange3-datafusion
misc/py-orange3-educational
misc/py-orange3-network
biology/py-orange3-single-cell
textproc/py-orange3-text
misc/py-orange3-timeseries
devel/py-qcs-api-client
www/py-respx
www/searx

Assign to ports d681fdea committer, @Yuri please revert or resolve, perhaps with a www/py-rfc3986-v1 port @ 1.5.0

http://beefy16.nyi.freebsd.org/build.html?mastername=130amd64-default&build=a9f0602be17e
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2022-01-22 01:35:18 UTC
Commit reverted, thanks for reporting.
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-01-22 01:38:23 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d174c9b6494b82f0ea88825da37139ac0eb057c4

commit d174c9b6494b82f0ea88825da37139ac0eb057c4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-22 01:26:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-22 01:37:22 +0000

    www/py-rfc3986: Revert update 1.5.0 -> 2.0.0 back to 1.5.0

    This reverts commit d681fdeaab9942cd9a49ea51e3efd4159fc2fe52.

    PR:             261243
    Reported by:    p5B2E9A8F@t-online.de, koobs@

 www/py-rfc3986/Makefile | 5 +++--
 www/py-rfc3986/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)