secureapp-python-agent 26.5.0rc6__tar.gz → 26.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/Makefile +5 -4
  2. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/PKG-INFO +4 -4
  3. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/README-Developers.md +2 -2
  4. secureapp_python_agent-26.6.0/o11y_test_application/otel-collector/start-splunk-otel-collector.sh +16 -0
  5. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/pyproject.toml +4 -4
  6. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/secureapp_python_agent.egg-info/PKG-INFO +4 -4
  7. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/secureapp_python_agent.egg-info/requires.txt +3 -3
  8. secureapp_python_agent-26.5.0rc6/o11y_test_application/otel-collector/start-splunk-otel-collector.sh +0 -16
  9. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/.editorconfig +0 -0
  10. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/.gitignore +0 -0
  11. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/.gitlab-ci.yml +0 -0
  12. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/.o11y-doctor.yaml +0 -0
  13. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/.service-manifests/python-agent-component.yaml +0 -0
  14. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/CODEOWNERS +0 -0
  15. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/LICENSE +0 -0
  16. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/README.md +0 -0
  17. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/buildAll.sh +0 -0
  18. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/buildO11y.sh +0 -0
  19. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/buildPublish.sh +0 -0
  20. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/benchmarks/__init__.py +0 -0
  21. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/benchmarks/benchmark_agent.py +0 -0
  22. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/benchmarks/benchmark_dependency_analyzer.py +0 -0
  23. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/benchmarks/benchmark_suite.py +0 -0
  24. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/benchmarks/conftest.py +0 -0
  25. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/compat_test_1.35.0.py +0 -0
  26. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/compat_test_1.39.0.py +0 -0
  27. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/data/golden-data.csv +0 -0
  28. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/debug/debug_analyzer.py +0 -0
  29. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/debug/utils.py +0 -0
  30. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/scripts/check_license.py +0 -0
  31. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/dev/scripts/update_deps.py +0 -0
  32. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/docker/Dockerfile.agentic-ai +0 -0
  33. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/docker/Dockerfile.manual +0 -0
  34. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/docker/Dockerfile.zero-code +0 -0
  35. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/docker-compose.yml +0 -0
  36. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/examples/README.md +0 -0
  37. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/examples/common_flask_utils.py +0 -0
  38. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/examples/manual_flask_app.py +0 -0
  39. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/examples/requirements.txt +0 -0
  40. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/examples/zero_code_agentic_ai_app.py +0 -0
  41. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/examples/zero_code_flask_app.py +0 -0
  42. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/o11y_test_application/otel-collector/splunk-otel-config.yaml +0 -0
  43. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/o11y_test_application/packages-with-cves.txt +0 -0
  44. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/o11y_test_application/runit.sh +0 -0
  45. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/o11y_test_application/test_application.py +0 -0
  46. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/otel-collector-config.yml +0 -0
  47. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/renovate.json +0 -0
  48. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/setup.cfg +0 -0
  49. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/sonar-project.properties +0 -0
  50. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/secureapp_python_agent.egg-info/SOURCES.txt +0 -0
  51. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/secureapp_python_agent.egg-info/dependency_links.txt +0 -0
  52. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/secureapp_python_agent.egg-info/entry_points.txt +0 -0
  53. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/secureapp_python_agent.egg-info/top_level.txt +0 -0
  54. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/splunk_secureapp_opentelemetry_extension/__init__.py +0 -0
  55. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/splunk_secureapp_opentelemetry_extension/agent.py +0 -0
  56. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/splunk_secureapp_opentelemetry_extension/dependency_analyzer.py +0 -0
  57. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/splunk_secureapp_opentelemetry_extension/environment_variables.py +0 -0
  58. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/splunk_secureapp_opentelemetry_extension/py.typed +0 -0
  59. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/src/splunk_secureapp_opentelemetry_extension/utils.py +0 -0
  60. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/tests/__init__.py +0 -0
  61. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/tests/test_agent.py +0 -0
  62. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/tests/test_dependency_analyzer.py +0 -0
  63. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/tests/test_environment_variables.py +0 -0
  64. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/tests/test_integration.py +0 -0
  65. {secureapp_python_agent-26.5.0rc6 → secureapp_python_agent-26.6.0}/tests/test_package_import.py +0 -0
@@ -4,6 +4,7 @@ VENV_NAME ?= venv
4
4
  VENV_DIR := $(VENV_NAME)
5
5
  PYTHON := $(VENV_DIR)/bin/python
6
6
  PIP := $(VENV_DIR)/bin/pip
7
+ TOX := $(VENV_DIR)/bin/tox
7
8
 
8
9
  # OpenTelemetry packages for version testing
9
10
  OTEL_PACKAGES := opentelemetry-api opentelemetry-sdk opentelemetry-exporter-otlp
@@ -74,7 +75,7 @@ help:
74
75
  @echo " • Before Committing: make all"
75
76
  @echo " • OpenTelemetry Changes: make test-otel-versions"
76
77
  @echo " • Python Version Testing: make tox (tests Python 3.10-3.14)"
77
- @echo " • Performance Validation: make benchmark or tox -e benchmark"
78
+ @echo " • Performance Validation: make benchmark or $(TOX) -e benchmark"
78
79
  @echo " • Environment Update: make venv-update → make validate-env"
79
80
  @echo ""
80
81
  @echo "📊 Requirements:"
@@ -109,7 +110,7 @@ quick-test:
109
110
  $(PYTHON) -m pytest tests -xvs --testmon --no-cov
110
111
 
111
112
  tox:
112
- tox
113
+ $(TOX)
113
114
 
114
115
  lint:
115
116
  $(PYTHON) -m ruff check src tests dev --fix
@@ -137,7 +138,7 @@ clean:
137
138
  rm -rf tests/htmlcov/ tests/coverage.xml tests/.coverage
138
139
  rm -rf dev/benchmarks/results/ dev/benchmarks/.pytest_cache/
139
140
  rm -f src/splunk_secureapp_opentelemetry_extension/_version.py
140
- rm -f o11y_test_application/otel-collector/otelcol_darwin_amd64
141
+ rm -f o11y_test_application/otel-collector/otelcol_darwin_arm64
141
142
  rm -f o11y_test_application/otel-collector/out.txt
142
143
  find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
143
144
  find . -type f -name "*.pyc" -delete 2>/dev/null || true
@@ -177,7 +178,7 @@ publish_testpypi:
177
178
  # Matrix testing across Python versions (for advanced CI)
178
179
  test-matrix:
179
180
  @echo "🔬 Running matrix tests..."
180
- tox -p auto
181
+ $(TOX) -p auto
181
182
 
182
183
  # Test with different OpenTelemetry versions
183
184
  test-otel-versions:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: secureapp-python-agent
3
- Version: 26.5.0rc6
3
+ Version: 26.6.0
4
4
  Summary: Splunk SecureApp OpenTelemetry Extension for Python applications
5
5
  Author-email: Splunk <support@splunk.com>
6
6
  License-Expression: LicenseRef-Proprietary
@@ -19,9 +19,9 @@ Classifier: Topic :: System :: Monitoring
19
19
  Requires-Python: >=3.10
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: opentelemetry-api<1.40,>=1.27.0
23
- Requires-Dist: opentelemetry-sdk<1.40,>=1.27.0
24
- Requires-Dist: opentelemetry-exporter-otlp<1.40,>=1.27.0
22
+ Requires-Dist: opentelemetry-api<=1.42.1,>=1.27.0
23
+ Requires-Dist: opentelemetry-sdk<=1.42.1,>=1.27.0
24
+ Requires-Dist: opentelemetry-exporter-otlp<=1.42.1,>=1.27.0
25
25
  Requires-Dist: protobuf>=5.0; python_version >= "3.14"
26
26
  Provides-Extra: dev
27
27
  Requires-Dist: pytest>=8.4.1; extra == "dev"
@@ -101,9 +101,9 @@ them through OpenTelemetry logs with:
101
101
 
102
102
  ### OpenTelemetry Versions
103
103
 
104
- The extension is compatible with OpenTelemetry versions 1.27.0 through 1.39.x.
104
+ The extension supports OpenTelemetry versions 1.27.0 through 1.42.1.
105
105
 
106
- **Supported and tested range**: `1.27.0` - `<1.40` (tested: 1.27.0, 1.30.0, 1.35.0, 1.38.0, 1.39.0, 1.39.1)
106
+ **Tested versions**: 1.27.0, 1.30.0, 1.35.0, 1.38.0, 1.39.0, 1.39.1
107
107
 
108
108
  The agent automatically adapts to both legacy (pre-1.39) and modern (1.39+) Logs APIs, providing:
109
109
  - Seamless compatibility across the tested version range
@@ -0,0 +1,16 @@
1
+ #!/bin/bash
2
+
3
+ TOKEN=YOUR_TOKEN_HERE
4
+
5
+ if [[ "${TOKEN:-}" == "YOUR_TOKEN_HERE" ]]; then
6
+ echo "INGEST TOKEN has not been set...please set it..."
7
+ exit 1
8
+ fi
9
+
10
+ curl -o otelcol_darwin_arm64 -L https://github.com/signalfx/splunk-otel-collector/releases/download/v0.147.0/otelcol_darwin_arm64
11
+ chmod 755 otelcol_darwin_arm64
12
+ xattr -dr com.apple.quarantine otelcol_darwin_arm64
13
+
14
+ export SPLUNK_ACCESS_TOKEN=${TOKEN}
15
+ export SPLUNK_REALM=lab0
16
+ ./otelcol_darwin_arm64 --config splunk-otel-config.yaml 2>&1 | tee out.txt
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
  # Changed dynamic = ["version"] to version = 26.4.0-Dev
8
8
  [project]
9
9
  name = "secureapp-python-agent"
10
- version = "26.5.0-RC6"
10
+ version = "26.6.0"
11
11
  description = "Splunk SecureApp OpenTelemetry Extension for Python applications"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"
@@ -31,9 +31,9 @@ classifiers = [
31
31
 
32
32
  # Runtime dependencies only
33
33
  dependencies = [
34
- "opentelemetry-api>=1.27.0,<1.40",
35
- "opentelemetry-sdk>=1.27.0,<1.40",
36
- "opentelemetry-exporter-otlp>=1.27.0,<1.40",
34
+ "opentelemetry-api>=1.27.0,<=1.42.1",
35
+ "opentelemetry-sdk>=1.27.0,<=1.42.1",
36
+ "opentelemetry-exporter-otlp>=1.27.0,<=1.42.1",
37
37
  "protobuf>=5.0; python_version>='3.14'", # Python 3.14 requires protobuf 6.x for metaclass compatibility
38
38
  ]
39
39
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: secureapp-python-agent
3
- Version: 26.5.0rc6
3
+ Version: 26.6.0
4
4
  Summary: Splunk SecureApp OpenTelemetry Extension for Python applications
5
5
  Author-email: Splunk <support@splunk.com>
6
6
  License-Expression: LicenseRef-Proprietary
@@ -19,9 +19,9 @@ Classifier: Topic :: System :: Monitoring
19
19
  Requires-Python: >=3.10
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: opentelemetry-api<1.40,>=1.27.0
23
- Requires-Dist: opentelemetry-sdk<1.40,>=1.27.0
24
- Requires-Dist: opentelemetry-exporter-otlp<1.40,>=1.27.0
22
+ Requires-Dist: opentelemetry-api<=1.42.1,>=1.27.0
23
+ Requires-Dist: opentelemetry-sdk<=1.42.1,>=1.27.0
24
+ Requires-Dist: opentelemetry-exporter-otlp<=1.42.1,>=1.27.0
25
25
  Requires-Dist: protobuf>=5.0; python_version >= "3.14"
26
26
  Provides-Extra: dev
27
27
  Requires-Dist: pytest>=8.4.1; extra == "dev"
@@ -1,6 +1,6 @@
1
- opentelemetry-api<1.40,>=1.27.0
2
- opentelemetry-sdk<1.40,>=1.27.0
3
- opentelemetry-exporter-otlp<1.40,>=1.27.0
1
+ opentelemetry-api<=1.42.1,>=1.27.0
2
+ opentelemetry-sdk<=1.42.1,>=1.27.0
3
+ opentelemetry-exporter-otlp<=1.42.1,>=1.27.0
4
4
 
5
5
  [:python_version >= "3.14"]
6
6
  protobuf>=5.0
@@ -1,16 +0,0 @@
1
- #!/bin/bash
2
-
3
- TOKEN=YOUR_TOKEN_HERE
4
-
5
- if [[ "${TOKEN:-}" == "YOUR_TOKEN_HERE" ]]; then
6
- echo "INGEST TOKEN has not been set...please set it..."
7
- exit 1
8
- fi
9
-
10
- curl -o otelcol_darwin_amd64 -L https://github.com/signalfx/splunk-otel-collector/releases/download/v0.147.0/otelcol_darwin_amd64
11
- chmod 755 otelcol_darwin_amd64
12
- xattr -dr com.apple.quarantine otelcol_darwin_amd64
13
-
14
- export SPLUNK_ACCESS_TOKEN=${TOKEN}
15
- export SPLUNK_REALM=lab0
16
- ./otelcol_darwin_amd64 --config splunk-otel-config.yaml 2>&1 | tee out.txt