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

python3.pkgs.httpbin: 0.6.2 -> 0.7.0 #105348

Merged
merged 1 commit into from Nov 30, 2020
Merged

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Nov 29, 2020

Motivation for this change
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.

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 105348 run on x86_64-linux 1

2 packages marked as broken and skipped:
  • python37Packages.qasm2image
  • python38Packages.qasm2image
25 packages built:
  • azure-cli
  • buku
  • http-prompt
  • httpie
  • lexicon
  • nvchecker (python38Packages.nvchecker)
  • papis (python38Packages.papis)
  • python37Packages.duecredit
  • python37Packages.habanero
  • python37Packages.httpbin
  • python37Packages.knack
  • python37Packages.nvchecker
  • python37Packages.papis
  • python37Packages.pytest-httpbin
  • python37Packages.qiskit
  • python37Packages.qiskit-ibmq-provider
  • python37Packages.vcrpy
  • python38Packages.duecredit
  • python38Packages.habanero
  • python38Packages.httpbin
  • python38Packages.knack
  • python38Packages.pytest-httpbin
  • python38Packages.qiskit
  • python38Packages.qiskit-ibmq-provider
  • python38Packages.vcrpy

@SuperSandro2000
Copy link
Member

SuperSandro2000 commented Nov 30, 2020

Result of nixpkgs-review pr 105348 run on x86_64-darwin 1

2 packages marked as broken and skipped:
  • python37Packages.qasm2image
  • python38Packages.qasm2image
8 packages failed to build:
  • http-prompt
  • httpie
  • nvchecker (python38Packages.nvchecker)
  • python37Packages.nvchecker
  • python37Packages.qiskit
  • python37Packages.qiskit-ibmq-provider
  • python38Packages.qiskit
  • python38Packages.qiskit-ibmq-provider
16 packages built:
  • azure-cli
  • lexicon
  • papis (python38Packages.papis)
  • python37Packages.duecredit
  • python37Packages.habanero
  • python37Packages.httpbin
  • python37Packages.knack
  • python37Packages.papis
  • python37Packages.pytest-httpbin
  • python37Packages.vcrpy
  • python38Packages.duecredit
  • python38Packages.habanero
  • python38Packages.httpbin
  • python38Packages.knack
  • python38Packages.pytest-httpbin
  • python38Packages.vcrpy

httpie: tests fail with a lot of similar messages

_________________ ERROR at setup of test_unicode_raw_json_item _________________                                                                                                            Traceback (most recent call last):                                                                                                                                                            File "/nix/store/j83nfnx2wm6n7ykqgcg2j2nnlgdpx1yy-python3.8-pytest-httpbin-1.0.0/lib/python3.8/site-packages/pytest_httpbin/plugin.py", line 8, in httpbin                                    server = serve.Server(application=httpbin_app)                                                                                                                                            File "/nix/store/j83nfnx2wm6n7ykqgcg2j2nnlgdpx1yy-python3.8-pytest-httpbin-1.0.0/lib/python3.8/site-packages/pytest_httpbin/serve.py", line 91, in __init__                                   self._server = make_server(                                                                                                                                                               File "/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib/python3.8/wsgiref/simple_server.py", line 154, in make_server                                                             server = server_class((host, port), handler_class)                                                                                                                                        File "/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib/python3.8/socketserver.py", line 452, in __init__                                                                         self.server_bind()                                                                                                                                                                        File "/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib/python3.8/wsgiref/simple_server.py", line 50, in server_bind                                                              HTTPServer.server_bind(self)                                                                                                                                                              File "/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib/python3.8/http/server.py", line 138, in server_bind                                                                       socketserver.TCPServer.server_bind(self)                                                                                                                                                  File "/nix/store/0mabx9absir73mmijrsv0dsyvyya463r-python3-3.8.6/lib/python3.8/socketserver.py", line 466, in server_bind                                                                      self.socket.bind(self.server_address)                                                                                                                                                   PermissionError: [Errno 1] Operation not permitted

image

They should be disabled on darwin.

nvchecker fails with darwin sandbox, too:

image

python37Packages.qiskit:

Executing pythonImportsCheckPhase
Check whether the following modules can be imported: qiskit.providers.ibmq
/nix/store/nv6ac07scf57z3r8j1gl7lggq2qablrg-python3.7-qiskit-terra-0.15.1/lib/python3.7/site-packages/qiskit/__init__.py:65: RuntimeWarning: Could not import the Aer provider from the qiskit-aer package. Install qiskit-aer or check your installation.
  RuntimeWarning)
Matplotlib created a temporary config/cache directory at /private/tmp/nix-build-python3.7-qiskit-ibmq-provider-0.8.0.drv-0/matplotlib-hnpx42mm because the default path (/homeless-shelter/.matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
pytestCheckPhase
Executing pytestCheckPhase
...
                        raise OSError(err.errno, 'error while attempting '                                                                                                                                                        'to bind on address %r: %s'                                                                                                                           >                                     % (sa, err.strerror.lower())) from None                                                                                                               E                                     PermissionError: [Errno 1] error while attempting to bind on address ('127.0.0.1', 8765): operation not permitted

/nix/store/hbr78fgz9jsgd6a6x4x9rkr5i9kn6jjc-python3-3.7.9/lib/python3.7/asyncio/base_events.py:1389: PermissionError

@SuperSandro2000 SuperSandro2000 merged commit c64538b into NixOS:master Nov 30, 2020
@Mic92 Mic92 deleted the httpbin branch November 30, 2020 06:11
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

2 participants