Skip to content

python38Packages.ldap: 3.3.1 -> 3.4.0#149010

Merged
jonringer merged 1 commit intoNixOS:masterfrom
r-ryantm:auto-update/python3.8-python-ldap
Dec 11, 2021
Merged

python38Packages.ldap: 3.3.1 -> 3.4.0#149010
jonringer merged 1 commit intoNixOS:masterfrom
r-ryantm:auto-update/python3.8-python-ldap

Conversation

@r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Dec 6, 2021

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for python38Packages.ldap is: "Python modules for implementing LDAP clients"

meta.homepage for python38Packages.ldap is: "https://www.python-ldap.org/"

meta.changelog for python38Packages.ldap is: ""

Updates performed
  • Ran passthru.UpdateScript
To inspect upstream changes
Impact
Checks done (click to expand)
  • built on NixOS

  • Warning: a test defined in passthru.tests did not pass

  • 0 of 0 passed binary check by having a zero exit code.

  • 0 of 0 passed binary check by having the new version present in output.

  • found 3.4.0 with grep in /nix/store/8yd79gy4gf5sdc4p4r33qb47d1gy5jw0-python3.8-python-ldap-3.4.0

  • found 3.4.0 in filename of file in /nix/store/8yd79gy4gf5sdc4p4r33qb47d1gy5jw0-python3.8-python-ldap-3.4.0


Rebuild report (if merged into master) (click to expand)
24 total rebuild path(s)

15 package rebuild(s)

15 x86_64-linux rebuild(s)
9 x86_64-darwin rebuild(s)


First fifty rebuilds by attrpath
_389-ds-base
autofs5
docbookrx
odoo
powerdns-admin
python38Packages.django-auth-ldap
python38Packages.ldap
python38Packages.ldappool
python38Packages.suseapi
python39Packages.django-auth-ldap
python39Packages.ldap
python39Packages.ldappool
python39Packages.suseapi
radicale1
sssd
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/8yd79gy4gf5sdc4p4r33qb47d1gy5jw0-python3.8-python-ldap-3.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A python38Packages.ldap https://github.com/r-ryantm/nixpkgs/archive/0ca09eca65deb20346cc02244d7504ee6f7ce7f0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/8yd79gy4gf5sdc4p4r33qb47d1gy5jw0-python3.8-python-ldap-3.4.0
ls -la /nix/store/8yd79gy4gf5sdc4p4r33qb47d1gy5jw0-python3.8-python-ldap-3.4.0/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review run on x86_64-linux 1

3 packages failed to build:
  • autofs5
  • radicale1
  • sssd
11 packages built:
  • _389-ds-base
  • odoo
  • powerdns-admin
  • python38Packages.django-auth-ldap
  • python38Packages.ldap
  • python38Packages.ldappool
  • python38Packages.suseapi
  • python39Packages.django-auth-ldap
  • python39Packages.ldap
  • python39Packages.ldappool
  • python39Packages.suseapi

Maintainer pings

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Dec 6, 2021
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Dec 6, 2021
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

failures are broken on target branch

https://github.com/NixOS/nixpkgs/pull/149010

3 packages failed to build:
autofs5 radicale1 sssd

11 packages built:
_389-ds-base odoo powerdns-admin python38Packages.django-auth-ldap python38Packages.ldap python38Packages.ldappool python38Packages.suseapi python39Packages.django-auth-ldap python39Packages.ldap python39Packages.ldappool python39Packages.suseapi

@r-ryantm r-ryantm deleted the auto-update/python3.8-python-ldap branch December 11, 2021 22:30
@illustris
Copy link
Contributor

failures are broken on target branch

SSSD broke after this merge

[illustris@desktop:~/src/nixpkgs]$ git checkout f572eb6f8676eff79968f71e93a7b7e6d1271337
HEAD is now at f572eb6f867 python38Packages.ipyvue: 1.6.1 -> 1.7.0
[illustris@desktop:~/src/nixpkgs]$ nix-shell -I nixpkgs=$(pwd) -p sssd

[nix-shell:~/src/nixpkgs]$ exit
exit
[illustris@desktop:~/src/nixpkgs]$ git checkout 3fe9b97ddfd93bef87c8e9384a583897bc3842a4
Previous HEAD position was f572eb6f867 python38Packages.ipyvue: 1.6.1 -> 1.7.0
HEAD is now at 3fe9b97ddfd python38Packages.ldap: 3.3.1 -> 3.4.0
[illustris@desktop:~/src/nixpkgs]$ nix-shell -I nixpkgs=$(pwd) -p sssd
these 2 derivations will be built:
  /nix/store/vihk2p80465f2awvzl2iq887d6fkyczp-python2.7-python-ldap-3.4.0.drv
  /nix/store/cny6va982i6ddq7k1009pg2fl43mwcjh-sssd-2.6.0.drv
building '/nix/store/vihk2p80465f2awvzl2iq887d6fkyczp-python2.7-python-ldap-3.4.0.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing setuptools-check-hook
Using setuptoolsCheckPhase
Sourcing pytest-check-hook
Using pytestCheckPhase
Removing setuptoolsCheckPhase
unpacking sources
unpacking source archive /nix/store/7mrr4pwj81xyxmq78bic0nq4qnaypk2j-python-ldap-3.4.0.tar.gz
source root is python-ldap-3.4.0
setting SOURCE_DATE_EPOCH to timestamp 1637939386 of file python-ldap-3.4.0/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 12, in <module>
    'The C API from Python 3.6+ is required, found %s' % sys.version_info
RuntimeError: The C API from Python 3.6+ is required, found sys.version_info(major=2, minor=7, micro=18, releaselevel='final', serial=0)
error: builder for '/nix/store/vihk2p80465f2awvzl2iq887d6fkyczp-python2.7-python-ldap-3.4.0.drv' failed with exit code 1;
       last 10 log lines:
       > configuring
       > no configure script, doing nothing
       > building
       > Executing setuptoolsBuildPhase
       > Traceback (most recent call last):
       >   File "nix_run_setup", line 8, in <module>
       >     exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
       >   File "setup.py", line 12, in <module>
       >     'The C API from Python 3.6+ is required, found %s' % sys.version_info
       > RuntimeError: The C API from Python 3.6+ is required, found sys.version_info(major=2, minor=7, micro=18, releaselevel='final', serial=0)
       For full logs, run 'nix log /nix/store/vihk2p80465f2awvzl2iq887d6fkyczp-python2.7-python-ldap-3.4.0.drv'.
error: 1 dependencies of derivation '/nix/store/cny6va982i6ddq7k1009pg2fl43mwcjh-sssd-2.6.0.drv' failed to build
[illustris@desktop:~/src/nixpkgs]$

I'll open a PR to fix that. Maybe it's time to drop python 2.7 from SSSD.

illustris added a commit to illustris/nixpkgs that referenced this pull request Dec 14, 2021
python2Packages.ldap fails to build since NixOS#149010
This PR drops python2 bindings for sssd.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants