)]}'
{
  "commit": "ddb6179b0479ea9478cf2a146fe9b0d7592acaec",
  "tree": "a026986f2d74c08990cc6e5681cde42abe7319ea",
  "parents": [
    "2ba01316f37fb2c41b7dbab4a244d712ab6ed8e0"
  ],
  "author": {
    "name": "Matt Riedemann",
    "email": "mriedem.os@gmail.com",
    "time": "Tue Mar 19 15:04:12 2019 -0400"
  },
  "committer": {
    "name": "Matt Riedemann",
    "email": "mriedem.os@gmail.com",
    "time": "Tue Mar 19 15:04:12 2019 -0400"
  },
  "message": "Ease python 3 classifier check in check_python3_support_for_package_local\n\nThis makes the grep match in check_python3_support_for_package_local\nthe same as check_python3_support_for_package_remote.\n\nChange I0349de2026c49279ba7f262d5e86d37018d66326 in grenade started\nsetting the PYTHON3_VERSION variable, and then we recently started\nusing bionic nodes everywhere which means we\u0027re running python 3.6.\n\nThe etcd3gw package has a python 3 and 3.5 classifier, but not 3.6:\n\nhttps://pypi.org/project/etcd3gw/\n\nThe pip_install function code that is dealing with installing py3\npackages is hitting a problem installing etcd3gw if the package is\nlocal because of the more restrictive grep in the\ncheck_python3_support_for_package_local function, and since\nPYTHON3_VERSION\u003d3.6 now, we don\u0027t install from py3 and install\netcd3gw on python 2.7 which makes services like cinder-volume and\ncinder-backup, which use etcd3gw, fail when they are running under\npython 3 (they get module import errors).\n\nThis simply removes the $ restriction on the grep. Looking at the\nchange that added those local/remote functions:\n\n  I243ea4b76f0d5ef57a03b5b0798a05468ee6de9b\n\nThere is no explanation for the difference, it just said:\n\n  Also, since not many packages are classified correctly, fallback\n  to looking for just \"Programming Language :: Python :: 3\" and\n  log a message for the package to highlight the problem.\n\nSo that\u0027s what this change does.\n\nNote that alternatives would be:\n\n1. Update the etcd3gw package to add the 3.6 classifier and do\n   a release (this should probably happen anyway).\n\n2. Add etcd3gw to ENABLED_PYTHON3_PACKAGES but that would be a\n   short-term hack workaround.\n\nChange-Id: Icd3768870ba0f1659bb2e6f002043d975047b73e\nCloses-Bug: #1820892\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "419d5c570184e7c9338dafaf57398b2bb3c12ae2",
      "old_mode": 33188,
      "old_path": "inc/python",
      "new_id": "0926330fdf95152a73e592dd1d086abfaa044be8",
      "new_mode": 33188,
      "new_path": "inc/python"
    }
  ]
}
