aboutcode-org / aboutcode-org/typecode
os.path.commonprefix() is deprecated
- 主要语言
- Python
- 星标
- 10
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
描述
Running code from this package on Python 3.15 raises deprecation warning:
```
/opt/hostedtoolcache/Python/3.15.0-rc.2/x64/lib/python3.15/site-packages/typecode/_vendor/pygments/regexopt.py:58: DeprecationWarning: os.path.commonprefix() is deprecated. Use os.path.commonpath() for longest path prefix.
prefix = commonprefix(strings)
/opt/hostedtoolcache/Python/3.15.0-rc.2/x64/lib/python3.15/site-packages/typecode/_vendor/pygments/regexopt.py:68: DeprecationWarning: os.path.commonprefix() is deprecated. Use os.path.commonpath() for longest path prefix.
suffix = commonprefix(strings_rev)
```
Upstream fix: https://github.com/pygments/pygments/pull/3040
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。