Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773727 - dev-python/idna-3.1: stablereq
Summary: dev-python/idna-3.1: stablereq
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: ALLARCHES, CC-ARCHES
: 783285 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-02 00:43 UTC by Michał Górny
Modified: 2021-05-06 12:31 UTC (History)
2 users (show)

See Also:
Package list:
dev-python/idna-3.1
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-02 00:43:51 UTC
Please stabilize.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-30 08:23:35 UTC
Is there anything blocking this?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-30 15:49:09 UTC
This makes automated testing a pain:


dev-python/idna:0

  (dev-python/idna-3.1:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_7 python3_8 python3_9 -pypy3" pulled in by
    =dev-python/idna-3.1 (Argument)

  (dev-python/idna-2.10-r1-1:0/0::gentoo, installed) USE="" PYTHON_TARGETS="python3_7 python3_8 python3_9 (-pypy3) -python3_6" pulled in by
    <dev-python/idna-3[python_targets_pypy3(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/requests-2.25.1-r1-1:0/0::gentoo, installed) USE="-socks5 -test" PYTHON_TARGETS="python3_7 python3_8 python3_9 (-pypy3)"
    ^
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-05 22:25:42 UTC
amd64 arm arm64 hppa ppc ppc64 s390 sparc x86 (ALLARCHES) done

all arches done
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-06 06:22:29 UTC
Err, no can see them.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-17 07:23:08 UTC
*** Bug 783285 has been marked as a duplicate of this bug. ***
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-18 02:55:38 UTC
(In reply to Michał Górny from comment #4)
> Err, no can see them.

Hmm.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-18 07:06:47 UTC
Yep, still not there.  I would have committed them for you but I'm not sure if you actually tested the right version ;-).
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-04-28 22:49:29 UTC
amd64 arm arm64 hppa ppc ppc64 sparc x86 (ALLARCHES) done

all arches done
Comment 9 Adrian Bassett 2021-04-29 10:29:08 UTC
(In reply to Sam James from comment #2)
> This makes automated testing a pain:
> 
> 
> dev-python/idna:0
> 
>   (dev-python/idna-3.1:0/0::gentoo, ebuild scheduled for merge) USE=""
> PYTHON_TARGETS="python3_7 python3_8 python3_9 -pypy3" pulled in by
>     =dev-python/idna-3.1 (Argument)
> 
>   (dev-python/idna-2.10-r1-1:0/0::gentoo, installed) USE=""
> PYTHON_TARGETS="python3_7 python3_8 python3_9 (-pypy3) -python3_6" pulled in
> by
>    
> <dev-python/idna-3[python_targets_pypy3(-)?,python_targets_python3_7(-)?,
> python_targets_python3_8(-)?,python_targets_python3_9(-)?,-
> python_single_target_pypy3(-),-python_single_target_python3_7(-),-
> python_single_target_python3_8(-),-python_single_target_python3_9(-)]
> required by (dev-python/requests-2.25.1-r1-1:0/0::gentoo, installed)
> USE="-socks5 -test" PYTHON_TARGETS="python3_7 python3_8 python3_9 (-pypy3)"
>     ^

I'm not doing automated testing, but I am seeing, for obvious reasons as per the dev-python/requests ebuild, the same block.

Not sure that I know what the underlying issues are (or why this is not generally encountered as a problem) but I did come across the following discussion:

https://github.com/psf/requests/issues/5710

in case that helps at all

Thanks
Comment 10 Icebird2000 2021-05-05 10:35:32 UTC
The Problem above with dev-python/requests are this lines in the ebuild:

RDEPEND="
        >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
        >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
        <dev-python/chardet-5[${PYTHON_USEDEP}]

>>>>>        >=dev-python/idna-2.5[${PYTHON_USEDEP}]
>>>>>        <dev-python/idna-3[${PYTHON_USEDEP}]

        <dev-python/urllib3-1.27[${PYTHON_USEDEP}]
        socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
"

and are also related to https://bugs.gentoo.org/787584
Comment 11 Adrian Bassett 2021-05-05 10:55:31 UTC
(In reply to Icebird2000 from comment #10)
> The Problem above with dev-python/requests are this lines in the ebuild:
> 
> RDEPEND="
>         >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>         >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
>         <dev-python/chardet-5[${PYTHON_USEDEP}]
> 
> >>>>>        >=dev-python/idna-2.5[${PYTHON_USEDEP}]
> >>>>>        <dev-python/idna-3[${PYTHON_USEDEP}]
> 
>         <dev-python/urllib3-1.27[${PYTHON_USEDEP}]
>         socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
> "
> 
> and are also related to https://bugs.gentoo.org/787584

Yup, I understand where the block is coming from.

The point (if I understand things correctly) is that >=idna-3.0 is blocked by dev-python/requests because, upstream, requests continues support for python 2.7.

However, as python 2.7 is no longer supported in PYTHON_TARGETS on gentoo, perhaps continuing to block >=idna-3.0 in the requests ebuild is no longer necessary?
Comment 12 Adrian Bassett 2021-05-05 17:33:21 UTC
(In reply to Adrian Bassett from comment #11)
> (In reply to Icebird2000 from comment #10)
> > The Problem above with dev-python/requests are this lines in the ebuild:
> > 
> > RDEPEND="
> >         >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
> >         >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
> >         <dev-python/chardet-5[${PYTHON_USEDEP}]
> > 
> > >>>>>        >=dev-python/idna-2.5[${PYTHON_USEDEP}]
> > >>>>>        <dev-python/idna-3[${PYTHON_USEDEP}]
> > 
> >         <dev-python/urllib3-1.27[${PYTHON_USEDEP}]
> >         socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
> > "
> > 
> > and are also related to https://bugs.gentoo.org/787584
> 
> Yup, I understand where the block is coming from.
> 
> The point (if I understand things correctly) is that >=idna-3.0 is blocked
> by dev-python/requests because, upstream, requests continues support for
> python 2.7.
> 
> However, as python 2.7 is no longer supported in PYTHON_TARGETS on gentoo,
> perhaps continuing to block >=idna-3.0 in the requests ebuild is no longer
> necessary?

This has now been resolved - cf. https://bugs.gentoo.org/787584#c3