aboutcode-org / aboutcode-org/typecode

os.path.commonprefix() is deprecated

Ouverte
#51 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
10
Forks
15
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.