dev-python/dwdwfsapi-1.0.6 requires <dev-python/urllib3-2? #2232

Closed
opened 2023-10-29 10:13:48 +01:00 by onkelbeh · 4 comments
Owner

dev-python/urllib3:0

(dev-python/urllib3-2.0.6-1:0/0::gentoo, binary scheduled for merge) USE="-brotli -test -zstd" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 (-python3_12)" conflicts with
<dev-python/urllib3-2[python_targets_python3_11(-)] required by (dev-python/dwdwfsapi-1.0.6-2:0/0::HomeAssistantRepository, installed) USE="-test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
^ ^

dev-python/urllib3:0 (dev-python/urllib3-2.0.6-1:0/0::gentoo, binary scheduled for merge) USE="-brotli -test -zstd" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 (-python3_12)" conflicts with <dev-python/urllib3-2[python_targets_python3_11(-)] required by (dev-python/dwdwfsapi-1.0.6-2:0/0::HomeAssistantRepository, installed) USE="-test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" ^ ^
onkelbeh added the Cleanup label 2023-10-29 10:14:07 +01:00

From upstream:

dwdwfsapi-1.0.6
REQUIRES = ["requests>=2.23.0,<3", "ciso8601>=2.1.3,<3", "urllib3>=1.25.8,<2"]

dwdwfsapi-1.0.7
REQUIRES = ["requests>=2.23.0,<3", "ciso8601>=2.1.3,<3", "urllib3>=1.25.8,<3"]

So may be it is possible to upgrade to 1.0.7 ?

From upstream: dwdwfsapi-1.0.6 REQUIRES = ["requests>=2.23.0,<3", "ciso8601>=2.1.3,<3", "urllib3>=1.25.8,<2"] dwdwfsapi-1.0.7 REQUIRES = ["requests>=2.23.0,<3", "ciso8601>=2.1.3,<3", "urllib3>=1.25.8,<3"] So may be it is possible to upgrade to 1.0.7 ?
Author
Owner

Sure, we could, but I am still trying to avoid patching the core deps.
I would more likely add a patch to the dwdwfsapi-1.0.6 Ebuild.
But I hope they bump it soon.

I believe that not many use the dwd_weather_warnings integration anyway.
The information they provide is not very reliable :-)
If they warn, nothing happens. If they don't, hell breaks loose.

Sure, we could, but I am still trying to avoid patching the core deps. I would more likely add a patch to the dwdwfsapi-1.0.6 Ebuild. But I hope they bump it soon. I believe that not many use the `dwd_weather_warnings` integration anyway. The information they provide is not very reliable :-) If they warn, nothing happens. If they don't, hell breaks loose.

I've take a look at differences between 1.0.6 and 1.0.7: https://github.com/stephan192/dwdwfsapi/commit/c91bf405b5813913370b46aeb6372eaa3e7755d7

So you can update the urllib dependency directly since the version bump is only about urllib version update without any code modification.

I've take a look at differences between 1.0.6 and 1.0.7: https://github.com/stephan192/dwdwfsapi/commit/c91bf405b5813913370b46aeb6372eaa3e7755d7 So you can update the urllib dependency directly since the version bump is only about urllib version update without any code modification.
onkelbeh added this to the 2023.11.1 milestone 2023-11-05 09:38:59 +01:00
Author
Owner

I already patched dwdwfsapi-1.0.6-r1.ebuild

with

src_prepare() {
	sed -i 's/"urllib3>=1.25.8,<2"/"urllib3>=1.25.8"/g' -i setup.py || die
	eapply_user
}

This way the modification

  • does not require touching core's constraints and
  • vanishes by itself with the next release
  • and we can build it without the old urllib3-1
I already patched `dwdwfsapi-1.0.6-r1.ebuild` with ```bash src_prepare() { sed -i 's/"urllib3>=1.25.8,<2"/"urllib3>=1.25.8"/g' -i setup.py || die eapply_user } ``` This way the modification - does not require touching core's constraints and - vanishes by itself with the next release - and we can build it without the old `urllib3-1`
Sign in to join this conversation.
No labels Cleanup
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#2232