)]}'
{"id":"openstack%2Fswift~732955","triplet_id":"openstack%2Fswift~master~I238de403288a813ca55346e220464c100d7c51a0","project":"openstack/swift","branch":"master","topic":"drop_future_imports","hashtags":[],"change_id":"I238de403288a813ca55346e220464c100d7c51a0","subject":"Stop to use the __future__ module.","status":"NEW","created":"2020-06-02 18:59:52.000000000","updated":"2020-06-03 08:39:35.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":false,"submittable":false,"total_comment_count":9,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f08b2c0ebe9c80a4c6854b23bfb2fb7143622998","_number":732955,"virtual_id_number":732955,"owner":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},{"tag":"autogenerated:zuul:check","value":-1,"date":"2020-06-02 20:05:03.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":-1,"default_value":0,"optional":true},"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"rejected":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"all":[{"value":-1,"date":"2020-06-03 08:39:35.000000000","permitted_voting_range":{"min":-1,"max":0},"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2020-06-02 20:05:03.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"07be0b458b3504211bccb57986bbf2a52e166ef2","author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"date":"2020-06-02 18:59:52.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"bc2a2f9c8835284a265e561fbc45a60ac517b445","author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"date":"2020-06-02 19:08:30.000000000","message":"Patch Set 1:\n\nApparently swift still support py27 [1] but I waiting for confirmation before abandon these changes because maybe some part of these changes could be isolated.\n\n[1] https://github.com/openstack/swift/blob/master/setup.cfg#L17,L18","accounts_in_message":[],"_revision_number":1},{"id":"12ac551eedbd6f8319b42ae0d01d980607f9fbfb","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2020-06-02 20:05:03.000000000","message":"Patch Set 1: Verified-1\n\n(9 comments)\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/09c330af516f43ab960985ba1c6dc4b8 : SUCCESS in 13m 37s\n- grenade https://zuul.opendev.org/t/openstack/build/7377ddc90f9b4e478efda57d28e139bf : SUCCESS in 55m 53s\n- tempest-integrated-object-storage https://zuul.opendev.org/t/openstack/build/46ddc20993e04b4083207281d2f7cc1c : FAILURE in 1h 02m 36s\n- swift-build-image https://zuul.opendev.org/t/openstack/build/cce21f50a9fe423fb376232a01150438 : SUCCESS in 12m 04s (non-voting)\n- swift-build-image-py3 https://zuul.opendev.org/t/openstack/build/9be9d732b2f047e9a673b737b157dd51 : SUCCESS in 10m 29s (non-voting)\n- swift-tox-py27 https://zuul.opendev.org/t/openstack/build/213fa1c4483649d1810957cc5460d937 : FAILURE in 7m 12s\n- swift-tox-py36 https://zuul.opendev.org/t/openstack/build/52232a9934ef487a8c53829dbcd1667d : SUCCESS in 21m 24s\n- swift-tox-py37 https://zuul.opendev.org/t/openstack/build/9a2f8cdfd9504086acd48b0db8859ae0 : SUCCESS in 19m 34s\n- swift-tox-py38 https://zuul.opendev.org/t/openstack/build/42155052295c403582a81b9399071af1 : SUCCESS in 19m 02s\n- swift-tox-func-py27 https://zuul.opendev.org/t/openstack/build/284e9571c06944b1975610db7b4a8b30 : FAILURE in 6m 45s\n- swift-tox-func-encryption-py27 https://zuul.opendev.org/t/openstack/build/1fe531c598b340c08a460c1ae48e33e4 : FAILURE in 6m 25s\n- swift-tox-func-domain-remap-staticweb-py27 https://zuul.opendev.org/t/openstack/build/55375a015aa441f097c70413551accca : FAILURE in 8m 25s\n- swift-tox-func-ec-py27 https://zuul.opendev.org/t/openstack/build/e30d664bf71c43519c884bdd5da3438c : FAILURE in 7m 13s\n- swift-tox-func-s3api-py27 https://zuul.opendev.org/t/openstack/build/d3bc6e1aa2b24aae8c57875452de3285 : FAILURE in 7m 10s\n- swift-tox-func-py37 https://zuul.opendev.org/t/openstack/build/79336854ad65428180da156cf40e06d9 : SUCCESS in 12m 01s\n- swift-tox-func-encryption-py37 https://zuul.opendev.org/t/openstack/build/f8482418c6ae44f7a3c2dbf917e046a6 : SUCCESS in 16m 28s\n- swift-tox-func-domain-remap-staticweb-py37 https://zuul.opendev.org/t/openstack/build/ba929ad1f1354115be9a8db6b0749df4 : SUCCESS in 16m 07s\n- swift-tox-func-ec-py37 https://zuul.opendev.org/t/openstack/build/bea4999bf5164e598a27f9947273ec6e : SUCCESS in 21m 53s\n- swift-tox-func-s3api-py37 https://zuul.opendev.org/t/openstack/build/68ee4f0215cc438db63bb470e013ac17 : SUCCESS in 19m 31s\n- swift-tox-func-s3api-ceph-s3tests-tempauth https://zuul.opendev.org/t/openstack/build/8347497bdc9344c3b626e76cf9213d4b : RETRY_LIMIT in 7m 20s (non-voting)\n- swift-probetests-centos-7 https://zuul.opendev.org/t/openstack/build/c013251e33834011bb569bab47da8536 : RETRY_LIMIT in 6m 20s\n- swift-dsvm-functional https://zuul.opendev.org/t/openstack/build/928f895e82eb4b82a3b02364cb83dfca : FAILURE in 19m 09s\n- swift-dsvm-functional-ipv6 https://zuul.opendev.org/t/openstack/build/f703356e9c7a4bdc8249a6b8e52e1daa : FAILURE in 29m 15s\n- swift-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/fbd8441f266649ffa20a80d2b4c4f727 : FAILURE in 10m 19s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/38fdaf5bf49342f8beb2bb65b6d51b25 : FAILURE in 7m 27s\n- swift-multinode-rolling-upgrade https://zuul.opendev.org/t/openstack/build/d9339661bdae4b03a866a2874fc815c7 : FAILURE in 12m 43s (non-voting)\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/02da313135954200b39b61d74c848582 : SUCCESS in 1h 00m 19s","accounts_in_message":[],"_revision_number":1},{"id":"4533119f20f90557591e7122283062f2f17ae8d8","author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"date":"2020-06-03 08:39:35.000000000","message":"Patch Set 1: Workflow-1\n\nStill support py27","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"1228097a840f24ba4b9387608b32d63868f0f1b8","revisions":{"1228097a840f24ba4b9387608b32d63868f0f1b8":{"kind":"REWORK","_number":1,"created":"2020-06-02 18:59:52.000000000","uploader":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"ref":"refs/changes/55/732955/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/swift","ref":"refs/changes/55/732955/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/swift refs/changes/55/732955/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/swift refs/changes/55/732955/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/swift refs/changes/55/732955/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/swift refs/changes/55/732955/1"}}},"commit":{"parents":[{"commit":"6c1bc3949d74477706bc2258a45a603d3bfc236c","subject":"Merge \"ratelimit: Allow multiple placements\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/swift/commit/6c1bc3949d74477706bc2258a45a603d3bfc236c"}]}],"author":{"name":"Hervé Beraud","email":"hberaud@redhat.com","date":"2020-06-02 18:59:42.000000000","tz":120},"committer":{"name":"Hervé Beraud","email":"hberaud@redhat.com","date":"2020-06-02 18:59:42.000000000","tz":120},"subject":"Stop to use the __future__ module.","message":"Stop to use the __future__ module.\n\nThe __future__ module [1] was used in this context to ensure compatibility\nbetween python 2 and python 3.\n\nWe previously dropped the support of python 2.7 [2] and now we only support\npython 3 so we don\u0027t need to continue to use this module and the imports\nlisted below.\n\nImports commonly used and their related PEPs:\n- `division` is related to PEP 238 [3]\n- `print_function` is related to PEP 3105 [4]\n- `unicode_literals` is related to PEP 3112 [5]\n- `with_statement` is related to PEP 343 [6]\n- `absolute_import` is related to PEP 328 [7]\n\n[1] https://docs.python.org/3/library/__future__.html\n[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html\n[3] https://www.python.org/dev/peps/pep-0238\n[4] https://www.python.org/dev/peps/pep-3105\n[5] https://www.python.org/dev/peps/pep-3112\n[6] https://www.python.org/dev/peps/pep-0343\n[7] https://www.python.org/dev/peps/pep-0328\n\nChange-Id: I238de403288a813ca55346e220464c100d7c51a0\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/swift/commit/1228097a840f24ba4b9387608b32d63868f0f1b8"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/swift/commit/1228097a840f24ba4b9387608b32d63868f0f1b8"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"OK","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY"},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"}}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":["label:Workflow\u003dMIN"],"failing_atoms":["label:Workflow\u003dMAX"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
