[ckan-changes] [ckan/ckan] 0b27bd: Re-add needed import

Adrià Mercader noreply at github.com
Fri Nov 22 12:06:32 UTC 2019


  Branch: refs/heads/py3-general-support
  Home:   https://github.com/ckan/ckan
  Commit: 0b27bde48fc34bd0bd6301455461ae1b6314a2f3
      https://github.com/ckan/ckan/commit/0b27bde48fc34bd0bd6301455461ae1b6314a2f3
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/tests/legacy/functional/api/base.py

  Log Message:
  -----------
  Re-add needed import


  Commit: 465400c2def4d42cf3ec37a12cf14369d727f02c
      https://github.com/ckan/ckan/commit/465400c2def4d42cf3ec37a12cf14369d727f02c
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/cli/datastore.py
    M ckan/lib/cli.py
    M ckan/model/__init__.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/tests/helpers.py

  Log Message:
  -----------
  [#4801] Refactor parse_db_config to avoid importing from old cli


  Commit: 472663aa4648e58f2c2b6b99604b68118b11c5fd
      https://github.com/ckan/ckan/commit/472663aa4648e58f2c2b6b99604b68118b11c5fd
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  [#4801] Selective loading in plugins toolkit

This took a while to get right because exceptions raised during the
toolkit initialization fail silently and the sympton would be the an
import error later on when trying to import something from the toolkit:

from ckan.plugins.toolkit import get_action

ImportError: cannot import name 'get_action'

TODO: Sort out what gets exposed to extensions in terms of CLI commands


  Commit: 40895ddce7803499e813e6a2b4f87bf5da07b7d8
      https://github.com/ckan/ckan/commit/40895ddce7803499e813e6a2b4f87bf5da07b7d8
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/config/middleware/__init__.py

  Log Message:
  -----------
  [#4801] Use only Flask WSGI app in py3


  Commit: 3ed55d6530b8a6b95cf9ced6341e3df132f54f1f
      https://github.com/ckan/ckan/commit/3ed55d6530b8a6b95cf9ced6341e3df132f54f1f
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckanext/datastore/blueprint.py

  Log Message:
  -----------
  [#4801] izip_longest renamed in py3


  Commit: 14540fc235c8ae8ad8b6e09329861d1868061f76
      https://github.com/ckan/ckan/commit/14540fc235c8ae8ad8b6e09329861d1868061f76
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/common.py

  Log Message:
  -----------
  [#4801] Don't proxy keys to pylons config on py3


  Commit: da100c82ce4da90f8267879ef11789c65d0da8d8
      https://github.com/ckan/ckan/commit/da100c82ce4da90f8267879ef11789c65d0da8d8
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/config/environment.py

  Log Message:
  -----------
  [#4801] Selective execution in environment.py


  Commit: ce577f295ac15277aac935363c1a8e961681ce1e
      https://github.com/ckan/ckan/commit/ce577f295ac15277aac935363c1a8e961681ce1e
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/lib/mailer.py

  Log Message:
  -----------
  [#4801] Normalize email module name


  Commit: 1a0e96515ed8b75866bf459a062c386744205467
      https://github.com/ckan/ckan/commit/1a0e96515ed8b75866bf459a062c386744205467
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M ckan/logic/__init__.py

  Log Message:
  -----------
  [#4801] Avoid auto-importing proxies like request

As otherwise Flask will raise a RuntimeError exceptions on startup as
they are not in the context of a web request.


Compare: https://github.com/ckan/ckan/compare/52e6f5e0bc6e...1a0e96515ed8


More information about the ckan-changes mailing list