Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718520 - sys-auth/nss-pam-ldapd: need py3.7, 3.8 port
Summary: sys-auth/nss-pam-ldapd: need py3.7, 3.8 port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on: 718774
Blocks: python3.8-compat
  Show dependency tree
 
Reported: 2020-04-19 20:16 UTC by Michał Górny
Modified: 2021-05-09 23:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


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 2020-04-19 20:16:07 UTC
The packages are stuck on py3.6 which means they will be pain once we switch to 3.7.  Please test them on 3.7 *and* 3.8 (so we don't to revisit this in a few months), and update PYTHON_COMPAT appropriately.  If it doesn't work, please either fix it, remove Python or issue last rites.  Please consider this urgent.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-20 22:42:28 UTC
need python-daemon to be updated, which needs twine, which needs a bunch of stuff for arm, I'm not going to do that myself, if it was just one or two, fine, but that's too much
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-21 06:00:25 UTC
twine has 3.7 and 3.8.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-21 06:17:01 UTC
that part is the easy part, hard part is adding the arm keyword :P

do I actually need twine for stuff in setup_requires or just install_requires?  My gut says no.

https://pagure.io/python-daemon/blob/master/f/setup.py
Comment 4 Laszlo Valko 2020-05-24 18:12:56 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #1)
> need python-daemon to be updated

No longer, python-daemon is done by now, at least for 3.7. The dependency behind it is not fixed for arm, though, but that should not bother you, as nss-pam-ldapd is only supported on x86 & amd64 anyway, and python-daemon should be okay on those platforms.

So please go ahead with this package. Thank you.

$ grep KEY dev-python/python-daemon/python-daemon-*
KEYWORDS="amd64 arm x86"
$ grep PYTHON_COMPAT dev-python/python-daemon/python-daemon-*
PYTHON_COMPAT=( python3_{6,7} )
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-05-26 16:14:15 UTC
I can add py37, but py38 still looks like it can't happen yet :(

I have added py37 though
Comment 6 Larry the Git Cow gentoo-dev 2020-05-26 16:16:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c310862dd0e6066c8bc874a0308276ffe094bcde

commit c310862dd0e6066c8bc874a0308276ffe094bcde
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-05-26 16:14:11 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-05-26 16:14:11 +0000

    sys-auth/nss-pam-ldapd: add py37 support
    
    Bug: https://bugs.gentoo.org/718520
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Larry the Git Cow gentoo-dev 2020-09-05 00:07:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f75b8e5458a93664ab8993bc95e769aae0e0b7f

commit 8f75b8e5458a93664ab8993bc95e769aae0e0b7f
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2020-09-05 00:04:46 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2020-09-05 00:07:45 +0000

    sys-auth/nss-pam-ldapd-0.9.11-r3: EAPI=7, py38 (bug #718520)
    
    Closes: https://bugs.gentoo.org/718520
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Patrick McLean <patrick.mclean@sony.com>
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../nss-pam-ldapd-0.9.11-relative-imports.patch    | 452 +++++++++++++++++++++
 .../files/nss-pam-ldapd-0.9.11-tests.patch         |  34 ++
 .../files/nss-pam-ldapd-0.9.11-use-mkstemp.patch   |  25 ++
 .../nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild   | 167 ++++++++
 4 files changed, 678 insertions(+)
Comment 8 Andreas Sturmlechner gentoo-dev 2021-05-09 23:08:02 UTC
What about cleanup old 0.9.11-r2 now?