aboutcode-org / aboutcode-org/typecode

os.path.commonprefix() is deprecated

未关闭
#51 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

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