-
Notifications
You must be signed in to change notification settings - Fork 698
PyPi sources are missing util directory reqiured for tests #2263
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
Comments
This package is not published to pypi and can be installed directly from https://github.com/open-telemetry/opentelemetry-python/tree/main/tests/util |
Yes, that's my point. It's currently not easily possible to package |
It should be possible to package it as this is not a runtime dependency but if the build needs to run the test suite before building the packages then it needs this dep which can be installed from git. This should be automatically handled if tox is used to run the tests. If that is not viable for some reason, running the following command before testing should do it:
|
If there are compelling enough reasons, we can publish the package to pypi. I don't think it should be a problem but so far we haven't seen any use cases where it'd make a significant difference. |
The build servers cannot download any code for security reasons. No Linux distribution that I know of allows code downloads during builds. |
That would be really appreciated. I have been spending a lot of time now getting all the individual |
@open-telemetry/python-maintainers I think we should publish the test utils package to pypi to make life easier for people re-packing Otel for different platforms. It can perpetually stay unstable (0.x) and we can document that it is meant for internal Otel use only. Any concerns? |
sounds good to me 👍 |
https://build.opensuse.org/request/show/1086592 by user dgarcia + dimstar_suse - Ignore some tests because there's no opentelemetry-test-util module gh#open-telemetry/opentelemetry-python#2263 - Update to 1.17.0: * Implement LowMemory temporality (#3223) * PeriodicExportingMetricReader will continue if collection times out (#3100) * Fix formatting of ConsoleMetricExporter. (#3197) * Fix use of built-in samplers in SDK configuration (#3176) * Implement shutdown procedure forOTLP grpc exporters (#3138) * Add exponential histogram (#2964) * Add OpenCensus trace bridge/shim (#3210) * A lot more changes in previous releases can be found at https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md#version-1170038b0-2023-03-22
I'm currently trying to upgrade the
opentelemtry-api
package in openSUSE from 1.1.0 to 1.6.2 using the sources from PyPi.Running the testsuite fails because the PyPy sources are missing some of the testsuite dependencies:
The text was updated successfully, but these errors were encountered: