Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[staging-next] python3Packages.keyring: disable keychain tests on darwin #120206

Merged
merged 1 commit into from Apr 22, 2021

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented Apr 22, 2021

It is highly unlikely that we can communicate with keychain in our build
environment. The tests were only recently enabled and have blocked this
package ever since.

Motivation for this change

https://nix-cache.s3.amazonaws.com/log/dj4appp2b8qq2vlakg6sgr218ky71ff4-python3.8-keyring-23.0.1.drv

Needs to be tested on x86_64-darwin

#119398

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Apr 22, 2021
@mweinelt mweinelt changed the title python3Packages.keyring: disable keychain tests on darwin [staging-next] python3Packages.keyring: disable keychain tests on darwin Apr 22, 2021
@ofborg ofborg bot requested review from lovek323 and dotlambda April 22, 2021 11:52
It is highly unlikely that we can communicate with keychain in our build
environment. The tests were only recently enabled and have blocked this
package ever since.
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

@dotlambda
Copy link
Member

I think this can go to master. I did not build all depending packages though.

@mweinelt
Copy link
Member Author

/rebase master

@dotlambda
Copy link
Member

Never mind, the commit which broke it is not in master.

@dotlambda dotlambda merged commit de5555d into NixOS:staging-next Apr 22, 2021
@github-actions
Copy link
Contributor

Failed to rebase

@mweinelt mweinelt deleted the python/keyring branch April 22, 2021 16:23
@vcunat
Copy link
Member

vcunat commented Apr 22, 2021

Unfortunately it's still failing on Hydra: https://hydra.nixos.org/build/141759604

@mweinelt
Copy link
Member Author

Are you sure that was already in by the time? The tests/backends/test_macOS.py should be disabled.

@vcunat
Copy link
Member

vcunat commented Apr 22, 2021

Yes, Hydra shows it's commit de5555d.

@vcunat
Copy link
Member

vcunat commented Apr 22, 2021

I'm suspicious of the disabledTestsPaths word, as I can't see any other occurrence in nixpkgs.

"test_multiprocess_get_after_native_get"
];

disabledTestsPaths = [
Copy link
Member Author

Choose a reason for hiding this comment

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

Uh, typo.

Tests -> Test.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll push a fix to staging-next.

@mweinelt
Copy link
Member Author

Fixed in 26dbd04.

@vcunat
Copy link
Member

vcunat commented Apr 22, 2021

A way of testing smaller x86_64-darwin builds would be nice, again a machine for OfBorg or someone writing up a GitHub action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants