[ckan-changes] [ckan/ckan] 032ee1: [#4801] string.letters not present in py3

Adrià Mercader noreply at github.com
Fri Dec 6 23:19:48 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 032ee106cc4ae51880087243bd25bfa3b9a6ab59
      https://github.com/ckan/ckan/commit/032ee106cc4ae51880087243bd25bfa3b9a6ab59
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M ckan/lib/search/index.py

  Log Message:
  -----------
  [#4801] string.letters not present in py3


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

  Changed paths:
    M ckan/config/environment.py
    M ckan/lib/navl/dictization_functions.py
    M ckan/tests/legacy/lib/test_navl.py
    R ckan/tests/lib/test_navl.py
    M doc/extensions/adding-custom-fields.rst

  Log Message:
  -----------
  [#4800] Remove formencode support


  Commit: 5db6a46938b4a65bd817f44d268319291a6fca42
      https://github.com/ckan/ckan/commit/5db6a46938b4a65bd817f44d268319291a6fca42
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M ckan/config/environment.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    A ckan/tests/migration/revision_legacy_code_tests.py

  Log Message:
  -----------
  [#4801] Conditional imports for pylons / py2 only stuff

The webhelpers ones should be removed once #4794 is done


  Commit: 4bd483bc9880d1a12a27d99a71e5ffed92eec180
      https://github.com/ckan/ckan/commit/4bd483bc9880d1a12a27d99a71e5ffed92eec180
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M ckan/tests/controllers/test_api.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/test_cli.py
    M ckan/tests/logic/action/test_create.py
    M ckan/tests/logic/action/test_update.py
    M ckanext/datastore/backend/postgres.py

  Log Message:
  -----------
  [#4801] StringIO is no longer a module on py3


  Commit: 52e6f5e0bc6e0a8b97f3989f4adc5962090d6ac7
      https://github.com/ckan/ckan/commit/52e6f5e0bc6e0a8b97f3989f4adc5962090d6ac7
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  [#4801] Add beaker as requirement (previously came via Pylons)


  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.


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

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/plugins/toolkit.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/logic/action/test_update.py
    M ckan/tests/test_coding_standards.py

  Log Message:
  -----------
  pep8 et al


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

  Changed paths:
    M ckanext/datastore/commands.py

  Log Message:
  -----------
  Fix wrong import from 465400


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

  Changed paths:
    M ckan/authz.py
    M ckan/cli/translation.py
    M ckan/config/middleware/__init__.py
    M ckan/config/middleware/flask_app.py
    M ckan/controllers/package.py
    M ckan/i18n/check_po_files.py
    M ckan/lib/base.py
    M ckan/lib/dictization/__init__.py
    M ckan/lib/dictization/model_dictize.py
    M ckan/lib/dictization/model_save.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/lib/lazyjson.py
    M ckan/lib/navl/dictization_functions.py
    M ckan/lib/navl/validators.py
    M ckan/lib/search/index.py
    M ckan/logic/__init__.py
    M ckan/logic/action/__init__.py
    M ckan/logic/action/update.py
    M ckan/logic/converters.py
    M ckan/migration/revision_legacy_code.py
    M ckan/tests/controllers/test_template.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/test_common.py
    M ckan/views/api.py
    M ckan/views/dataset.py
    M ckan/views/feed.py
    M ckan/views/group.py
    M ckan/views/resource.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/multilingual/plugin.py
    M ckanext/reclineview/plugin.py
    M ckanext/textview/plugin.py

  Log Message:
  -----------
  [#4801] Replace usage of iteritems() with six.iteritems()


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

  Changed paths:

  Log Message:
  -----------
  Merge branch 'master' into py3-general-support


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

  Changed paths:
    M ckan/tests/config/test_middleware.py

  Log Message:
  -----------
  [#4801] Update test to use Flask exception


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

  Changed paths:
    M ckan/config/middleware/__init__.py
    M ckan/lib/base.py
    M ckan/lib/i18n.py
    M ckan/lib/search/index.py
    M ckan/tests/legacy/test_coding_standards.py

  Log Message:
  -----------
  Merge branch 'py3-iteritems' into py3-general-support


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

  Changed paths:

  Log Message:
  -----------
  Merge branch 'master' into py3-general-support


  Commit: 8500baea2867dcad771617ac84764d0ac990d9b7
      https://github.com/ckan/ckan/commit/8500baea2867dcad771617ac84764d0ac990d9b7
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/logic/__init__.py

  Log Message:
  -----------
  [#4801] Catch exception outside request context


  Commit: 9dff2edc47facd39808bb897fe9fda300c74418a
      https://github.com/ckan/ckan/commit/9dff2edc47facd39808bb897fe9fda300c74418a
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M ckan/lib/fanstatic_resources.py
    M scripts/4042_fix_resource_extras.py

  Log Message:
  -----------
  [#4801] Rename configparser module


  Commit: 313f6515b2f704312126d9868afb63b54b9c0890
      https://github.com/ckan/ckan/commit/313f6515b2f704312126d9868afb63b54b9c0890
  Author: amercader <amercadero at gmail.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  [#4801] Upgrade fanstatic on to a py3 compatible version (only in py3)


  Commit: 35298a2685075e99455ecfaeaf80c00c49c010a1
      https://github.com/ckan/ckan/commit/35298a2685075e99455ecfaeaf80c00c49c010a1
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M ckan/cli/cli.py
    A ckan/cli/sysadmin.py
    A ckan/cli/user.py
    M ckan/controllers/error.py
    M ckan/lib/base.py
    M ckan/lib/helpers.py
    A ckan/lib/pagination.py
    M ckan/plugins/toolkit.py
    M ckan/public/base/less/dataset.less
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/functional/api/test_package_search.py
    M ckan/tests/legacy/lib/test_helpers.py
    M ckan/tests/lib/test_helpers.py
    M ckan/views/feed.py
    M doc/maintaining/getting-started.rst
    M requirements-py2.in
    M requirements-py2.txt
    M requirements.in
    M requirements.txt

  Log Message:
  -----------
  Merge branch 'master' into py3-general-support


  Commit: c1bfc70fb371190ea8c591992f92d96c761130f2
      https://github.com/ckan/ckan/commit/c1bfc70fb371190ea8c591992f92d96c761130f2
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M ckan/lib/fanstatic_resources.py
    M scripts/4042_fix_resource_extras.py

  Log Message:
  -----------
  [#4801] Fix configparser imports


  Commit: 6e456b264e95867740fb97452eb6348c9ff8be39
      https://github.com/ckan/ckan/commit/6e456b264e95867740fb97452eb6348c9ff8be39
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  Fix bad merge


  Commit: 733787ca0d63e22501ffe9f0f02e8d1fc37eb015
      https://github.com/ckan/ckan/commit/733787ca0d63e22501ffe9f0f02e8d1fc37eb015
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    R ckan/tests/migration/__init__.py
    R ckan/tests/migration/revision_legacy_code_tests.py

  Log Message:
  -----------
  [#4801] Remove test file added by mistake


  Commit: 8d09297e4f8bfa841ae18af817b037ff979d98d2
      https://github.com/ckan/ckan/commit/8d09297e4f8bfa841ae18af817b037ff979d98d2
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M doc/contributing/testing.rst

  Log Message:
  -----------
  Fix sphinx warning


  Commit: fde7aee8ad69ef0706cf854d523b1f7eaab8ada7
      https://github.com/ckan/ckan/commit/fde7aee8ad69ef0706cf854d523b1f7eaab8ada7
  Author: amercader <amercadero at gmail.com>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/test_coding_standards.py

  Log Message:
  -----------
  Remove files from coding standards tests


  Commit: 8c40f3908369d340e57689268ba811616021cbc3
      https://github.com/ckan/ckan/commit/8c40f3908369d340e57689268ba811616021cbc3
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M ckan/cli/datastore.py
    M ckan/common.py
    M ckan/config/environment.py
    M ckan/config/middleware/__init__.py
    M ckan/lib/base.py
    M ckan/lib/cli.py
    M ckan/lib/fanstatic_resources.py
    M ckan/lib/helpers.py
    M ckan/lib/i18n.py
    M ckan/lib/mailer.py
    M ckan/lib/search/index.py
    M ckan/logic/__init__.py
    M ckan/model/__init__.py
    M ckan/plugins/toolkit.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/controllers/test_api.py
    M ckan/tests/legacy/functional/api/base.py
    M ckan/tests/legacy/test_coding_standards.py
    M ckan/tests/lib/test_cli.py
    M ckan/tests/logic/action/test_create.py
    M ckan/tests/logic/action/test_update.py
    R ckan/tests/migration/__init__.py
    M ckanext/datastore/backend/postgres.py
    M ckanext/datastore/blueprint.py
    M ckanext/datastore/commands.py
    M ckanext/datastore/tests/helpers.py
    M doc/contributing/testing.rst
    M requirements.in
    M requirements.txt
    M scripts/4042_fix_resource_extras.py

  Log Message:
  -----------
  Merge pull request #5096 from ckan/py3-general-support

PY3 general support - Part 1


Compare: https://github.com/ckan/ckan/compare/360e32a04387...8c40f3908369


More information about the ckan-changes mailing list