aboutcode-org / aboutcode-org/typecode
os.path.commonprefix() is deprecated
- Ngôn ngữ chính
- Python
- Star
- 10
- Fork
- 15
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.