Skip to content

Commit 506bffb

Browse files
authored
Update distro dependencies + remove suppport for Python 3.7 (#34252)
1 parent a1a68cc commit 506bffb

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
- Update configure_azure_monitor signature and Django sample
1212
([#33834](https://github.com/Azure/azure-sdk-for-python/pull/33834))
13+
- Remove support for Python 3.7
14+
([#34252](https://github.com/Azure/azure-sdk-for-python/pull/34252))
1315

1416
## 1.2.0 (2024-01-18)
1517

sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_constants.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
from azure.monitor.opentelemetry.exporter._connection_string_parser import ( # pylint: disable=import-error,no-name-in-module
1414
ConnectionStringParser,
1515
)
16+
from azure.monitor.opentelemetry.exporter._constants import ( # pylint: disable=import-error,no-name-in-module
17+
_AZURE_MONITOR_DISTRO_VERSION_ARG,
18+
)
1619

1720
# --------------------Configuration------------------------------------------
1821

@@ -21,8 +24,7 @@
2124
DISABLE_LOGGING_ARG = "disable_logging"
2225
DISABLE_METRICS_ARG = "disable_metrics"
2326
DISABLE_TRACING_ARG = "disable_tracing"
24-
# TODO: Use constant in exporter once available
25-
DISTRO_VERSION_ARG = "distro_version"
27+
DISTRO_VERSION_ARG = _AZURE_MONITOR_DISTRO_VERSION_ARG
2628
LOGGER_NAME_ARG = "logger_name"
2729
INSTRUMENTATION_OPTIONS_ARG = "instrumentation_options"
2830
RESOURCE_ARG = "resource"

sdk/monitor/azure-monitor-opentelemetry/setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"Intended Audience :: Developers",
6464
"Programming Language :: Python",
6565
"Programming Language :: Python :: 3",
66-
"Programming Language :: Python :: 3.7",
6766
"Programming Language :: Python :: 3.8",
6867
"Programming Language :: Python :: 3.9",
6968
"Programming Language :: Python :: 3.10",
@@ -84,19 +83,19 @@
8483
package_data={
8584
"pytyped": ["py.typed"],
8685
},
87-
python_requires=">=3.7",
86+
python_requires=">=3.8",
8887
install_requires=[
8988
"azure-core<2.0.0,>=1.24.0",
9089
"azure-core-tracing-opentelemetry~=1.0.0b10",
91-
"azure-monitor-opentelemetry-exporter~=1.0.0b21",
90+
"azure-monitor-opentelemetry-exporter~=1.0.0b22",
9291
"opentelemetry-instrumentation-django~=0.42b0",
9392
"opentelemetry-instrumentation-fastapi~=0.42b0",
9493
"opentelemetry-instrumentation-flask~=0.42b0",
9594
"opentelemetry-instrumentation-psycopg2~=0.42b0",
9695
"opentelemetry-instrumentation-requests~=0.42b0",
9796
"opentelemetry-instrumentation-urllib~=0.42b0",
9897
"opentelemetry-instrumentation-urllib3~=0.42b0",
99-
"opentelemetry-resource-detector-azure~=0.1.1",
98+
"opentelemetry-resource-detector-azure~=0.1.2",
10099
],
101100
entry_points={
102101
"opentelemetry_distro": [

0 commit comments

Comments
 (0)