Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
py:
- { version: "3.7", tox: "37" }
- { version: "3.8", tox: "38" }
- { version: "3.9", tox: "39" }
- { version: "3.10", tox: "310" }
Expand Down
3 changes: 1 addition & 2 deletions opentelemetry-exporter-gcp-logging/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12

[options]
python_requires = >=3.7
python_requires = >=3.8
package_dir=
=src
packages=find_namespace:
Expand Down
3 changes: 1 addition & 2 deletions opentelemetry-exporter-gcp-monitoring/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -23,7 +22,7 @@ classifiers =
Programming Language :: Python :: 3.13

[options]
python_requires = >=3.7
python_requires = >=3.8
package_dir=
=src
packages=find_namespace:
Expand Down
2 changes: 0 additions & 2 deletions opentelemetry-exporter-gcp-trace/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -23,7 +22,6 @@ classifiers =
Programming Language :: Python :: 3.13

[options]
python_requires = >=3.7
package_dir=
=src
packages=find_namespace:
Expand Down
3 changes: 1 addition & 2 deletions opentelemetry-propagator-gcp/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -23,7 +22,7 @@ classifiers =
Programming Language :: Python :: 3.13

[options]
python_requires = >=3.7
python_requires = >=3.8
package_dir=
=src
packages=find_namespace:
Expand Down
3 changes: 1 addition & 2 deletions opentelemetry-resourcedetector-gcp/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers =
License :: OSI Approved :: Apache Software License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -23,7 +22,7 @@ classifiers =
Programming Language :: Python :: 3.13

[options]
python_requires = >=3.7
python_requires = >=3.8
package_dir=
=src
packages=find_namespace:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@

import os
from dataclasses import dataclass
from typing import Literal

from opentelemetry.resourcedetector.gcp_resource_detector import (
_gce,
_metadata,
)

# TODO: remove when Python 3.7 is dropped
from typing_extensions import Literal

KUBERNETES_SERVICE_HOST_ENV = "KUBERNETES_SERVICE_HOST"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@

import logging
from functools import lru_cache
from typing import Union
from typing import TypedDict, Union

import requests

# TODO: remove when Python 3.7 is dropped
from typing_extensions import TypedDict

_GCP_METADATA_URL = "http://metadata.google.internal/computeMetadata/v1/"
_INSTANCE = "instance"
_RECURSIVE_PARAMS = {"recursive": "true"}
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires =
tox>=4
envlist =
; Add the `ci` factor to any env that should be running during CI.
py3{7,8,9,10,11,12,13}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector, cloudlogging}
py3{8,9,10,11,12,13}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector, cloudlogging}
{lint,mypy}-ci-{cloudtrace,cloudmonitoring,propagator,resourcedetector, cloudlogging}
docs-ci

Expand Down Expand Up @@ -60,7 +60,7 @@ setenv =
propagator: PACKAGE_NAME = opentelemetry-propagator-gcp
resourcedetector: PACKAGE_NAME = opentelemetry-resourcedetector-gcp

[testenv:py3{7,8,9,10,11,12,13}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector, cloudlogging}]
[testenv:py3{8,9,10,11,12,13}-ci-test-{cloudtrace,cloudmonitoring,propagator,resourcedetector, cloudlogging}]
deps =
; editable install the package itself
-e {toxinidir}/{env:PACKAGE_NAME}
Expand Down