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] pythonPackages fixes #72105

Merged
merged 4 commits into from Oct 27, 2019

Conversation

jonringer
Copy link
Contributor

Motivation for this change

some package fixes

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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.
Notify maintainers

cc @

@jonringer jonringer requested a review from FRidh as a code owner October 27, 2019 15:45
@jonringer jonringer changed the title pythonPackages fixes [staging-next] pythonPackages fixes Oct 27, 2019
@jonringer
Copy link
Contributor Author

I also had tbm-utils, audio-metadata, and one other, but you already got to them :)

@jonringer
Copy link
Contributor Author

I'm going to do a few more package fixes if you don't mind. Don't merge for a little while :)

Copy link
Member

@prusnak prusnak left a comment

Choose a reason for hiding this comment

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

Pyro4 build fails with the following for me:

$ nix-shell -I nixpkgs=. -p python3Packages.Pyro4

...
...
...

=================================== FAILURES ===================================
__________________________ TestSSL.testContextAndSock __________________________

self = <PyroTests.test_socket.TestSSL testMethod=testContextAndSock>

    def testContextAndSock(self):
        cert_dir = "../../certs"
        if not os.path.isdir(cert_dir):
            cert_dir = "../certs"
            if not os.path.isdir(cert_dir):
>               self.fail("cannot locate test certs directory")
E               AssertionError: cannot locate test certs directory

tests/PyroTests/test_socket.py:568: AssertionError
=============================== warnings summary ===============================
tests/PyroTests/test_socket.py:375
  /build/Pyro4-4.75/tests/PyroTests/test_socket.py:375: PytestCollectionWarning: cannot collect test class 'TestDaemon' because it has a __init__ constructor (from: tests/PyroTests/test_socket.py)
    class TestDaemon(Daemon):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
= 1 failed, 602 passed, 20 skipped, 6 deselected, 1 warnings in 77.65s (0:01:17) =

@jonringer
Copy link
Contributor Author

are you on darwin?

@ofborg ofborg bot requested a review from prusnak October 27, 2019 18:15
@prusnak
Copy link
Member

prusnak commented Oct 27, 2019

@jonringer no:

$ nix-info 
system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.1, channels(user): "", channels(root): "nixos-20.03pre198214.4cd2cb43fb3, nixos-hardware", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

@jonringer
Copy link
Contributor Author

@GrahamcOfBorg build python27Packages.Pyro4 python37Packages.Pyro4 python38Packages.Pyro4

@jonringer
Copy link
Contributor Author

@prusnak do you have an overlay present? ofborg was able to build on aarch-linux

@prusnak
Copy link
Member

prusnak commented Oct 27, 2019

hmm no ...

@jonringer
Copy link
Contributor Author

seeing as these builds are broken on staging-next, I'm going to merge, worse case, their still broken for some.

@jonringer jonringer merged commit 5e85873 into NixOS:staging-next Oct 27, 2019
@jonringer jonringer deleted the left-behind-updates branch October 27, 2019 23:14
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

3 participants