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

pythonPackages.django: 1.11.26 -> 1.11.27 (for CVE) #76045

Merged
merged 1 commit into from Dec 21, 2019

Conversation

lsix
Copy link
Member

@lsix lsix commented Dec 19, 2019

See https://docs.djangoproject.com/en/1.11/releases/1.11.27/ for release
information.

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 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 @

@nh2
Copy link
Contributor

nh2 commented Dec 19, 2019

@GrahamcOfBorg build

@nh2
Copy link
Contributor

nh2 commented Dec 20, 2019

Looks quite good to me; nix-review output:

$ git -c fetch.prune=false fetch --force https://github.com/NixOS/nixpkgs master:refs/nix-review/0 pull/76045/head:refs/nix-review/1
remote: Enumerating objects: 335, done.
remote: Counting objects: 100% (335/335), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 474 (delta 318), reused 300 (delta 296), pack-reused 139
Receiving objects: 100% (474/474), 373.89 KiB | 1.24 MiB/s, done.
Resolving deltas: 100% (342/342), completed with 186 local objects.
From https://github.com/NixOS/nixpkgs
   303c94493c3..8944ecb997d  master               -> refs/nix-review/0
 + aef8f7b16b7...d53ceb4369a refs/pull/76045/head -> refs/nix-review/1  (forced update)
$ git worktree add /home/niklas/.cache/nix-review/pr-76045/nixpkgs 8944ecb997d36fd50312bf4c457d548fdf0a2f9b
Preparing worktree (detached HEAD 8944ecb997d)
Updating files: 100% (20493/20493), done.
HEAD is now at 8944ecb997d Merge pull request #75944 from filalex77/scc-2.10.1
$ git merge --no-commit d53ceb4369a849c86678aea03fe3a5193ea904b3
Automatic merge went well; stopped before committing as requested
$ nix build --no-link --keep-going --max-jobs 4 --option build-use-sandbox true -f /home/niklas/.cache/nix-review/pr-76045/build.nix
waiting for locks or build slots...
error: build of '/nix/store/17mbpqg8sd6dc19pd2nf6gh2n560xrnh-python2.7-tox-3.14.2.drv' failed: builder for '/nix/store/17mbpqg8sd6dc19pd2nf6gh2n560xrnh-python2.7-tox-3.14.2.drv' failed with exit code 1
builder for '/nix/store/17mbpqg8sd6dc19pd2nf6gh2n560xrnh-python2.7-tox-3.14.2.drv' failed with exit code 1; last 10 log lines:
  Executing pipInstallPhase
  /build/tox-3.14.2/dist /build/tox-3.14.2
  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Processing ./tox-3.14.2-py2.py3-none-any.whl
  Requirement already satisfied: toml>=0.9.4 in /nix/store/rsc7mj4vrbm0jzbnsa283zp8f2sr4lxj-python2.7-toml-0.10.0/lib/python2.7/site-packages (from tox==3.14.2) (0.10.0)
  Requirement already satisfied: six<2,>=1.0.0 in /nix/store/4wamc9hdi8basc4w4igd6k1zn4jwcxcb-python2.7-six-1.12.0/lib/python2.7/site-packages (from tox==3.14.2) (1.12.0)
  Requirement already satisfied: virtualenv>=16.0.0 in /nix/store/9mhdxl5m5z6zxaf177zgvf654vivsi4i-python2.7-virtualenv-16.7.8/lib/python2.7/site-packages (from tox==3.14.2) (16.7.8)
  ERROR: Could not find a version that satisfies the requirement importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2) (from versions: none)
  ERROR: No matching distribution found for importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2)
  builder for '/nix/store/17mbpqg8sd6dc19pd2nf6gh2n560xrnh-python2.7-tox-3.14.2.drv' failed with exit code 1
error: build of '/nix/store/83zlg5mx6dm80d2hlx6zh1b3gihcdlaj-python3.7-tox-3.14.2.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/83zlg5mx6dm80d2hlx6zh1b3gihcdlaj-python3.7-tox-3.14.2.drv' failed with exit code 1
builder for '/nix/store/83zlg5mx6dm80d2hlx6zh1b3gihcdlaj-python3.7-tox-3.14.2.drv' failed with exit code 1; last 10 log lines:
  adding 'tox-3.14.2.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/tox-3.14.2/dist /build/tox-3.14.2
  Processing ./tox-3.14.2-py2.py3-none-any.whl
  ERROR: Could not find a version that satisfies the requirement importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2) (from versions: none)
  ERROR: No matching distribution found for importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2)
  builder for '/nix/store/83zlg5mx6dm80d2hlx6zh1b3gihcdlaj-python3.7-tox-3.14.2.drv' failed with exit code 1
error: build of '/nix/store/10q5kh5bld0hx8ndsap4x9754n3mkwqy-python2.7-remotecv-2.2.2.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/10q5kh5bld0hx8ndsap4x9754n3mkwqy-python2.7-remotecv-2.2.2.drv' failed with exit code 1
builder for '/nix/store/10q5kh5bld0hx8ndsap4x9754n3mkwqy-python2.7-remotecv-2.2.2.drv' failed with exit code 1; last 10 log lines:
      self.load()
    File "/nix/store/glrkwv0k61kjlhnz1gs07gkq2scv8883-python2.7-Pillow-6.2.1/lib/python2.7/site-packages/PIL/ImageFile.py", line 249, in load
      "(%d bytes not processed)" % len(b)
  IOError: image file is truncated (2 bytes not processed)
  
  ----------------------------------------------------------------------
  Ran 23 tests in 4.370s
  
  FAILED (errors=3)
  builder for '/nix/store/10q5kh5bld0hx8ndsap4x9754n3mkwqy-python2.7-remotecv-2.2.2.drv' failed with exit code 1
cannot build derivation '/nix/store/85g5g5hq4wx0qzsasc5kx63h1lwv73gh-python2.7-django-jinja-2.4.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xpavxs2fjadrl9w1zvknx8ssw0ilgjhc-python3.7-django-jinja-2.4.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/4nfjp0x7kw3g2lhx1x4xrqr6pnhnimrc-python2.7-django-contrib-comments-1.9.2.drv' failed: builder for '/nix/store/4nfjp0x7kw3g2lhx1x4xrqr6pnhnimrc-python2.7-django-contrib-comments-1.9.2.drv' failed with exit code 1
builder for '/nix/store/4nfjp0x7kw3g2lhx1x4xrqr6pnhnimrc-python2.7-django-contrib-comments-1.9.2.drv' failed with exit code 1; last 10 log lines:
  copying django_comments/locale/de/LC_MESSAGES/django.mo -> build/lib/django_comments/locale/de/LC_MESSAGES
  copying django_comments/locale/de/LC_MESSAGES/django.po -> build/lib/django_comments/locale/de/LC_MESSAGES
  creating build/lib/django_comments/locale/el
  creating build/lib/django_comments/locale/el/LC_MESSAGES
  copying django_comments/locale/el/LC_MESSAGES/django.mo -> build/lib/django_comments/locale/el/LC_MESSAGES
  copying django_comments/locale/el/LC_MESSAGES/django.po -> build/lib/django_comments/locale/el/LC_MESSAGES
  creating build/lib/django_comments/locale/en
  creating build/lib/django_comments/locale/en/LC_MESSAGES
  copying django_comments/locale/en/LC_MESSAGES/django.mo -> build/lib/django_comments/locale/en/LC_MESSAGES
  copying django_comments/locale/en/LC_MESSAGES/django.po -> build/lib/django_comments/locale/en/LC_MESSAGES
error: build of '/nix/store/0sjsvqcr7imsdwanzwqc327x76l97dfm-python2.7-django-cors-headers-3.1.1.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/0sjsvqcr7imsdwanzwqc327x76l97dfm-python2.7-django-cors-headers-3.1.1.drv' failed with exit code 1
error: build of '/nix/store/9pbb34nh84gs16p6n46qnss538n9whpx-python2.7-django-filter-2.2.0.drv' failed: builder for '/nix/store/9pbb34nh84gs16p6n46qnss538n9whpx-python2.7-django-filter-2.2.0.drv' failed with exit code 1
builder for '/nix/store/0sjsvqcr7imsdwanzwqc327x76l97dfm-python2.7-django-cors-headers-3.1.1.drv' failed with exit code 1; last 10 log lines:
  adding 'django_cors_headers-3.1.1.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/django-cors-headers-3.1.1/dist /build/django-cors-headers-3.1.1
  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Processing ./django_cors_headers-3.1.1-py2-none-any.whl
  ERROR: Package 'django-cors-headers' requires a different Python: 2.7.17 not in '>=3.5'
  builder for '/nix/store/0sjsvqcr7imsdwanzwqc327x76l97dfm-python2.7-django-cors-headers-3.1.1.drv' failed with exit code 1
builder for '/nix/store/9pbb34nh84gs16p6n46qnss538n9whpx-python2.7-django-filter-2.2.0.drv' failed with exit code 1; last 10 log lines:
  copying django_filters/templates/django_filters/widgets/multiwidget.html -> build/lib/django_filters/templates/django_filters/widgets
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/django_filters
  copying build/lib/django_filters/views.py -> build/bdist.linux-x86_64/wheel/django_filters
  copying build/lib/django_filters/__init__.py -> build/bdist.linux-x86_64/wheel/django_filters
  copying build/lib/django_filters/models.py -> build/bdist.linux-x86_64/wheel/django_filters
error: build of '/nix/store/lpxsiyshyk51rwrqy1s4bvinm7mv75bs-python2.7-django-sesame-1.7.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/lpxsiyshyk51rwrqy1s4bvinm7mv75bs-python2.7-django-sesame-1.7.drv' failed with exit code 1
builder for '/nix/store/lpxsiyshyk51rwrqy1s4bvinm7mv75bs-python2.7-django-sesame-1.7.drv' failed with exit code 1; last 10 log lines:
    File "/nix/store/mz9jlymwyspc6zy7zdcqviqbpxkgxdi4-python2.7-Django-1.11.27/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "/nix/store/mz9jlymwyspc6zy7zdcqviqbpxkgxdi4-python2.7-Django-1.11.27/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
      app_config = AppConfig.create(entry)
    File "/nix/store/mz9jlymwyspc6zy7zdcqviqbpxkgxdi4-python2.7-Django-1.11.27/lib/python2.7/site-packages/django/apps/config.py", line 127, in create
      import_module(entry)
    File "/nix/store/gk0lrrvqz491xn0mgrshzgvazx4rghl2-python-2.7.17/lib/python2.7/importlib/__init__.py", line 37, in import_module
      __import__(name)
  ImportError: No module named test_app
  builder for '/nix/store/lpxsiyshyk51rwrqy1s4bvinm7mv75bs-python2.7-django-sesame-1.7.drv' failed with exit code 1
error: build of '/nix/store/g1h9sha6gan1pfswii24xvq9l9naw13c-python2.7-djangorestframework-3.10.3.drv' failed: builder for '/nix/store/g1h9sha6gan1pfswii24xvq9l9naw13c-python2.7-djangorestframework-3.10.3.drv' failed with exit code 1
builder for '/nix/store/g1h9sha6gan1pfswii24xvq9l9naw13c-python2.7-djangorestframework-3.10.3.drv' failed with exit code 1; last 10 log lines:
  
      $ python -m pip install --upgrade pip setuptools
      $ python -m pip install djangorestframework
  
  This will install the latest version of Django REST Framework which works on
  your version of Python. If you can't upgrade your pip (or Python), request
  an older version of Django REST Framework:
  
      $ python -m pip install "django<3.10"
  builder for '/nix/store/g1h9sha6gan1pfswii24xvq9l9naw13c-python2.7-djangorestframework-3.10.3.drv' failed with exit code 1
cannot build derivation '/nix/store/frcvbvmlmajdarww4f9skc93bm3i87db-python2.7-django-rest-auth-0.9.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dxw2xas6h60nyp0q3z6qnq44vihplrwg-python2.7-djangorestframework-jwt-1.11.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9575v04qcakkdfv67sh52qsjkrh0zl7m-python2.7-Mezzanine-4.3.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4sih2rz0mbfks03qrc3jjc2jv1dmrplm-python2.7-thumbor-6.7.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/17gf7ap6cjdx83zzbsrnyy9vjqfmmspm-python2.7-easy-thumbnails-2.6.drv' failed: builder for '/nix/store/17gf7ap6cjdx83zzbsrnyy9vjqfmmspm-python2.7-easy-thumbnails-2.6.drv' failed with exit code 1
builder for '/nix/store/17gf7ap6cjdx83zzbsrnyy9vjqfmmspm-python2.7-easy-thumbnails-2.6.drv' failed with exit code 1; last 10 log lines:
      "(%d bytes not processed)" % len(b)
  IOError: image file is truncated (4 bytes not processed)
  
  ----------------------------------------------------------------------
  Ran 119 tests in 2.355s
  
  FAILED (errors=1, skipped=3)
  Creating test database for alias 'default'...
  Destroying test database for alias 'default'...
  builder for '/nix/store/17gf7ap6cjdx83zzbsrnyy9vjqfmmspm-python2.7-easy-thumbnails-2.6.drv' failed with exit code 1
error: build of '/nix/store/f80sa5lalp7rcxkna8vyksss9f7zk3id-python2.7-django-guardian-2.1.0.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/f80sa5lalp7rcxkna8vyksss9f7zk3id-python2.7-django-guardian-2.1.0.drv' failed with exit code 1
builder for '/nix/store/f80sa5lalp7rcxkna8vyksss9f7zk3id-python2.7-django-guardian-2.1.0.drv' failed with exit code 1; last 10 log lines:
  adding 'django_guardian-2.1.0.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/django-guardian-2.1.0/dist /build/django-guardian-2.1.0
  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  Processing ./django_guardian-2.1.0-py2-none-any.whl
  ERROR: Package 'django-guardian' requires a different Python: 2.7.17 not in '>=3.5'
  builder for '/nix/store/f80sa5lalp7rcxkna8vyksss9f7zk3id-python2.7-django-guardian-2.1.0.drv' failed with exit code 1
error: build of '/nix/store/fm8dabcya50rchxwi7cqq030k1fx3isg-python3.7-django-contrib-comments-1.9.2.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/fm8dabcya50rchxwi7cqq030k1fx3isg-python3.7-django-contrib-comments-1.9.2.drv' failed with exit code 1
builder for '/nix/store/fm8dabcya50rchxwi7cqq030k1fx3isg-python3.7-django-contrib-comments-1.9.2.drv' failed with exit code 1; last 10 log lines:
  adding 'django_contrib_comments-1.9.2.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/django-contrib-comments-1.9.2/dist /build/django-contrib-comments-1.9.2
  Processing ./django_contrib_comments-1.9.2-py2.py3-none-any.whl
  ERROR: Could not find a version that satisfies the requirement six (from django-contrib-comments==1.9.2) (from versions: none)
  ERROR: No matching distribution found for six (from django-contrib-comments==1.9.2)
  builder for '/nix/store/fm8dabcya50rchxwi7cqq030k1fx3isg-python3.7-django-contrib-comments-1.9.2.drv' failed with exit code 1
error: build of '/nix/store/9b47mcyzqg6yr061vbrb4gw5z3byflhr-python3.7-postorius-1.2.4.drv' failed: builder for '/nix/store/9b47mcyzqg6yr061vbrb4gw5z3byflhr-python3.7-postorius-1.2.4.drv' failed with exit code 1
builder for '/nix/store/9b47mcyzqg6yr061vbrb4gw5z3byflhr-python3.7-postorius-1.2.4.drv' failed with exit code 1; last 10 log lines:
  ----------------------------------------------------------------------
  Ran 253 tests in 52.483s
  
  FAILED (errors=39, expected failures=2)
  Creating test database for alias 'default'...
  System check identified no issues (0 silenced).
  
  
  Destroying test database for alias 'default'...
  builder for '/nix/store/9b47mcyzqg6yr061vbrb4gw5z3byflhr-python3.7-postorius-1.2.4.drv' failed with exit code 1
error: build of '/nix/store/2y0rv7s0ix8vhnapn0sk546jbm5hi8ch-python3.7-django-sesame-1.7.drv' failed: builder for '/nix/store/2y0rv7s0ix8vhnapn0sk546jbm5hi8ch-python3.7-django-sesame-1.7.drv' failed with exit code 1
builder for '/nix/store/2y0rv7s0ix8vhnapn0sk546jbm5hi8ch-python3.7-django-sesame-1.7.drv' failed with exit code 1; last 10 log lines:
      app_config = AppConfig.create(entry)
    File "/nix/store/v297syfr61q8y4r3nzm99f4v5y28i7n5-python3.7-Django-1.11.27/lib/python3.7/site-packages/django/apps/config.py", line 127, in create
      import_module(entry)
    File "/nix/store/5dbidajmgrvskv7kj6bwrkza8szxkgar-python3-3.7.5/lib/python3.7/importlib/__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
    File "<frozen importlib._bootstrap>", line 983, in _find_and_load
    File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
  ModuleNotFoundError: No module named 'sesame.test_app'
  builder for '/nix/store/2y0rv7s0ix8vhnapn0sk546jbm5hi8ch-python3.7-django-sesame-1.7.drv' failed with exit code 1
cannot build derivation '/nix/store/fvhaxf11kklabm7dmsik3f5vc6mwl0gs-python3.7-Mezzanine-4.3.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/avzrpdngd5j2lid51pvy0dg8b0nqdm83-python3.7-google-cloud-logging-1.14.0.drv' failed: builder for '/nix/store/avzrpdngd5j2lid51pvy0dg8b0nqdm83-python3.7-google-cloud-logging-1.14.0.drv' failed with exit code 2
builder for '/nix/store/avzrpdngd5j2lid51pvy0dg8b0nqdm83-python3.7-google-cloud-logging-1.14.0.drv' failed with exit code 1; last 10 log lines:
  tests/unit/handlers/transports/test_sync.py:66: in _Logger
      from google.cloud.logging.logger import _GLOBAL_RESOURCE
  google/cloud/logging/__init__.py:22: in <module>
      from google.cloud.logging.client import Client
  google/cloud/logging/client.py:28: in <module>
      import google.api_core.client_options
  E   ModuleNotFoundError: No module named 'google.api_core'
  !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
  =============================== 5 error in 0.52s ===============================
  builder for '/nix/store/avzrpdngd5j2lid51pvy0dg8b0nqdm83-python3.7-google-cloud-logging-1.14.0.drv' failed with exit code 2
cannot build derivation '/nix/store/knsv6pyk1fm9j14cmbfxg1s6pndqb9xc-python3.7-google-cloud-error-reporting-0.33.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/rvda2mz99f8alw0w2sfqy2havgvhv34w-python3.7-easy-thumbnails-2.6.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/rvda2mz99f8alw0w2sfqy2havgvhv34w-python3.7-easy-thumbnails-2.6.drv' failed with exit code 1
builder for '/nix/store/rvda2mz99f8alw0w2sfqy2havgvhv34w-python3.7-easy-thumbnails-2.6.drv' failed with exit code 1; last 10 log lines:
    File "/nix/store/24356gj1xvfcd3a6d3xgksji9f0c94a1-python3.7-Pillow-6.2.1/lib/python3.7/site-packages/PIL/ImageFile.py", line 249, in load
      "(%d bytes not processed)" % len(b)
  OSError: image file is truncated (4 bytes not processed)
  
  ----------------------------------------------------------------------
  Ran 119 tests in 2.701s
  
  FAILED (errors=1, skipped=3)
  Destroying test database for alias 'default'...
  builder for '/nix/store/rvda2mz99f8alw0w2sfqy2havgvhv34w-python3.7-easy-thumbnails-2.6.drv' failed with exit code 1
error: build of '/nix/store/r7xq0ihmq7rnjlxrpkwg684ahsswzwh1-python3.7-django-guardian-2.1.0.drv' failed: builder for '/nix/store/r7xq0ihmq7rnjlxrpkwg684ahsswzwh1-python3.7-django-guardian-2.1.0.drv' failed with exit code 1
builder for '/nix/store/r7xq0ihmq7rnjlxrpkwg684ahsswzwh1-python3.7-django-guardian-2.1.0.drv' failed with exit code 1; last 10 log lines:
    File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
    File "<frozen importlib._bootstrap>", line 983, in _find_and_load
    File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 728, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/build/django-guardian-2.1.0/guardian/admin.py", line 9, in <module>
      from django.urls import reverse, path
  ImportError: cannot import name 'path' from 'django.urls' (/nix/store/v297syfr61q8y4r3nzm99f4v5y28i7n5-python3.7-Django-1.11.27/lib/python3.7/site-packages/django/urls/__init__.py)
  builder for '/nix/store/r7xq0ihmq7rnjlxrpkwg684ahsswzwh1-python3.7-django-guardian-2.1.0.drv' failed with exit code 1
error: build of '/nix/store/93dlr0jync3wbsp267aq1sq6zjxr1kmy-python3.8-django-contrib-comments-1.9.2.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/93dlr0jync3wbsp267aq1sq6zjxr1kmy-python3.8-django-contrib-comments-1.9.2.drv' failed with exit code 1
builder for '/nix/store/93dlr0jync3wbsp267aq1sq6zjxr1kmy-python3.8-django-contrib-comments-1.9.2.drv' failed with exit code 1; last 10 log lines:
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/django-contrib-comments-1.9.2/dist /build/django-contrib-comments-1.9.2
  Processing ./django_contrib_comments-1.9.2-py2.py3-none-any.whl
  Requirement already satisfied: Django>=1.11 in /nix/store/yl3v5iyb0m394mf2dymy6zcyykhp3s2h-python3.8-Django-1.11.27/lib/python3.8/site-packages (from django-contrib-comments==1.9.2) (1.11.27)
  ERROR: Could not find a version that satisfies the requirement six (from django-contrib-comments==1.9.2) (from versions: none)
  ERROR: No matching distribution found for six (from django-contrib-comments==1.9.2)
  builder for '/nix/store/93dlr0jync3wbsp267aq1sq6zjxr1kmy-python3.8-django-contrib-comments-1.9.2.drv' failed with exit code 1
error: build of '/nix/store/dqjmbnv0vcy9wgbyvgrrx4wz9gy1w25n-python3.8-django-sesame-1.7.drv' failed: builder for '/nix/store/dqjmbnv0vcy9wgbyvgrrx4wz9gy1w25n-python3.8-django-sesame-1.7.drv' failed with exit code 1
builder for '/nix/store/dqjmbnv0vcy9wgbyvgrrx4wz9gy1w25n-python3.8-django-sesame-1.7.drv' failed with exit code 1; last 10 log lines:
      app_config = AppConfig.create(entry)
    File "/nix/store/yl3v5iyb0m394mf2dymy6zcyykhp3s2h-python3.8-Django-1.11.27/lib/python3.8/site-packages/django/apps/config.py", line 127, in create
      import_module(entry)
    File "/nix/store/wp9b0dr34gsm785i0w8d3jx888j9gvd4-python3-3.8.1/lib/python3.8/importlib/__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
  ModuleNotFoundError: No module named 'sesame.test_app'
  builder for '/nix/store/dqjmbnv0vcy9wgbyvgrrx4wz9gy1w25n-python3.8-django-sesame-1.7.drv' failed with exit code 1
error: build of '/nix/store/dbraqnpzk66z65yjw9kf07yn0vx03ng2-python3.7-HyperKitty-1.2.2.drv' failed: builder for '/nix/store/dbraqnpzk66z65yjw9kf07yn0vx03ng2-python3.7-HyperKitty-1.2.2.drv' failed with exit code 1
builder for '/nix/store/dbraqnpzk66z65yjw9kf07yn0vx03ng2-python3.7-HyperKitty-1.2.2.drv' failed with exit code 1; last 10 log lines:
  AttributeError: 'DiGraph' object has no attribute 'node'
  
  ----------------------------------------------------------------------
  Ran 278 tests in 14.958s
  
  FAILED (errors=178, skipped=1)
  Creating test database for alias 'default'...
  System check identified no issues (0 silenced).
  Destroying test database for alias 'default'...
  builder for '/nix/store/dbraqnpzk66z65yjw9kf07yn0vx03ng2-python3.7-HyperKitty-1.2.2.drv' failed with exit code 1
cannot build derivation '/nix/store/y4i662fygag1r0przyq8wa2l5jayziad-python3.7-mailman-web-0.drv': 2 dependencies couldn't be built
waiting for locks or build slots...
error: build of '/nix/store/kvswdpj1vgi5c971z2gkh61g805r82cz-python3.8-django-guardian-2.1.0.drv' failed: builder for '/nix/store/kvswdpj1vgi5c971z2gkh61g805r82cz-python3.8-django-guardian-2.1.0.drv' failed with exit code 1
builder for '/nix/store/kvswdpj1vgi5c971z2gkh61g805r82cz-python3.8-django-guardian-2.1.0.drv' failed with exit code 1; last 10 log lines:
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 783, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/build/django-guardian-2.1.0/guardian/admin.py", line 9, in <module>
      from django.urls import reverse, path
  ImportError: cannot import name 'path' from 'django.urls' (/nix/store/yl3v5iyb0m394mf2dymy6zcyykhp3s2h-python3.8-Django-1.11.27/lib/python3.8/site-packages/django/urls/__init__.py)
  builder for '/nix/store/kvswdpj1vgi5c971z2gkh61g805r82cz-python3.8-django-guardian-2.1.0.drv' failed with exit code 1
error: build of '/nix/store/lz38b929ddcby6ggnkwanc2dlznn0dsr-python3.8-easy-thumbnails-2.6.drv' failed: builder for '/nix/store/lz38b929ddcby6ggnkwanc2dlznn0dsr-python3.8-easy-thumbnails-2.6.drv' failed with exit code 1
builder for '/nix/store/lz38b929ddcby6ggnkwanc2dlznn0dsr-python3.8-easy-thumbnails-2.6.drv' failed with exit code 1; last 10 log lines:
      raise IOError(
  OSError: image file is truncated (4 bytes not processed)
  
  ----------------------------------------------------------------------
  Ran 119 tests in 2.319s
  
  FAILED (errors=1, skipped=3)
  Creating test database for alias 'default'...
  Destroying test database for alias 'default'...
  builder for '/nix/store/lz38b929ddcby6ggnkwanc2dlznn0dsr-python3.8-easy-thumbnails-2.6.drv' failed with exit code 1
error: build of '/nix/store/vjdc61qlq2xd8k7m4b2pjbs9kx8ry9zd-python3.8-yarl-1.3.0.drv' failed: builder for '/nix/store/vjdc61qlq2xd8k7m4b2pjbs9kx8ry9zd-python3.8-yarl-1.3.0.drv' failed with exit code 1
builder for '/nix/store/vjdc61qlq2xd8k7m4b2pjbs9kx8ry9zd-python3.8-yarl-1.3.0.drv' failed with exit code 1; last 10 log lines:
  
      def test_no_scheme1(self):
          u = URL("google.com:80")
  >       assert u.scheme == ""
  E       AssertionError: assert 'google.com' == ''
  E         - google.com
  
  tests/test_url_parsing.py:43: AssertionError
  =================== 1 failed, 856 passed, 8 xfailed in 1.92s ===================
  builder for '/nix/store/vjdc61qlq2xd8k7m4b2pjbs9kx8ry9zd-python3.8-yarl-1.3.0.drv' failed with exit code 1
error: build of '/nix/store/7846s46xnq7dykfxg86s16cgnhf0bb87-python3.8-bleach-3.1.0.drv' on 'ssh://static-haskell-nix-ci' failed: builder for '/nix/store/7846s46xnq7dykfxg86s16cgnhf0bb87-python3.8-bleach-3.1.0.drv' failed with exit code 1
builder for '/nix/store/7846s46xnq7dykfxg86s16cgnhf0bb87-python3.8-bleach-3.1.0.drv' failed with exit code 1; last 10 log lines:
  
  tests/test_clean.py:676: AssertionError
  =============================== warnings summary ===============================
  /nix/store/j4931zifdqnfi3p4lblz14nsbkq2i03z-python3.8-bleach-3.1.0/lib/python3.8/site-packages/bleach/_vendor/html5lib/_trie/_base.py:3
    /nix/store/j4931zifdqnfi3p4lblz14nsbkq2i03z-python3.8-bleach-3.1.0/lib/python3.8/site-packages/bleach/_vendor/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
      from collections import Mapping
  
  -- Docs: https://docs.pytest.org/en/latest/warnings.html
  =========== 3 failed, 307 passed, 1 deselected, 1 warnings in 1.82s ============
  builder for '/nix/store/7846s46xnq7dykfxg86s16cgnhf0bb87-python3.8-bleach-3.1.0.drv' failed with exit code 1
cannot build derivation '/nix/store/52q3b6w9gy4s27nv2l5dbp44rkzpb8j8-python3.8-Mezzanine-4.3.1.drv': 2 dependencies couldn't be built
error: build of '/nix/store/29kx50gdllx3rgz2rb3jiiqv4gksq1kw-python3.8-HyperKitty-1.2.2.drv' failed: builder for '/nix/store/29kx50gdllx3rgz2rb3jiiqv4gksq1kw-python3.8-HyperKitty-1.2.2.drv' failed with exit code 1
builder for '/nix/store/29kx50gdllx3rgz2rb3jiiqv4gksq1kw-python3.8-HyperKitty-1.2.2.drv' failed with exit code 1; last 10 log lines:
  AttributeError: 'DiGraph' object has no attribute 'node'
  
  ----------------------------------------------------------------------
  Ran 278 tests in 13.019s
  
  FAILED (errors=178, skipped=1)
  Creating test database for alias 'default'...
  System check identified no issues (0 silenced).
  Destroying test database for alias 'default'...
  builder for '/nix/store/29kx50gdllx3rgz2rb3jiiqv4gksq1kw-python3.8-HyperKitty-1.2.2.drv' failed with exit code 1
error: build of '/nix/store/13mygfh6x26i7aj51v7hhz5d743fc6x3-python3.8-google-cloud-logging-1.14.0.drv' failed: builder for '/nix/store/13mygfh6x26i7aj51v7hhz5d743fc6x3-python3.8-google-cloud-logging-1.14.0.drv' failed with exit code 2
builder for '/nix/store/13mygfh6x26i7aj51v7hhz5d743fc6x3-python3.8-google-cloud-logging-1.14.0.drv' failed with exit code 1; last 10 log lines:
  tests/unit/handlers/transports/test_sync.py:66: in _Logger
      from google.cloud.logging.logger import _GLOBAL_RESOURCE
  google/cloud/logging/__init__.py:22: in <module>
      from google.cloud.logging.client import Client
  google/cloud/logging/client.py:28: in <module>
      import google.api_core.client_options
  E   ModuleNotFoundError: No module named 'google.api_core'
  !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
  =============================== 5 error in 0.47s ===============================
  builder for '/nix/store/13mygfh6x26i7aj51v7hhz5d743fc6x3-python3.8-google-cloud-logging-1.14.0.drv' failed with exit code 2
cannot build derivation '/nix/store/857n5y2mgfjbad89h4nigf1k6wyvsivb-python3.8-google-cloud-error-reporting-0.33.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/40q34fqbnmfhyy1fbmpq50v1qv3lhb64-python3.8-vcrpy-2.1.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/gk5zp3jljhyclc42ygf4m734j16rn42b-python3.8-postorius-1.2.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kzfsl3vnb7by3k3ch1zwz5vgvsrz08zh-python3.8-mailman-web-0.drv': 2 dependencies couldn't be built
[1/423/426 built (25 failed), 1591 copied (3200.8 MiB), 551.3 MiB DL] building python3.8-autopep8-1.4.4 on ssh://static-haskell-nix-ci: test_non_diff_with_exit_code_option (test.test_autopep8.CommandLineTests) ... ok 

At that stage the output hangs, but it seems unlikely that this is the fault of the point release upgrade.

@nh2
Copy link
Contributor

nh2 commented Dec 20, 2019

E.g. django-jinja is broken via tox, which says:

Processing ./tox-3.14.2-py2.py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2) (from versions: none)
ERROR: No matching distribution found for importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2)

But that is true on the base commit and master as well.

@nh2
Copy link
Contributor

nh2 commented Dec 20, 2019

Fixes:

CVE-2019-19844: Potential account hijack via password reset form

@nh2
Copy link
Contributor

nh2 commented Dec 20, 2019

Could not find a version that satisfies the requirement importlib-metadata<2,>=1.1.0; python_version < "3.8" (from tox==3.14.2) (from versions: none)

Maybe that's #76049 ?

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 master:

https://github.com/NixOS/nixpkgs/pull/76045
4 package are marked as broken and were skipped:
python27Packages.django_evolution python27Packages.django_pipeline python37Packages.django_pipeline python38Packages.django_pipeline

33 package failed to build:
python27Packages.django-cors-headers python27Packages.django-filter python27Packages.django-jinja python27Packages.django-rest-auth python27Packages.django-sesame python27Packages.django_contrib_comments python27Packages.django_guardian python27Packages.djangorestframework python27Packages.djangorestframework-jwt python27Packages.easy-thumbnails python27Packages.mezzanine python27Packages.thumbor python37Packages.django-jinja python37Packages.django-sesame python37Packages.django_contrib_comments python37Packages.django_guardian python37Packages.easy-thumbnails python37Packages.google_cloud_error_reporting python37Packages.google_cloud_logging python37Packages.hyperkitty python37Packages.mailman-web python37Packages.mezzanine python37Packages.postorius python38Packages.django-sesame python38Packages.django_contrib_comments python38Packages.django_guardian python38Packages.easy-thumbnails python38Packages.google_cloud_error_reporting python38Packages.google_cloud_logging python38Packages.hyperkitty python38Packages.mailman-web python38Packages.mezzanine python38Packages.postorius

156 package were built:
buildbot buildbot-full buildbot-ui mkdocs octoprint python27Packages.django python27Packages.django-cleanup python27Packages.django-configurations python27Packages.django-csp python27Packages.django-discover-runner python27Packages.django-dynamic-preferences python27Packages.django-haystack python27Packages.django-ipware python27Packages.django-logentry-admin python27Packages.django-multiselectfield python27Packages.django-pglocks python27Packages.django-picklefield python27Packages.django-q python27Packages.django-sampledatahelper python27Packages.django-sites python27Packages.django-sr python27Packages.django-storages python27Packages.django_appconf python27Packages.django_classytags python27Packages.django_colorful python27Packages.django_compat python27Packages.django_compressor python27Packages.django_environ python27Packages.django_extensions python27Packages.django_hijack python27Packages.django_hijack_admin python27Packages.django_nose python27Packages.django_polymorphic python27Packages.django_redis python27Packages.django_reversion python27Packages.django_silk python27Packages.django_tagging python27Packages.django_treebeard python27Packages.djangoql python27Packages.djmail python27Packages.filebrowser_safe python27Packages.libthumbor python27Packages.livereload python27Packages.pelican python27Packages.pytest-django python27Packages.sentry-sdk python27Packages.suseapi python27Packages.typogrify python37Packages.channels python37Packages.channels-redis python37Packages.django python37Packages.django-allauth python37Packages.django-cleanup python37Packages.django-configurations python37Packages.django-cors-headers python37Packages.django-csp python37Packages.django-discover-runner python37Packages.django-dynamic-preferences python37Packages.django-filter python37Packages.django-haystack python37Packages.django-ipware python37Packages.django-logentry-admin python37Packages.django-mailman3 python37Packages.django-multiselectfield python37Packages.django-pglocks python37Packages.django-picklefield python37Packages.django-q python37Packages.django-rest-auth python37Packages.django-sampledatahelper python37Packages.django-sites python37Packages.django-sr python37Packages.django-storages python37Packages.django_appconf python37Packages.django_classytags python37Packages.django_colorful python37Packages.django_compat python37Packages.django_compressor python37Packages.django_environ python37Packages.django_extensions python37Packages.django_hijack python37Packages.django_hijack_admin python37Packages.django_nose python37Packages.django_polymorphic python37Packages.django_redis python37Packages.django_reversion python37Packages.django_silk python37Packages.django_tagging python37Packages.django_taggit python37Packages.django_treebeard python37Packages.djangoql python37Packages.djangorestframework python37Packages.djangorestframework-jwt python37Packages.djmail python37Packages.filebrowser_safe python37Packages.libthumbor python37Packages.livereload python37Packages.pelican python37Packages.pyjade python37Packages.pytest-django python37Packages.sentry-sdk python37Packages.suseapi python37Packages.typogrify python38Packages.channels python38Packages.channels-redis python38Packages.django python38Packages.django-allauth python38Packages.django-cleanup python38Packages.django-configurations python38Packages.django-cors-headers python38Packages.django-csp python38Packages.django-discover-runner python38Packages.django-dynamic-preferences python38Packages.django-filter python38Packages.django-haystack python38Packages.django-ipware python38Packages.django-jinja python38Packages.django-logentry-admin python38Packages.django-mailman3 python38Packages.django-multiselectfield python38Packages.django-pglocks python38Packages.django-picklefield python38Packages.django-q python38Packages.django-rest-auth python38Packages.django-sampledatahelper python38Packages.django-sites python38Packages.django-sr python38Packages.django-storages python38Packages.django_appconf python38Packages.django_classytags python38Packages.django_colorful python38Packages.django_compat python38Packages.django_compressor python38Packages.django_environ python38Packages.django_extensions python38Packages.django_hijack python38Packages.django_hijack_admin python38Packages.django_nose python38Packages.django_polymorphic python38Packages.django_redis python38Packages.django_reversion python38Packages.django_silk python38Packages.django_tagging python38Packages.django_taggit python38Packages.django_treebeard python38Packages.djangoql python38Packages.djangorestframework python38Packages.djangorestframework-jwt python38Packages.filebrowser_safe python38Packages.libthumbor python38Packages.livereload python38Packages.pelican python38Packages.pyjade python38Packages.pytest-django python38Packages.suseapi python38Packages.typogrify redo-apenwarr

@jonringer
Copy link
Contributor

@nh2 that was the plan

@jonringer
Copy link
Contributor

@GrahamcOfBorg build buildbot buildbot-full buildbot-ui mkdocs octoprint python27Packages.django python27Packages.django-cleanup python27Packages.django-configurations python27Packages.django-csp python27Packages.django-discover-runner python27Packages.django-dynamic-preferences python27Packages.django-haystack python27Packages.django-ipware python27Packages.django-logentry-admin python27Packages.django-multiselectfield python27Packages.django-pglocks python27Packages.django-picklefield python27Packages.django-q python27Packages.django-sampledatahelper python27Packages.django-sites python27Packages.django-sr python27Packages.django-storages python27Packages.django_appconf python27Packages.django_classytags python27Packages.django_colorful python27Packages.django_compat python27Packages.django_compressor python27Packages.django_environ python27Packages.django_extensions python27Packages.django_hijack python27Packages.django_hijack_admin python27Packages.django_nose python27Packages.django_polymorphic python27Packages.django_redis python27Packages.django_reversion python27Packages.django_silk python27Packages.django_tagging python27Packages.django_treebeard python27Packages.djangoql python27Packages.djmail python27Packages.filebrowser_safe python27Packages.libthumbor python27Packages.livereload python27Packages.pelican python27Packages.pytest-django python27Packages.sentry-sdk python27Packages.suseapi python27Packages.typogrify python37Packages.channels python37Packages.channels-redis python37Packages.django python37Packages.django-allauth python37Packages.django-cleanup python37Packages.django-configurations python37Packages.django-cors-headers python37Packages.django-csp python37Packages.django-discover-runner python37Packages.django-dynamic-preferences python37Packages.django-filter python37Packages.django-haystack python37Packages.django-ipware python37Packages.django-logentry-admin python37Packages.django-mailman3 python37Packages.django-multiselectfield python37Packages.django-pglocks python37Packages.django-picklefield python37Packages.django-q python37Packages.django-rest-auth python37Packages.django-sampledatahelper python37Packages.django-sites python37Packages.django-sr python37Packages.django-storages python37Packages.django_appconf python37Packages.django_classytags python37Packages.django_colorful python37Packages.django_compat python37Packages.django_compressor python37Packages.django_environ python37Packages.django_extensions python37Packages.django_hijack python37Packages.django_hijack_admin python37Packages.django_nose python37Packages.django_polymorphic python37Packages.django_redis python37Packages.django_reversion python37Packages.django_silk python37Packages.django_tagging python37Packages.django_taggit python37Packages.django_treebeard python37Packages.djangoql python37Packages.djangorestframework python37Packages.djangorestframework-jwt python37Packages.djmail python37Packages.filebrowser_safe python37Packages.libthumbor python37Packages.livereload python37Packages.pelican python37Packages.pyjade python37Packages.pytest-django python37Packages.sentry-sdk python37Packages.suseapi python37Packages.typogrify python38Packages.channels python38Packages.channels-redis python38Packages.django python38Packages.django-allauth python38Packages.django-cleanup python38Packages.django-configurations python38Packages.django-cors-headers python38Packages.django-csp python38Packages.django-discover-runner python38Packages.django-dynamic-preferences python38Packages.django-filter python38Packages.django-haystack python38Packages.django-ipware python38Packages.django-jinja python38Packages.django-logentry-admin python38Packages.django-mailman3 python38Packages.django-multiselectfield python38Packages.django-pglocks python38Packages.django-picklefield python38Packages.django-q python38Packages.django-rest-auth python38Packages.django-sampledatahelper python38Packages.django-sites python38Packages.django-sr python38Packages.django-storages python38Packages.django_appconf python38Packages.django_classytags python38Packages.django_colorful python38Packages.django_compat python38Packages.django_compressor python38Packages.django_environ python38Packages.django_extensions python38Packages.django_hijack python38Packages.django_hijack_admin python38Packages.django_nose python38Packages.django_polymorphic python38Packages.django_redis python38Packages.django_reversion python38Packages.django_silk python38Packages.django_tagging python38Packages.django_taggit python38Packages.django_treebeard python38Packages.djangoql python38Packages.djangorestframework python38Packages.djangorestframework-jwt python38Packages.filebrowser_safe python38Packages.libthumbor python38Packages.livereload python38Packages.pelican python38Packages.pyjade python38Packages.pytest-django python38Packages.suseapi python38Packages.typogrify redo-apenwarr

@jonringer jonringer merged commit 2a60519 into NixOS:master Dec 21, 2019
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