Summary: | vdirsyncer stopped working after several python libraries upgrades | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | freebsd |
Component: | Individual Port(s) | Assignee: | Baptiste Daroussin <bapt> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
freebsd
2024-11-22 09:26:16 UTC
it is broken since aiohttp 3.11.0 the changelog states it clearly: "Increased minimum yarl version to 1.17.0" https://docs.aiohttp.org/en/stable/changes.html While in ports we have 1.12.0... A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f99f061e3371380bf0a3a9712c9415853d481ce commit 8f99f061e3371380bf0a3a9712c9415853d481ce Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2024-11-22 09:53:32 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-11-22 09:55:00 +0000 www/py-yarl: update to 1.18.0 This upgrade is necessary to be done ASAP to fix py-asiohttp which requires yarl > 1.17.0 since 3.11 Version 1.16.0 introduce a backward incompatibility, I have checked the various consumers in the ports tree, and they seems not to be affected. PR: 282913 www/py-yarl/Makefile | 5 +++-- www/py-yarl/distinfo | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) the reporter confirmed the issue is now fixed with the right yarl. I was not updating it as it because it required propcache which was not ported yet.
> install_requires =
> idna >= 2.0
> multidict >= 4.0
> propcache >= 0.2.0
How come it was updated without adding this dependency?
Also, why move cython from uses to depends?
Tests now fail, please rollback or add the required dependency. In fact, this has broken all yarl consumers, including by production. % python3 -c 'import yarl' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.11/site-packages/yarl/__init__.py", line 2, in <module> from ._url import URL, cache_clear, cache_configure, cache_info File "/usr/local/lib/python3.11/site-packages/yarl/_url.py", line 13, in <module> from propcache.api import under_cached_property as cached_property ModuleNotFoundError: No module named 'propcache' A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=24a5ef4898712940caef660979b3f7a359667a6d commit 24a5ef4898712940caef660979b3f7a359667a6d Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2024-11-25 16:07:19 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2024-11-25 16:11:20 +0000 www/py-yarl: Add missing dependencies The update to 1.18.0 was not properly tested, missed runtime dependencies and was broken: ``` % python3 -c 'import yarl' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.11/site-packages/yarl/__init__.py", line 2, in <module> from ._url import URL, cache_clear, cache_configure, cache_info File "/usr/local/lib/python3.11/site-packages/yarl/_url.py", line 13, in <module> from propcache.api import under_cached_property as cached_property ModuleNotFoundError: No module named 'propcache' ``` Add missing RUN_DEPEND on a recently added py-propcache, and add missing test dependencies as well. PR: 282913 Pointyhat to: bapt www/py-yarl/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) |