Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelemetry-bootstrap fails #1988

Closed
codeboten opened this issue Jul 26, 2021 · 0 comments · Fixed by #1987
Closed

opentelemetry-bootstrap fails #1988

codeboten opened this issue Jul 26, 2021 · 0 comments · Fixed by #1987
Labels
bug Something isn't working

Comments

@codeboten
Copy link
Contributor

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"
@codeboten codeboten added the bug Something isn't working label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant