File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ gen-basic:
6363.PHONY : install
6464install : gen-basic
6565 python3 -m pip install --upgrade pip
66- python3 -m pip install .[all]
66+ python3 -m pip install -e .[all]
6767
6868.PHONY : lint
6969# flake8 configurations should go to the file setup.cfg
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ sw-python = 'skywalking.bootstrap.cli.sw_python:start'
6969
7070
7171[tool .poetry .dependencies ]
72- python = " >=3.8, <3.12 "
72+ python = " >=3.8, <=3.13 "
7373grpcio = ' *'
7474grpcio-tools = ' *'
7575packaging = ' *'
Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ def install():
5656 logger .info ("plugin %s is disabled and thus won't be installed" , modname )
5757 continue
5858 logger .debug ('installing plugin %s' , modname )
59- plugin = importer .find_module (modname ).load_module (modname )
59+ if sys .version_info < (3 , 12 ):
60+ plugin = importer .find_module (modname ).load_module (modname )
61+ else :
62+ plugin = importlib .util .module_from_spec (importer .find_spec (modname ))
6063
6164 # todo: refactor the version checker, currently it doesn't really work as intended
6265 supported = pkg_version_check (plugin )
You can’t perform that action at this time.
0 commit comments