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

Can't run python scripts/eachdist.py develop #444

Closed
dlopes7 opened this issue Apr 14, 2021 · 6 comments
Closed

Can't run python scripts/eachdist.py develop #444

dlopes7 opened this issue Apr 14, 2021 · 6 comments
Labels
bug Something isn't working triaged

Comments

@dlopes7
Copy link

dlopes7 commented Apr 14, 2021

When I try running python scripts/eachdist.py develop

It fails with:

ERROR: Could not find a version that satisfies the requirement opentelemetry-api==1.0.1.dev0 (from opentelemetry-exporter-datadog[test])
ERROR: No matching distribution found for opentelemetry-api==1.0.1.dev0

Steps to reproduce

  • git clone [email protected]:open-telemetry/opentelemetry-python-contrib.git
  • cd opentelemetry-python-contrib.git
  • git clone [email protected]:open-telemetry/opentelemetry-python.git opentelemetry-python-core
  • python scripts/eachdist.py develop

What is the expected behavior?

The script runs without errors

What is the actual behavior?

The script exits with error code 1, because of:

ERROR: Could not find a version that satisfies the requirement opentelemetry-api==1.0.1.dev0 (from opentelemetry-exporter-datadog[test])
ERROR: No matching distribution found for opentelemetry-api==1.0.1.dev0
'python -m pip install -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/util/opentelemetry-util-http[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-wsgi[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-dbapi[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-asgi[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-botocore[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-aiohttp-client[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-flask[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-starlette[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-elasticsearch[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-logging[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-pymysql[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-sklearn[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-sqlite3[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-urllib3[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-celery[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-mysql[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-django[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-fastapi[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-jinja2[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-falcon[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-redis[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-boto[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-urllib[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-psycopg2[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-grpc[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-pymemcache[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-aiopg[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-pymongo[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-sqlalchemy[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-tornado[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-requests[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-asyncpg[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-pyramid[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/exporter/opentelemetry-exporter-datadog[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/propagator/opentelemetry-propagator-ot-trace[test]' -e 'file:///home/david/projects/python/personal/opentelemetry-python-contrib/sdk-extension/opentelemetry-sdk-extension-aws[test]' --upgrade-strategy=eager' failed with code 1
@dlopes7 dlopes7 added the bug Something isn't working label Apr 14, 2021
@dlopes7
Copy link
Author

dlopes7 commented Apr 15, 2021

I had to install several dependencies to get the command to work, did I miss a step somewhere?

pip install -e opentelemetry-python-core/opentelemetry-sdk
pip install -e opentelemetry-python-core/opentelemetry-instrumentation
pip install -e opentelemetry-python-core/opentelemetry-instrumentation-dbapi
pip install -e opentelemetry-python-core/tests/util
pip install -e instrumentation/opentelemetry-instrumentation-botocore
pip install -e instrumentation/opentelemetry-instrumentation-wsgi
pip install -e util/opentelemetry-util-http

@lzchen
Copy link
Contributor

lzchen commented Apr 16, 2021

@codeboten
I believe we should instruct users to follow CONTRIBUTING.md for the core repo first before the one for contrib.

@github-actions
Copy link

This issue was marked stale due to lack of activity. It will be closed in 30 days.

@adriangb
Copy link
Contributor

adriangb commented Aug 2, 2021

I think this should be addressed. Even reading both README.mds, I haven't been able to get things up and running.

@adilhusain-s
Copy link

observe the same behavior at my end.
please address this this issue.

using:
./script/build.sh #to build the pkg
tox -f py39 # to run the tests

@ocelotl
Copy link
Contributor

ocelotl commented Jul 15, 2022

Please don't use the eachdist script, we even removed it from our documentation. Just use tox.

@ocelotl ocelotl closed this as completed Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged
Projects
None yet
Development

No branches or pull requests

6 participants