mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 13:43:03 +08:00
@ -11,6 +11,7 @@ from configparser import ConfigParser
|
||||
from datetime import datetime
|
||||
from inspect import cleandoc
|
||||
from itertools import chain
|
||||
from os.path import basename
|
||||
from pathlib import Path, PurePath
|
||||
|
||||
DEFAULT_ALLSEP = " "
|
||||
@ -631,9 +632,7 @@ def update_dependencies(targets, version, packages):
|
||||
if str(pkg) == "all":
|
||||
continue
|
||||
print(pkg)
|
||||
package_name = str(pkg).split("/", maxsplit=1)[-1]
|
||||
# Windows uses backslashes
|
||||
package_name = str(pkg).split("\\", maxsplit=1)[-1]
|
||||
package_name = basename(pkg)
|
||||
print(package_name)
|
||||
|
||||
update_files(
|
||||
|
Reference in New Issue
Block a user