)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":308,"name":"Thierry Carrez","email":"thierry@openstack.org","username":"ttx"},"change_message_id":"000976206111186297f443663bceeaf88f8f728b","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"62422107_233498b0","updated":"2026-11-19 11:10:22.000000000","message":"A good time to merge this.","commit_id":"41820d8b565a4bee08581c1066201ff2b88c3331"},{"author":{"_account_id":17685,"name":"Elod Illes","email":"elod.illes@est.tech","username":"elod.illes"},"change_message_id":"53a80852ce3e8971d778eb7c70b5cfb492bbcc1d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"3c7dc29f_b0d41108","updated":"2026-11-19 10:01:16.000000000","message":"it makes sense to take this step, as this is needed sooner or later. i don\u0027t feel the need to add type annotations to python source, but it\u0027s really kind of a religion war, who prefers what. I don\u0027t have that strong opinion here to object, so meh.\nOtherwise the code looks sane, tests are passing and look fine.","commit_id":"41820d8b565a4bee08581c1066201ff2b88c3331"}],"openstack_releases/pythonutils.py":[{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"8361c2c67726a072c387598f42a8c0050fa079c2","unresolved":true,"context_lines":[{"line_number":34,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def get_sdist_name(workdir: str, repo: str) -\u003e str | None:"},{"line_number":38,"context_line":"    \"\"\"Find the name of the sdist.\"\"\""},{"line_number":39,"context_line":"    dest \u003d os.path.join(workdir, repo)"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9a6d2feb_63d2cf34","line":37,"updated":"2026-11-15 07:01:03.000000000","message":"what\u0027s the use of these typing annotations? IMHO it doesn\u0027t make sense to add them as a driveby just for some functions","commit_id":"fa1e69570ab200b3b95deb1e83cbe2da9054f04d"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"58807094b30f4033462d6dfb53f42528d85bb123","unresolved":false,"context_lines":[{"line_number":34,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"def get_sdist_name(workdir: str, repo: str) -\u003e str | None:"},{"line_number":38,"context_line":"    \"\"\"Find the name of the sdist.\"\"\""},{"line_number":39,"context_line":"    dest \u003d os.path.join(workdir, repo)"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"8e913864_fde5897f","line":37,"in_reply_to":"9a6d2feb_63d2cf34","updated":"2026-11-16 12:40:19.000000000","message":"I had to figure out what I was supposed to return from here. Once I\u0027d that work done, I figured it made sense to add the annotation 🤷","commit_id":"fa1e69570ab200b3b95deb1e83cbe2da9054f04d"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"8361c2c67726a072c387598f42a8c0050fa079c2","unresolved":true,"context_lines":[{"line_number":50,"context_line":"    # ...with a setup.cfg fallback. We ignore setup.py since this should never"},{"line_number":51,"context_line":"    # have a name attribute set if using pbr"},{"line_number":52,"context_line":"    setupcfg_path \u003d os.path.join(dest, \u0027setup.cfg\u0027)"},{"line_number":53,"context_line":"    if os.path.exists(pyproject_path):"},{"line_number":54,"context_line":"        config \u003d configparser.ConfigParser(interpolation\u003dNone)"},{"line_number":55,"context_line":"        config.read(setupcfg_path, encoding\u003d\u0027utf-8\u0027)"},{"line_number":56,"context_line":"        name \u003d config.get(\u0027metadata\u0027, \u0027name\u0027, fallback\u003dNone)"}],"source_content_type":"text/x-python","patch_set":3,"id":"34edbce5_1e153400","line":53,"updated":"2026-11-15 07:01:03.000000000","message":"shouldn\u0027t this check setupcfg_path? this also makes me wonder whether we need better testing, if unittests didn\u0027t catch such an issue. likely we could do with a second release-test project, that uses only pyproject.toml, too?","commit_id":"fa1e69570ab200b3b95deb1e83cbe2da9054f04d"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"58807094b30f4033462d6dfb53f42528d85bb123","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    # ...with a setup.cfg fallback. We ignore setup.py since this should never"},{"line_number":51,"context_line":"    # have a name attribute set if using pbr"},{"line_number":52,"context_line":"    setupcfg_path \u003d os.path.join(dest, \u0027setup.cfg\u0027)"},{"line_number":53,"context_line":"    if os.path.exists(pyproject_path):"},{"line_number":54,"context_line":"        config \u003d configparser.ConfigParser(interpolation\u003dNone)"},{"line_number":55,"context_line":"        config.read(setupcfg_path, encoding\u003d\u0027utf-8\u0027)"},{"line_number":56,"context_line":"        name \u003d config.get(\u0027metadata\u0027, \u0027name\u0027, fallback\u003dNone)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1d7af6b1_fbf5dc51","line":53,"in_reply_to":"34edbce5_1e153400","updated":"2026-11-16 12:40:19.000000000","message":"It should, yes 🤦 There were no tests for this previously. I\u0027ve added them now.","commit_id":"fa1e69570ab200b3b95deb1e83cbe2da9054f04d"},{"author":{"_account_id":13252,"name":"Dr. Jens Harbott","display_name":"Jens Harbott (frickler)","email":"frickler@offenerstapel.de","username":"jrosenboom"},"change_message_id":"8361c2c67726a072c387598f42a8c0050fa079c2","unresolved":true,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    if not any("},{"line_number":76,"context_line":"        os.path.exists(os.path.join(dest, filename))"},{"line_number":77,"context_line":"        for filename in (\u0027pyproject.toml\u0027, \u0027setup.cfg\u0027, \u0027setup.py\u0027)"},{"line_number":78,"context_line":"    ):"},{"line_number":79,"context_line":"        LOG.debug("},{"line_number":80,"context_line":"            \u0027did not find pyproject.toml or setup.py, maybe %s is not \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff63b3f0_53bd0455","line":77,"updated":"2026-11-15 07:01:03.000000000","message":"why do you still check for setup.py here?","commit_id":"fa1e69570ab200b3b95deb1e83cbe2da9054f04d"},{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"58807094b30f4033462d6dfb53f42528d85bb123","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    if not any("},{"line_number":76,"context_line":"        os.path.exists(os.path.join(dest, filename))"},{"line_number":77,"context_line":"        for filename in (\u0027pyproject.toml\u0027, \u0027setup.cfg\u0027, \u0027setup.py\u0027)"},{"line_number":78,"context_line":"    ):"},{"line_number":79,"context_line":"        LOG.debug("},{"line_number":80,"context_line":"            \u0027did not find pyproject.toml or setup.py, maybe %s is not \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"8d18c519_16fb955a","line":77,"in_reply_to":"ff63b3f0_53bd0455","updated":"2026-11-16 12:40:19.000000000","message":"This got caught between two stools, so to speak. I had initially planned to keep `setup.py` support but later decided to remove it on the basis that no one should be using it in openstack (`setup.cfg` has long been documented as a preference, even before `setup.py` was deprecated). This didn\u0027t get cleaned up after I changed my mind. I\u0027ve dropped it now though.","commit_id":"fa1e69570ab200b3b95deb1e83cbe2da9054f04d"}]}
