File tree Expand file tree Collapse file tree 7 files changed +12
-24
lines changed
exporter/exporter-credential-providers/gcp-credential-provider
src/opentelemetry/credential_provider Expand file tree Collapse file tree 7 files changed +12
-24
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ sortfirst=
1313 instrumentation/opentelemetry-instrumentation-botocore
1414 instrumentation/*
1515 exporter/*
16+ exporter/exporter-credential-providers/*
1617 ext/*
1718
1819[stable]
@@ -32,6 +33,7 @@ packages=
3233 opentelemetry-exporter-jaeger-proto-grpc
3334 opentelemetry-exporter-jaeger
3435 opentelemetry-api
36+ opentelemetry-exporter-credential-provider-gcp
3537
3638[prerelease]
3739version =0.59b0.dev
@@ -57,7 +59,6 @@ packages=
5759 opentelemetry-instrumentation-langchain
5860 opentelemetry-instrumentation-weaviate
5961 opentelemetry-util-genai
60- opentelemetry-exporter-credential-provider-gcp
6162
6263[lintroots]
6364extraroots =examples/*,scripts/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- __version__ = "0.1b0 .dev"
15+ __version__ = "0.59b0 .dev"
Original file line number Diff line number Diff line change 1- pytest==7.4.4
1+ pytest==7.4.4
2+ opentelemetry-exporter-otlp-proto-http==1.37
3+ opentelemetry-exporter-otlp-proto-common==1.37
4+ opentelemetry-proto==1.37
Original file line number Diff line number Diff line change 1717
1818from google .auth .transport .requests import AuthorizedSession
1919
20- from opentelemetry .exporter .otlp .proto .grpc .trace_exporter import (
21- OTLPSpanExporter as GRPCOTLPSpanExporter ,
22- )
2320from opentelemetry .exporter .otlp .proto .http .trace_exporter import (
2421 OTLPSpanExporter ,
2522)
@@ -43,6 +40,3 @@ def test_loads_otlp_exporters_with_google_creds(self): # pylint: disable=no-sel
4340
4441 http_exporter = OTLPSpanExporter ()
4542 assert isinstance (http_exporter ._session , AuthorizedSession )
46- # TODO: figure out how to assert something about the credentials that this thing initializes..
47- grpc_exporter = GRPCOTLPSpanExporter ()
48- print (dir (grpc_exporter ))
Original file line number Diff line number Diff line change 66set -ev
77
88# Get the latest versions of packaging tools
9+ python3 -m pip install --upgrade pip build setuptools wheel
910
1011BASEDIR=$( dirname " $( readlink -f " $( dirname $0 ) " ) " )
1112DISTDIR=dist
@@ -15,10 +16,13 @@ DISTDIR=dist
1516 mkdir -p $DISTDIR
1617 rm -rf ${DISTDIR:? } /*
1718
18- for d in exporter/* / opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/* / processor/* / propagator/* / resource/* / sdk-extension/* / util/* / ; do
19+ for d in exporter/* / exporter/exporter-credential-providers/ * / opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/* / processor/* / propagator/* / resource/* / sdk-extension/* / util/* / ; do
1920 (
2021 echo " building $d "
2122 cd " $d "
23+ if [ -f pyproject.toml ]; then
24+ python3 -m build --outdir " $BASEDIR /dist/"
25+ fi
2226 # Some ext directories (such as docker tests) are not intended to be
2327 # packaged. Verify the intent by looking for a pyproject.toml.
2428 )
Original file line number Diff line number Diff line change @@ -443,10 +443,6 @@ test_deps =
443443 opentelemetry-semantic-conventions@{env:CORE_REPO}\# egg=opentelemetry-semantic-conventions&subdirectory=opentelemetry-semantic-conventions
444444 opentelemetry-sdk@{env:CORE_REPO}\# egg=opentelemetry-sdk&subdirectory=opentelemetry-sdk
445445 opentelemetry-test-utils@{env:CORE_REPO}\# egg=opentelemetry-test-utils&subdirectory=tests/opentelemetry-test-utils
446- opentelemetry-exporter-otlp-proto-grpc@{env:CORE_REPO}\# egg=opentelemetry-exporter-otlp-proto-grpc&subdirectory=exporter/opentelemetry-exporter-otlp-proto-grpc
447- opentelemetry-exporter-otlp-proto-http@{env:CORE_REPO}\# egg=opentelemetry-exporter-otlp-proto-http&subdirectory=exporter/opentelemetry-exporter-otlp-proto-http
448- opentelemetry-exporter-otlp-proto-common@{env:CORE_REPO}\# egg=opentelemetry-exporter-otlp-proto-common&subdirectory=exporter/opentelemetry-exporter-otlp-proto-common
449- opentelemetry-proto@{env:CORE_REPO}\# egg=opentelemetry-proto&subdirectory=opentelemetry-proto
450446deps =
451447 lint: -r dev-requirements.txt
452448 coverage: pytest
@@ -729,7 +725,6 @@ deps =
729725 util-http: -r {toxinidir}/util/opentelemetry-util-http/test-requirements.txt
730726 util-http: {toxinidir}/util/opentelemetry-util-http
731727
732- exporter-credential-provider-gcp: {[testenv]test_deps}
733728 exporter-credential-provider-gcp: -r {toxinidir}/exporter/exporter-credential-providers/gcp-credential-provider/test-requirements.txt
734729 exporter-credential-provider-gcp: {toxinidir}/exporter/exporter-credential-providers/gcp-credential-provider
735730
You can’t perform that action at this time.
0 commit comments