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 還沒有評估資料。