Closed
Description
After the last release, opentelemetry-bootstrap fails because it was not updated to check for the latest released version
opentelemetry-bootstrap -a install
ERROR: Could not find a version that satisfies the requirement opentelemetry-instrumentation-dbapi==0.23.dev0 (from versions: 0.12b0, 0.13b0, 0.14b0, 0.15b0, 0.16b0, 0.16b1, 0.17b0, 0.18b0, 0.18b1, 0.19b0, 0.20b0, 0.21b0, 0.22b0, 0.23b0)
ERROR: No matching distribution found for opentelemetry-instrumentation-dbapi==0.23.dev0
WARNING: You are using pip version 21.1.2; however, version 21.2.1 is available.
You should consider upgrading via the '/opt/homebrew/opt/[email protected]/bin/python3.9 -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "/opt/homebrew/lib/python3.9/site-packages/opentelemetry/instrumentation/bootstrap.py", line 37, in wrapper
return func(package)
File "/opt/homebrew/lib/python3.9/site-packages/opentelemetry/instrumentation/bootstrap.py", line 55, in _sys_pip_install
subprocess.check_call(
File "/opt/homebrew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/homebrew/opt/[email protected]/bin/python3.9', '-m', 'pip', 'install', '-U', '--upgrade-strategy', 'only-if-needed', 'opentelemetry-instrumentation-dbapi==0.23.dev0']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/bin/opentelemetry-bootstrap", line 8, in <module>
sys.exit(run())
File "/opt/homebrew/lib/python3.9/site-packages/opentelemetry/instrumentation/bootstrap.py", line 159, in run
cmd()
File "/opt/homebrew/lib/python3.9/site-packages/opentelemetry/instrumentation/bootstrap.py", line 127, in _run_install
_sys_pip_install(lib)
File "/opt/homebrew/lib/python3.9/site-packages/opentelemetry/instrumentation/bootstrap.py", line 47, in wrapper
raise RuntimeError(msg)
RuntimeError: Error calling system command "/opt/homebrew/opt/[email protected]/bin/python3.9 -m pip install -U --upgrade-strategy only-if-needed opentelemetry-instrumentation-dbapi==0.23.dev0" for package "opentelemetry-instrumentation-dbapi==0.23.dev0"