aboutcode-org / aboutcode-org/python-inspector

Update test files to support Python 3.12

未关闭
#212 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
23
派生
28
PR 合并指标
30 天内没有已合并 PR

描述

SafeConfigParser is a deprecated API since 3.2 and removed in Python 3.12
https://docs.python.org/3/whatsnew/3.11.html#standard-library

pkg:pypi/limits@1.6 uses an outdated versioneer version that does not support this updated API https://github.com/python-versioneer/python-versioneer therefore some tests fail like `test_cli_with_insecure_option_testpkh` - this is more or less based on https://github.com/inveniosoftware/requirements-builder/blob/ec2e84b974290aaefa71b5ce19d0c343d29efffa/setup.py and support Python 2.7 build.

I suggest that we eventually update this test and drop support for Python 2.7 after making a release that will be the last to support Python 2.7.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。