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

python3Packages.pynacl: 1.3.0 -> 1.4.0 #100646

Merged
merged 1 commit into from Oct 17, 2020
Merged

Conversation

@jonringer
Copy link
Contributor

@jonringer jonringer commented Oct 15, 2020

Motivation for this change

ordinary bump

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.

src = fetchPypi {
inherit version;
pname = "PyNaCl";
sha256 = "0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c";
sha256 = "01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal";
Copy link
Member

@zakame zakame Oct 16, 2020

Is this the correct sha256? According to https://pypi.org/project/PyNaCl/1.4.0/ it should be 54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505...

Copy link
Contributor Author

@jonringer jonringer Oct 16, 2020

it's the same "sha", just expressed in a different base:

$ nix-hash --to-base16 --type sha256 01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal
54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505

Copy link
Member

@zakame zakame Oct 16, 2020

Thanks, TIL, just read the relevant section in the nixpkgs manual now 👍

Copy link
Contributor

@va1entin va1entin left a comment

Looks good, thank you 👍

@jonringer
Copy link
Contributor Author

@jonringer jonringer commented Oct 17, 2020

https://github.com/NixOS/nixpkgs/pull/100646
9 packages marked as broken and skipped:
mlflow-server python27Packages.trackpy python37Packages.mlflow python37Packages.qasm2image python37Packages.rl-coach python37Packages.trackpy python38Packages.mlflow python38Packages.qasm2image python38Packages.trackpy

52 packages failed to build:
arion aws-sam-cli crowbar home-assistant ib-controller matrix-synapse mysql-workbench python37Packages.arviz python37Packages.caffe python37Packages.dask-glm python37Packages.dask-ml python37Packages.datashader python37Packages.dftfit python37Packages.google_cloud_bigquery python37Packages.imbalanced-learn python37Packages.imgaug python37Packages.intake python37Packages.lammps-cython python37Packages.mask-rcnn python37Packages.optuna python37Packages.patator python37Packages.pymc3 python37Packages.qiskit python37Packages.qiskit-aer python37Packages.qiskit-aqua python37Packages.qiskit-ignis python37Packages.rpy2 python37Packages.streamz python37Packages.stumpy python37Packages.tensorboardx python38Packages.caffe python38Packages.clifford python38Packages.dask-glm python38Packages.dask-ml python38Packages.dask-xgboost python38Packages.datashader python38Packages.dftfit python38Packages.google_cloud_bigquery python38Packages.imbalanced-learn python38Packages.imgaug python38Packages.intake python38Packages.lammps-cython python38Packages.mask-rcnn python38Packages.patator python38Packages.qiskit python38Packages.qiskit-aqua python38Packages.qiskit-ignis python38Packages.rpy2 python38Packages.streamz python38Packages.stumpy python38Packages.tensorboardx python38Packages.xgboost

325 packages built:
Fabric afew ansible ansible-lint ansible_2_8 ansible_2_9 apache-airflow azure-cli buildbot buildbot-full buildbot-ui cinnamon.warpinator cq-editor csvs-to-sqlite cura deja-dup dkimpy docker-compose duplicity duply dvc-with-remotes fdroidserver gnome-keysign gns3-gui gns3-server grab-site kargo magic-wormhole mailman mathlibtools mycli octoprint pwntools python27Packages.Fabric python27Packages.ansible python27Packages.authheaders python27Packages.bkcharts python27Packages.dkimpy python27Packages.docker python27Packages.drms python27Packages.duckdb python27Packages.flammkuchen python27Packages.imbalanced-learn python27Packages.mapsplotlib python27Packages.moto python27Packages.ncclient python27Packages.pandas python27Packages.paramiko python27Packages.pwntools python27Packages.pymacaroons python27Packages.pynacl python27Packages.pysftp python27Packages.pytest-ansible python27Packages.robotframework-sshlibrary python27Packages.scp python27Packages.seaborn python27Packages.sshtunnel python27Packages.vega_datasets python27Packages.vidstab python27Packages.yfinance python37Packages.Fabric python37Packages.Quandl python37Packages.acoustics python37Packages.alerta-server python37Packages.altair python37Packages.ansible python37Packages.ansible-kernel python37Packages.ansible-lint python37Packages.ansible-runner python37Packages.aplpy python37Packages.apptools python37Packages.atomman python37Packages.authheaders python37Packages.autobahn python37Packages.awkward python37Packages.batchgenerators python37Packages.bkcharts python37Packages.buildbot python37Packages.buildbot-full python37Packages.buildbot-ui python37Packages.celery python37Packages.channels python37Packages.channels-redis python37Packages.cirq python37Packages.clifford python37Packages.cnvkit python37Packages.colorcet python37Packages.csvs-to-sqlite python37Packages.cufflinks python37Packages.daphne python37Packages.dask python37Packages.dask-gateway python37Packages.dask-image python37Packages.dask-jobqueue python37Packages.dask-mpi python37Packages.dask-xgboost python37Packages.datasets python37Packages.distributed python37Packages.django-raster python37Packages.djmail python37Packages.dkimpy python37Packages.docker python37Packages.dockerspawner python37Packages.drms python37Packages.duckdb python37Packages.entrance-with-router-features python37Packages.envisage python37Packages.fastparquet python37Packages.flammkuchen python37Packages.flower python37Packages.geopandas python37Packages.glymur python37Packages.google_cloud_automl python37Packages.google_cloud_monitoring python37Packages.graspy python37Packages.heudiconv python37Packages.holoviews python37Packages.hvplot python37Packages.ibis-framework python37Packages.image-match python37Packages.imagecorruptions python37Packages.ipydatawidgets python37Packages.junos-eznc python37Packages.jupyter-repo2docker python37Packages.magic-wormhole python37Packages.magic-wormhole-mailbox-server python37Packages.mailman python37Packages.mailman-hyperkitty python37Packages.mathlibtools python37Packages.mayavi python37Packages.mesa python37Packages.moto python37Packages.nbsmoke python37Packages.ncclient python37Packages.nilearn python37Packages.nipype python37Packages.osmnx python37Packages.osmpythontools python37Packages.pandas python37Packages.paramiko python37Packages.partd python37Packages.phik python37Packages.pims python37Packages.pvlib python37Packages.pwntools python37Packages.pyarrow python37Packages.pybids python37Packages.pyfftw python37Packages.pymacaroons python37Packages.pymatgen python37Packages.pymatgen-lammps python37Packages.pynacl python37Packages.pysftp python37Packages.pytest-ansible python37Packages.python-binance python37Packages.pytrends python37Packages.pywick python37Packages.qiskit-ibmq-provider python37Packages.qiskit-terra python37Packages.robotframework-sshlibrary python37Packages.runway-python python37Packages.scikit-bio python37Packages.scikitimage python37Packages.scp python37Packages.seaborn python37Packages.sentry-sdk python37Packages.signedjson python37Packages.skorch python37Packages.sparse python37Packages.spectral-cube python37Packages.spyder-kernels_0_5 python37Packages.spyder_3 python37Packages.sshtunnel python37Packages.statsmodels python37Packages.stytra python37Packages.sumo python37Packages.sunpy python37Packages.tablib python37Packages.tensorly python37Packages.test-tube python37Packages.tiledb python37Packages.traittypes python37Packages.uproot python37Packages.uproot-methods python37Packages.vega python37Packages.vega_datasets python37Packages.vidstab python37Packages.wrf-python python37Packages.xarray python37Packages.xgboost python37Packages.yfinance python38Packages.Quandl python38Packages.acoustics python38Packages.alerta-server python38Packages.altair python38Packages.ansible-kernel python38Packages.ansible-runner python38Packages.aplpy python38Packages.apptools python38Packages.atomman python38Packages.authheaders python38Packages.autobahn python38Packages.awkward python38Packages.batchgenerators python38Packages.bkcharts python38Packages.celery python38Packages.channels python38Packages.channels-redis python38Packages.cirq python38Packages.cnvkit python38Packages.colorcet python38Packages.cufflinks python38Packages.daphne python38Packages.dask python38Packages.dask-gateway python38Packages.dask-image python38Packages.dask-jobqueue python38Packages.dask-mpi python38Packages.datasets python38Packages.distributed python38Packages.django-raster python38Packages.djmail python38Packages.docker python38Packages.dockerspawner python38Packages.drms python38Packages.duckdb python38Packages.entrance-with-router-features python38Packages.envisage python38Packages.fastparquet python38Packages.flammkuchen python38Packages.flower python38Packages.geopandas python38Packages.glymur python38Packages.google_cloud_automl python38Packages.google_cloud_monitoring python38Packages.graspy python38Packages.holoviews python38Packages.hvplot python38Packages.image-match python38Packages.imagecorruptions python38Packages.ipydatawidgets python38Packages.junos-eznc python38Packages.jupyter-repo2docker python38Packages.magic-wormhole-mailbox-server python38Packages.mailman python38Packages.mailman-hyperkitty python38Packages.mayavi python38Packages.mesa python38Packages.moto python38Packages.nbsmoke python38Packages.ncclient python38Packages.nilearn python38Packages.nipype python38Packages.osmnx python38Packages.osmpythontools python38Packages.pandas python38Packages.paramiko python38Packages.partd python38Packages.phik python38Packages.pims python38Packages.pvlib python38Packages.pyarrow python38Packages.pybids python38Packages.pyfftw python38Packages.pymacaroons python38Packages.pymatgen python38Packages.pymatgen-lammps python38Packages.pynacl python38Packages.pysftp python38Packages.pytest-ansible python38Packages.python-binance python38Packages.pytrends python38Packages.pywick python38Packages.qiskit-aer python38Packages.qiskit-ibmq-provider python38Packages.qiskit-terra python38Packages.robotframework-sshlibrary python38Packages.runway-python python38Packages.scikit-bio python38Packages.scikitimage python38Packages.scp python38Packages.seaborn python38Packages.sentry-sdk python38Packages.signedjson python38Packages.skorch python38Packages.sparse python38Packages.spectral-cube python38Packages.spyder-kernels_0_5 python38Packages.spyder_3 python38Packages.sshtunnel python38Packages.statsmodels python38Packages.stytra python38Packages.sumo python38Packages.sunpy python38Packages.tablib python38Packages.tensorly python38Packages.test-tube python38Packages.tiledb python38Packages.traittypes python38Packages.uproot python38Packages.uproot-methods python38Packages.vega python38Packages.vega_datasets python38Packages.vidstab python38Packages.wrf-python python38Packages.xarray python38Packages.yfinance remarkable-mouse run-scaled sourcehut.buildsrht sourcehut.dispatchsrht sourcehut.gitsrht sourcehut.hgsrht sourcehut.hubsrht sourcehut.listssrht sourcehut.mansrht sourcehut.metasrht sourcehut.pastesrht sourcehut.todosrht streamlit tebreak truvari visidata vorta xpra

@jonringer
Copy link
Contributor Author

@jonringer jonringer commented Oct 17, 2020

none of the failures look related to pynacl

builder for '/nix/store/wlja5zqnllg6w0w8h09dl9a70pww4zgn-python3.7-patator-0.9.drv' failed with exit code 1; last 10 log lines:
  installing
  Executing pipInstallPhase
  /build/patator-0.9/dist /build/patator-0.9
  Processing ./patator-0.9-py3-none-any.whl
  Requirement already satisfied: mysqlclient in /nix/store/b55pirfm30pfrzb8f05s2f85kvy7djq6-python3.7-mysqlclient-2.0.1/lib/python3.7/site-packages (from patator==0.9) (2.0.1)
  Requirement already satisfied: paramiko in /nix/store/3s6lmp4k6c9hywxd1b9h1rmcprilml6w-python3.7-paramiko-2.7.1/lib/python3.7/site-packages (from patator==0.9) (2.7.1)
  Requirement already satisfied: IPy in /nix/store/3yxd09m552dar7vxxnrak9pq85s66jhq-python3.7-IPy-1.00/lib/python3.7/site-packages (from patator==0.9) (1.0)
  Requirement already satisfied: ajpy in /nix/store/3j6281qkazf55ijf8znmrw8m87dkpjym-python3.7-ajpy-0.0.5/lib/python3.7/site-packages (from patator==0.9) (0.0.5)
  ERROR: Could not find a version that satisfies the requirement pysqlcipher3 (from patator==0.9) (from versions: none)
  ERROR: No matching distribution found for pysqlcipher3 (from patator==0.9)
builder for '/nix/store/zf1viajm1mdmsxbhq5cy078x1imwzsm9-ibtws_9542.jar.drv' failed with exit code 1; last 10 log lines:

  ***
  This nix expression requires that ibtws_9542.jar is already part of the store.
  Download the TWS from
  https://download2.interactivebrokers.com/download/unixmacosx_latest.jar,
  rename the file to ibtws_9542.jar, and add it to the nix store with
  "nix-prefetch-url file://$PWD/ibtws_9542.jar".

  ***
builder for '/nix/store/irzahy7g1pk77f3n1q7mibpihl8i1g3v-jdk-8u261-linux-x64.tar.gz.drv' failed with exit code 1; last 10 log lines:
  ***
  Unfortunately, we cannot download file jdk-8u261-linux-x64.tar.gz automatically.
  Please go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download it yourself, and add it to the Nix store
  using either
    nix-store --add-fixed sha256 jdk-8u261-linux-x64.tar.gz
  or
    nix-prefetch-url --type sha256 file:///path/to/jdk-8u261-linux-x64.tar.gz

  ***
cannot build derivation '/nix/store/y0zvlj9ph5sy8dkzdjmz1yq0zymbk23z-oraclejdk-8u261.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zva873brj6p7shfg6vpv8jdbvzb807c7-ib-tws-9542.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/dmfxy06xwx213xicf19yk9598fr3zr73-ib-controller-2.14.0.drv': 2 dependencies couldn't be built
builder for '/nix/store/4bvs5nmh5frpdnnq202pmn21yacyrsza-python3.8-patator-0.9.drv' failed with exit code 1; last 10 log lines:
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/patator-0.9/dist /build/patator-0.9
  Processing ./patator-0.9-py3-none-any.whl
  Requirement already satisfied: ajpy in /nix/store/ycv63s2w4n4acai4gr50sgcziywy1b2l-python3.8-ajpy-0.0.5/lib/python3.8/site-packages (from patator==0.9) (0.0.5)
  Requirement already satisfied: cx-Oracle in /nix/store/mgb44wdi3v5cdj5hm0xj5n1ip6mr3cc9-python3.8-cx_Oracle-8.0.1/lib/python3.8/site-packages (from patator==0.9) (8.0.1)
  Requirement already satisfied: pyasn1 in /nix/store/0zda5a0kiygppbc3m1mh1m8b755hwgwv-python3.8-pyasn1-0.4.8/lib/python3.8/site-packages (from patator==0.9) (0.4.8)
  ERROR: Could not find a version that satisfies the requirement psycopg2-binary (from patator==0.9) (from versions: none)
  ERROR: No matching distribution found for psycopg2-binary (from patator==0.9)
builder for '/nix/store/n7qqjdiv93cxcpxlxgpdqzfip39z7bis-aws-sam-cli-1.0.0rc1.drv' failed with exit code 1; last 10 log lines:
  /build/aws-sam-cli-1.0.0rc1/dist /build/aws-sam-cli-1.0.0rc1
  Processing ./aws_sam_cli-1.0.0rc1-py3-none-any.whl
  Requirement already satisfied: jmespath~=0.10.0 in /nix/store/7gfgx5lj41bmvvc9rqr0cc7j32cnypjv-python3.8-jmespath-0.10.0/lib/python3.8/site-packages (from aws-sam-cli==1.0.0rc1) (0.10.0)
  Requirement already satisfied: docker~=4.0 in /nix/store/101m8z6c9z80d32dkr7f1faj8k0jqdy3-python3.8-docker-4.3.1/lib/python3.8/site-packages (from aws-sam-cli==1.0.0rc1) (4.3.1)
  Requirement already satisfied: requests~=2.24 in /nix/store/y63ix8qlf3x877fb3hil8iv3jqpg28qc-python3.8-requests-2.24.0/lib/python3.8/site-packages (from aws-sam-cli==1.0.0rc1) (2.24.0)
  Requirement already satisfied: cookiecutter~=1.6.0 in /nix/store/sb63jmjzhm9m1pfnxz6gdqvbdrdkf96p-python3.8-cookiecutter-1.6.0/lib/python3.8/site-packages (from aws-sam-cli==1.0.0rc1) (1.6.0)
  Requirement already satisfied: python-dateutil~=2.6 in /nix/store/a0mnjz399cbz51bjj2l01dld7fvvg0xw-python3.8-python-dateutil-2.8.1/lib/python3.8/site-packages (from aws-sam-cli==1.0.0rc1) (2.8.1)
  Requirement already satisfied: aws-lambda-builders==0.9.0 in /nix/store/0y93pnazm8i6xmzngvjq017m5b7z6mck-python3.8-aws-lambda-builders-0.9.0/lib/python3.8/site-packages (from aws-sam-cli==1.0.0rc1) (0.9.0)
  ERROR: Could not find a version that satisfies the requirement boto3~=1.14.3 (from aws-sam-cli==1.0.0rc1) (from versions: none)
  ERROR: No matching distribution found for boto3~=1.14.3 (from aws-sam-cli==1.0.0rc1)
builder for '/nix/store/awl9v6fy4h4c9fj93gvi78wsw0lfzm2x-python3.7-google-cloud-bigquery-1.26.1.drv' failed with exit code 2; last 10 log lines:

  /nix/store/0xwda3ysx3lkbl98vhgfk8n827xh4isa-python3.7-googleapis-common-protos-1.52.0/lib/python3.7/site-packages/google/api/client_pb2.py:98
    /nix/store/0xwda3ysx3lkbl98vhgfk8n827xh4isa-python3.7-googleapis-common-protos-1.52.0/lib/python3.7/site-packages/google/api/client_pb2.py:98: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
      file=DESCRIPTOR,

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  ERROR tests/unit/test_client.py
  !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  ======================== 34 warnings, 1 error in 2.25s =========================
builder for '/nix/store/2rd9zga7c1wwwmzxbd52i4a5wkc512n4-python3.8-google-cloud-bigquery-1.26.1.drv' failed with exit code 2; last 10 log lines:

  /nix/store/hw1jp73xxizcs2vrxykamxjjn01640y4-python3.8-googleapis-common-protos-1.52.0/lib/python3.8/site-packages/google/api/client_pb2.py:82
    /nix/store/hw1jp73xxizcs2vrxykamxjjn01640y4-python3.8-googleapis-common-protos-1.52.0/lib/python3.8/site-packages/google/api/client_pb2.py:82: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
      method_signature = _descriptor.FieldDescriptor(

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  ERROR tests/unit/test_client.py
  !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  ======================== 34 warnings, 1 error in 2.28s =========================
builder for '/nix/store/1hyz9g8yxxz9ambabghcn7macds4cwf2-python3.7-rpy2-3.2.6.drv' failed with exit code 2; last 10 log lines:

  rpy2/robjects/pandas2ri.py:34
    /build/rpy2-3.2.6/rpy2/robjects/pandas2ri.py:34: UserWarning: pandas >= 1.0 is not supported.
      warnings.warn('pandas >= 1.0 is not supported.')

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  ERROR rpy2/tests/ipython/test_ggplot.py - rpy2.rinterface_lib.embedded.RRunti...
  !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  ========================= 2 warnings, 1 error in 7.77s =========================
builder for '/nix/store/imxijp2i6280xckbxhw6jwhzs4fcwc32-python3.8-rpy2-3.2.6.drv' failed with exit code 2; last 10 log lines:

  rpy2/robjects/pandas2ri.py:34
    /build/rpy2-3.2.6/rpy2/robjects/pandas2ri.py:34: UserWarning: pandas >= 1.0 is not supported.
      warnings.warn('pandas >= 1.0 is not supported.')

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  ERROR rpy2/tests/ipython/test_ggplot.py - rpy2.rinterface_lib.embedded.RRunti...
  !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  ========================= 2 warnings, 1 error in 7.66s =========================
builder for '/nix/store/j84l8k5ydbd5zbj8kzl309agz12bw06z-python3.8-dask-glm-0.2.0.drv' failed with exit code 1; last 10 log lines:
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta1-1000] PASSED [  3%]
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta1-10000] PASSED [  4%]
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta2-1000] PASSED [  4%]
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta2-10000] PASSED [  5%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-5-1000] PASSED [  5%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-5-10000] PASSED [  6%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-10-1000] PASSED [  6%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-10-10000] PASSED [  6%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[5-5-1000] PASSED [  7%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[5-5-10000]
cannot build derivation '/nix/store/y4h3rvpavghc4ic499aw7isgzxlhqj70-python3.8-dask-ml-1.6.0.drv': 1 dependencies couldn't be built
builder for '/nix/store/67lymg5b96bbybn2j6qzpg5ygx8fr3im-python3.7-dask-glm-0.2.0.drv' failed with exit code 1; last 10 log lines:
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta1-1000] PASSED [  3%]
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta1-10000] PASSED [  4%]
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta2-1000] PASSED [  4%]
  dask_glm/tests/test_admm.py::test_local_update[Normal-beta2-10000] PASSED [  5%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-5-1000] PASSED [  5%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-5-10000] PASSED [  6%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-10-1000] PASSED [  6%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[1-10-10000] PASSED [  6%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[5-5-1000] PASSED [  7%]
  dask_glm/tests/test_admm.py::test_admm_with_large_lamduh[5-5-10000]
cannot build derivation '/nix/store/m7p6wr0dkqf04i9hg9v2040iw8asrnks-python3.7-dask-ml-1.6.0.drv': 1 dependencies couldn't be built
builder for '/nix/store/ssihvcyh6cmvgaf7yjj3vy81g402qkhz-python3.8-datashader-0.11.1.drv' failed with exit code 3; last 10 log lines:
      SlaveGateway(io=io, id=id, _startcount=2).serve()
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 1055, in serve
      self._initreceive()
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 957, in _initreceive
      self._receivepool.spawn(self._thread_receiver)
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 315, in spawn
      self.execmodel.start(self._perform_spawn, (reply,))
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 93, in exec_start
      self._start_new_thread(func, args)
  RuntimeError: can't start new thread
builder for '/nix/store/q22xfd0g8c72hdyfkmblkld1v0x78drj-homeassistant-0.116.4.drv' failed with exit code 3; last 10 log lines:
      SlaveGateway(io=io, id=id, _startcount=2).serve()
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 1055, in serve
      self._initreceive()
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 957, in _initreceive
      self._receivepool.spawn(self._thread_receiver)
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 315, in spawn
      self.execmodel.start(self._perform_spawn, (reply,))
    File "/nix/store/57k5fa01gnnhrb9y1z0j3ri7dgbfl1br-python3.8-execnet-1.7.1/lib/python3.8/site-packages/execnet/gateway_base.py", line 93, in exec_start
      self._start_new_thread(func, args)
  RuntimeError: can't start new thread
builder for '/nix/store/9dam7wpb3225bsl6mykg6ic5p76xw8qi-python3.8-tensorboardx-2.0.drv' failed with exit code 1; last 10 log lines:

  tests/test_caffe2.py: 13 tests with warnings
    /nix/store/pa513qidxn3l8air0clc1nhaywq8pdy6-python3.8-pytorch-1.6.0/lib/python3.8/site-packages/caffe2/python/brew.py:97: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
      var_names, _, varkw, _= inspect.getargspec(func)

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  FAILED tests/test_pytorch_graph.py::PytorchGraphTest::test_pytorch_graph - At...
  FAILED tests/test_pytorch_graph.py::PytorchGraphTest::test_wrong_input_size
  ========== 2 failed, 77 passed, 2 deselected, 116 warnings in 55.96s ===========
builder for '/nix/store/xl73dcbz3b9w0vrqsfmdasz1wjr62pkl-python3.8-xgboost-0.90.drv' failed with exit code 134; last 10 log lines:
  /nix/store/iq3bpfzia526wk5yd35lfkgxh78i8ipi-python3.8-xgboost-0.90/lib/python3.8/site-packages/xgboost/dmlc-core/scripts/lint.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/346skv0d24rqnf4npknbp9h5bs14j8zy-python3-3.8.6/bin/python3"
  /nix/store/iq3bpfzia526wk5yd35lfkgxh78i8ipi-python3.8-xgboost-0.90/lib/python3.8/site-packages/xgboost/dmlc-core/tracker/dmlc_tracker/launcher.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/346skv0d24rqnf4npknbp9h5bs14j8zy-python3-3.8.6/bin/python3"
  /nix/store/iq3bpfzia526wk5yd35lfkgxh78i8ipi-python3.8-xgboost-0.90/lib/python3.8/site-packages/xgboost/dmlc-core/tracker/dmlc-submit: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/346skv0d24rqnf4npknbp9h5bs14j8zy-python3-3.8.6/bin/python3"
  checking for references to /build/ in /nix/store/iq3bpfzia526wk5yd35lfkgxh78i8ipi-python3.8-xgboost-0.90...
  Executing pythonRemoveTestsDir
  Finished executing pythonRemoveTestsDir
  running install tests
  ....terminate called after throwing an instance of 'std::system_error'
    what():  Resource temporarily unavailable
  /nix/store/q1zjp9grl4w92qalkdqjs2bj5d0pf8ih-stdenv-linux/setup: line 1302:   394 Aborted                 (core dumped) nosetests ../tests/python
cannot build derivation '/nix/store/3hpyx0ka08d2wmvd0i0vjsqcal04d3jb-python3.8-dask-xgboost-0.1.11.drv': 1 dependencies couldn't be built
builder for '/nix/store/8v0x2qyqy1vq6lshh4g6v0ndkzghyavq-python3.7-tensorboardx-2.0.drv' failed with exit code 1; last 10 log lines:

  tests/test_caffe2.py: 13 tests with warnings
    /nix/store/2zlyjj0dz533c1zxvxa3hv2ags0a2vdn-python3.7-pytorch-1.6.0/lib/python3.7/site-packages/caffe2/python/brew.py:97: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
      var_names, _, varkw, _= inspect.getargspec(func)

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  FAILED tests/test_pytorch_graph.py::PytorchGraphTest::test_pytorch_graph - At...
  FAILED tests/test_pytorch_graph.py::PytorchGraphTest::test_wrong_input_size
  ========== 2 failed, 77 passed, 2 deselected, 116 warnings in 59.95s ===========
builder for '/nix/store/l2di91jaaizzgr7h1j0ddqfjxmk9n38j-python3.7-imbalanced-learn-0.7.0.drv' failed with exit code 1; last 10 log lines:
  imblearn/datasets/tests/test_imbalance.py::test_make_imbalanced_iris[sampling_strategy1-expected_counts1-array]
    /nix/store/2w5kij5wg8ydpd37ihknvw24wmis2vv1-python3.7-scikit-learn-0.23.2/lib/python3.7/site-packages/sklearn/datasets/_openml.py:57: RuntimeWarning: Invalid cache, redownloading file
      warn("Invalid cache, redownloading file", RuntimeWarning)

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  SKIPPED [2] /build/imbalanced-learn-0.7.0/imblearn/keras/tests/test_generator.py:8: could not import 'keras': No module named 'keras'
  SKIPPED [2] /nix/store/hd4a4013mshswwqkkiflm2lmfp7fxivb-python3.7-pytest-5.4.3/lib/python3.7/site-packages/_pytest/unittest.py:258: Zenodo dataset can not be loaded.
  SKIPPED [1] /nix/store/hd4a4013mshswwqkkiflm2lmfp7fxivb-python3.7-pytest-5.4.3/lib/python3.7/site-packages/_pytest/doctest.py:403: all tests skipped by +SKIP option
  = 4 failed, 318 passed, 5 skipped, 1151 deselected, 4 warnings in 65.60s (0:01:05) =
builder for '/nix/store/6pgy1scpbqj14pimdijj2la6ci8nyy6y-python3.8-imbalanced-learn-0.7.0.drv' failed with exit code 1; last 10 log lines:
  imblearn/datasets/tests/test_imbalance.py::test_make_imbalanced_iris[sampling_strategy1-expected_counts1-array]
    /nix/store/jqwycjkwsqlsv9vmm5arpilc8im161dy-python3.8-scikit-learn-0.23.2/lib/python3.8/site-packages/sklearn/datasets/_openml.py:57: RuntimeWarning: Invalid cache, redownloading file
      warn("Invalid cache, redownloading file", RuntimeWarning)

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========================== short test summary info ============================
  SKIPPED [2] /build/imbalanced-learn-0.7.0/imblearn/keras/tests/test_generator.py:8: could not import 'keras': No module named 'keras'
  SKIPPED [2] /nix/store/lzggwjry1sc5zh1mwmbnarp978da4isk-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/unittest.py:258: Zenodo dataset can not be loaded.
  SKIPPED [1] /nix/store/lzggwjry1sc5zh1mwmbnarp978da4isk-python3.8-pytest-5.4.3/lib/python3.8/site-packages/_pytest/doctest.py:403: all tests skipped by +SKIP option
  = 4 failed, 318 passed, 5 skipped, 1151 deselected, 4 warnings in 66.03s (0:01:06) =
builder for '/nix/store/66jhylv56mdv0jxjlh5yv28lvb6dp69z-tensorflow-2.3.0.drv' failed with exit code 33; last 10 log lines:
    at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:683)
       at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   at java.base/java.lang.Thread.run(Thread.java:834)
  unable to create native thread: possibly out of memory or process/resource limits reached

  ERROR: bazel ran out of memory and crashed.
  FAILED: Build did NOT complete successfully (0 packages loaded)

builder for '/nix/store/nsv9zmm07ynvbhz19vzm2k4p85zm4m85-tensorflow-2.3.0.drv' failed with exit code 33; last 10 log lines:
    at com.google.devtools.build.skyframe.InvalidatingNodeVisitor$2.run(InvalidatingNodeVisitor.java:126)
          at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   at java.base/java.lang.Thread.run(Thread.java:834)
  unable to create native thread: possibly out of memory or process/resource limits reached

  ERROR: bazel ran out of memory and crashed.
  FAILED: Build did NOT complete successfully (0 packages loaded)

cannot build derivation '/nix/store/r984pi40q4smyg5j3vv9xz1gbwkhblhj-python3.7-tensorflow-2.3.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/jlf24yzhzwd78ms32gs65bjri3yyfsqp-python3.8-tensorflow-2.3.0.drv': 1 dependencies couldn't be built
builder for '/nix/store/ql3hr7na8wk6vsnfiyal3145skwm0m6k-tigervnc-1.10.1.drv' failed with exit code 2; last 10 log lines:
  Hunk #4 succeeded at 1990 (offset -46 lines).
  Hunk #5 succeeded at 2528 (offset -43 lines).
  patching file hw/Makefile.am
  patching file mi/miinitext.c
  autoreconf: Entering directory `.'
  autoreconf: configure.ac: not using Gettext
  autoreconf: running: aclocal --force -I m4
  sh: can't fork: Resource temporarily unavailable
  aclocal: error: echo failed with exit status: 2
  autoreconf: aclocal failed with exit status: 2
cannot build derivation '/nix/store/xkz72b1vclgrdv2cp9i6gqchv9d7wqfv-crowbar-unstable-2020-04-23.drv': 1 dependencies couldn't be built
builder for '/nix/store/zgqb5bnnjxnxx52307w1aac9c2n86s63-arion-0.1.1.1.drv' failed with exit code 1; last 10 log lines:
  No uhc found
  building
  Preprocessing library for arion-compose-0.1.1.1..
  Building library for arion-compose-0.1.1.1..
  [1 of 6] Compiling Arion.Aeson      ( src/haskell/lib/Arion/Aeson.hs, dist/build/Arion/Aeson.o )

  <no location info>: error:
      /nix/store/8madhhcxhxlf0rrc5hdsk65l206r3cc6-gcc-wrapper-9.3.0/bin/cc: builderMainLoop: fork: resource exhausted (Resource temporarily unavailable)
  [2 of 6] Compiling Arion.DockerCompose ( src/haskell/lib/Arion/DockerCompose.hs, dist/build/Arion/DockerCompose.o )
  [5 of 6] Compiling Paths_arion_compose ( dist/build/autogen/Paths_arion_compose.hs, dist/build/Paths_arion_compose.o )
builder for '/nix/store/37sxzhnsjav53g6p0yaa490jdhl6n9pg-tensorflow-1.15.4.drv' failed with exit code 1; last 10 log lines:
      [Analy] @com_google_protobuf//:protoc_lib; 8s
      [Analy] @com_google_protobuf//:protoc; 8s
      [Analy] @com_google_protobuf//:protoc_lib; 8s
      [Analy] @com_google_protobuf//:protoc_lib; 8s
      [Analy] @com_google_protobuf//:protoc_lib; 8s
      [Analy] @com_google_protobuf//:protoc_lib; 8s
      [Analy] @grpc//:gpr_base; 8s ...
  FAILED: Build did NOT complete successfully
  FAILED: Build did NOT complete successfully

cannot build derivation '/nix/store/239k67x3qb50kf865qqyyprm6iv19rq4-python3.7-tensorflow-1.15.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/p3xyzvdfsjf1mbdqyxf5lzpc7sprc9b9-python3.7-optuna-0.19.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/mgx1w2hyk2vz28z1b04lzrz3lp11d4mr-tensorflow_probability-0.8.0-py2.py3-none-any.whl.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9pa5mv3rd3wx203sxb2xhig5g2s0xa1v-python3.7-tensorflow_probability-0.8.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/7p8w918vmar2rpypkyx7gl5bcxh4vsng-python3.7-arviz-0.10.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4ffbxvx4q9r8ggv2pd6a43rx5cahgn2s-python3.7-pymc3-3.9.3.drv': 1 dependencies couldn't be built
builder for '/nix/store/yn4j52daks28wz0w3ffq4mwjiphwaw8a-python3.7-stumpy-1.4.drv' failed with exit code 1; last 10 log lines:
  Exception in thread AsyncProcess Dask Worker process (from Nanny) watch process join:
  Traceback (most recent call last):
    File "/nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/lib/python3.7/threading.py", line 926, in _bootstrap_inner
      self.run()
    File "/nix/store/xkvjcsv75k1z7yjdwglz423wfl8biv0p-python3-3.7.9/lib/python3.7/threading.py", line 870, in run
      self._target(*self._args, **self._kwargs)
    File "/nix/store/hkq4q8xm70a2y3r9cx5jhdy01bpm5zyj-python3.7-distributed-2.30.0/lib/python3.7/site-packages/distributed/process.py", line 234, in _watch_process
      assert exitcode is not None
  AssertionError
builder for '/nix/store/5wlq4f22m3padkbywx4xcrs6z5ss7swf-python3.8-streamz-0.5.5.drv' failed with exit code 1; last 10 log lines:

  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  ===Flaky Test Report===

  test_process passed 1 out of the required 1 times. Success!

  ===End Flaky Test Report===
  =========================== short test summary info ============================
  FAILED streamz/tests/test_core.py::test_sliding_window_ref_counts - RuntimeEr...
  = 1 failed, 971 passed, 441 skipped, 2 deselected, 7 xfailed, 96 xpassed, 17 warnings in 129.46s (0:02:09) =
[36 built (25 failed), 6 copied (108.6 MiB), 6.5 MiB DL]

@jonringer jonringer merged commit 9524e93 into NixOS:master Oct 17, 2020
17 checks passed
@jonringer jonringer deleted the bump-pynacl branch Oct 17, 2020
@SuperSandro2000
Copy link
Member

@SuperSandro2000 SuperSandro2000 commented Oct 18, 2020

I am not sure why the build fails with this error on one of my machine and if it is related to this PR. If it is unrelated I am going to open an issue.

=================================== FAILURES ===================================
_ test_hashlib_scrypt_api[pleaseletmein-SodiumChloride-1048576-8-1-64-21 01 cb 9b 6a 51 1a ae ad db be 09 cf 70 f8 81ec 56 8d 57 4a 2f fd 4d ab e5 ee 98 20 ad aa 478e 56 fd 8f 4b a5 d0 9f fa 1c 6d 92 7c 40 f4 c
337 30 40 49 e8 a9 52 fb cb f4 5c 6f a7 7a 41 a4] _

password = b'pleaseletmein', salt = b'SodiumChloride', n = 1048576, r = 8, p = 1
dklen = 64
expected = b'21 01 cb 9b 6a 51 1a ae ad db be 09 cf 70 f8 81ec 56 8d 57 4a 2f fd 4d ab e5 ee 98 20 ad aa 478e 56 fd 8f 4b a5 d0 9f fa 1c 6d 92 7c 40 f4 c337 30 40 49 e8 a9 52 fb cb f4 5c 6f a7 7a 41 a4'

    @pytest.mark.skipif(not nacl.hashlib.SCRYPT_AVAILABLE,
                        reason="Requires full build of libsodium")
    @pytest.mark.parametrize(('password', 'salt', 'n', 'r', 'p',
                              'dklen', 'expected'),
                             RFC_7914_VECTORS)
    def test_hashlib_scrypt_api(password, salt, n, r, p, dklen, expected):
        _exp = unhexlify(expected.replace(b" ", b""))
        dgst = nacl.hashlib.scrypt(password, salt=salt, n=n, r=r, p=p,
>                                  dklen=dklen, maxmem=2 * (1024 ** 3))

tests/test_hashlib_scrypt.py:92:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/nix/store/zjc62k8lv0s7q5fqmwbwv4ijdyw7hg1y-python3.7-pynacl-1.4.0/lib/python3.7/site-packages/nacl/hashlib.py:126: in scrypt
    password, salt, n, r, p, maxmem=maxmem, dklen=dklen)
/nix/store/zjc62k8lv0s7q5fqmwbwv4ijdyw7hg1y-python3.7-pynacl-1.4.0/lib/python3.7/site-packages/nacl/bindings/crypto_pwhash.py:281: in crypto_pwhash_scryptsalsa208sha256_ll
    raising=exc.RuntimeError)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cond = False, args = ('Unexpected failure in key derivation',), kwds = {}
_CHK_UNEXP = 'check_condition() got an unexpected keyword argument {0}'
raising = <class 'nacl.exceptions.RuntimeError'>

    def ensure(cond, *args, **kwds):
        """
        Return if a condition is true, otherwise raise a caller-configurable
        :py:class:`Exception`
        :param bool cond: the condition to be checked
        :param sequence args: the arguments to be passed to the exception's
                              constructor
        The only accepted named parameter is `raising` used to configure the
        exception to be raised if `cond` is not `True`
        """
        _CHK_UNEXP = 'check_condition() got an unexpected keyword argument {0}'

        raising = kwds.pop('raising', AssertionError)
        if kwds:
            raise TypeError(_CHK_UNEXP.format(repr(kwds.popitem()[0])))

        if cond is True:
            return
>       raise raising(*args)
E       nacl.exceptions.RuntimeError: Unexpected failure in key derivation

/nix/store/zjc62k8lv0s7q5fqmwbwv4ijdyw7hg1y-python3.7-pynacl-1.4.0/lib/python3.7/site-packages/nacl/exceptions.py:81: RuntimeError
=========================== short test summary info ============================
FAILED tests/test_hashlib_scrypt.py::test_hashlib_scrypt_api[pleaseletmein-SodiumChloride-1048576-8-1-64-21 01 cb 9b 6a 51 1a ae ad db be 09 cf 70 f8 81ec 56 8d 57 4a 2f fd 4d ab e5 ee 98 20 ad aa 478e 56 fd 8f
 4b a5 d0 9f fa 1c 6d 92 7c 40 f4 c337 30 40 49 e8 a9 52 fb cb f4 5c 6f a7 7a 41 a4]
================= 1 failed, 4635 passed, 10 skipped in 24.57s ==================
builder for '/nix/store/n9kfmwbw8cxff3lgv6kqlqlycgh1ry4z-python3.7-pynacl-1.4.0.drv' failed with exit code 1
cannot build derivation '/nix/store/53hb1nscxqzrikdym0j4asv9q6dv0937-python3.7-paramiko-2.7.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i5r3w43mmyfhrqgppv4lpaksa6lsih10-python3.7-ansible-2.9.12.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3zd457w5qnan9rd63pkjf048sv2rldny-python3.7-ansible-lint-4.3.5.drv': 1 dependencies couldn't be built
error: build of '/nix/store/3zd457w5qnan9rd63pkjf048sv2rldny-python3.7-ansible-lint-4.3.5.drv' failed

@jonringer
Copy link
Contributor Author

@jonringer jonringer commented Oct 19, 2020

I'm not able to repro it, but if it is flakey, we can disable it

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

Successfully merging this pull request may close these issues.

None yet

4 participants