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
45 changes: 45 additions & 0 deletions python/frameworks/beeai/tests/test_real_core_names.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
"""Check the core names this package uses against the real installed core.

tests/conftest.py replaces fi_instrumentation with mock modules, so the other tests here
cannot notice a core name that the declared fi-instrumentation-otel floor lacks. This test
reads the package source in a clean interpreter that imports the real core.
"""

import pathlib
import subprocess
import sys

PACKAGE = pathlib.Path(__file__).resolve().parents[1] / "traceai_beeai"

CHECK = r"""
import ast, importlib, pathlib, sys, types
missing = []
for path in sorted(pathlib.Path(sys.argv[1]).rglob("*.py")):
tree = ast.parse(path.read_text(encoding="utf-8"))
names = {}
for node in ast.walk(tree):
if isinstance(node, ast.ImportFrom) and node.module and node.module.split(".")[0] == "fi_instrumentation":
module = importlib.import_module(node.module)
for alias in node.names:
if hasattr(module, alias.name):
names[alias.asname or alias.name] = getattr(module, alias.name)
else:
missing.append(f"{path.name}: {node.module}.{alias.name}")
for node in ast.walk(tree):
if isinstance(node, ast.Attribute) and isinstance(node.value, ast.Name) and node.value.id in names:
owner = names[node.value.id]
if isinstance(owner, (type, types.ModuleType)) and not hasattr(owner, node.attr):
missing.append(f"{path.name}: {node.value.id}.{node.attr}")
print("\n".join(sorted(set(missing))))
sys.exit(1 if missing else 0)
"""


def test_every_core_name_the_package_uses_exists_in_the_installed_core():
result = subprocess.run(
[sys.executable, "-I", "-c", CHECK, str(PACKAGE)],
capture_output=True,
text=True,
check=False,
)
assert result.returncode == 0, "missing in the installed core:\n" + result.stdout + result.stderr
5 changes: 5 additions & 0 deletions python/frameworks/cerebras/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-cerebras now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.1] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/cerebras/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">=3.10,<3.14"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"
cerebras-cloud-sdk = ">=1.0.0"

[tool.poetry.group.dev.dependencies]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/claude-agent-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-claude-agent-sdk now requires fi-instrumentation-otel 0.1.11 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## 0.1.1

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/claude-agent-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ python = ">=3.10,<3.14"
opentelemetry-api = ">=1.0.0"
opentelemetry-sdk = ">=1.0.0"
opentelemetry-instrumentation = ">=0.40b0"
fi-instrumentation-otel = ">=0.1.0"
fi-instrumentation-otel = ">=0.1.11"

[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/cohere/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-cohere now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.1] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/cohere/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">=3.10,<3.14"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"
cohere = ">=5.0.0"

[tool.poetry.urls]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/deepseek/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-deepseek now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.2](https://github.com/future-agi/traceAI/compare/traceai-deepseek-v0.1.1...traceai-deepseek-v0.1.2) (2026-11-05)


Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/deepseek/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">=3.10,<3.14"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"
openai = ">=1.0.0"

[tool.poetry.urls]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/dspy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@


## [Unreleased]

### Changed
- traceai-dspy now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.9] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/dspy/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/frameworks/dspy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
dspy = ">=2.5.0"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"


[tool.poetry.urls]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/fireworks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-fireworks now requires fi-instrumentation-otel 1.3.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.2](https://github.com/future-agi/traceAI/compare/traceai-fireworks-v0.1.1...traceai-fireworks-v0.1.2) (2026-11-05)


Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/fireworks/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">=3.10,<3.14"
fi-instrumentation-otel = ">=1.2.2"
fi-instrumentation-otel = ">=1.3.0"
openai = ">=1.0.0"

[tool.poetry.group.dev.dependencies]
Expand Down
9 changes: 4 additions & 5 deletions python/frameworks/google-genai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
## [Unreleased]

### Changed
- traceai-google-genai now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

### Fixed
- Fix offline sync/async streaming tests on `google-genai` 3.x using public HTTP
transport options, retaining the 1.8.0 fallback and blocking network access.
- Preserve distinct parts in streaming responses so parallel function calls,
repeated calls to the same tool, and multimedia parts are not overwritten or
merged into text parts in exported traces.
- Preserve distinct parts in streaming responses so parallel function calls, repeated calls to the same tool, and multimedia parts are not overwritten or merged into text parts in exported traces.

## [0.1.3] - 2026-10-29

Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/google-genai/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/frameworks/google-genai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
google-genai = ">=1.8.0"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"


[tool.poetry.urls]
Expand Down
4 changes: 4 additions & 0 deletions python/frameworks/huggingface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## [Unreleased]

### Changed
- traceai-huggingface now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.
2 changes: 1 addition & 1 deletion python/frameworks/huggingface/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">3.9,<3.14"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"
huggingface-hub = ">=0.20.0"

[tool.poetry.urls]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/instructor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@


## [Unreleased]

### Changed
- traceai-instructor now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.2.1] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/instructor/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/frameworks/instructor/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">3.9, <3.14"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"
instructor = ">=1.0.0"


Expand Down
4 changes: 4 additions & 0 deletions python/frameworks/ollama/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## [Unreleased]

### Changed
- traceai-ollama now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.
2 changes: 1 addition & 1 deletion python/frameworks/ollama/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">3.9,<3.14"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"
ollama = ">=0.3.0"

[tool.poetry.urls]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/pipecat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@


## [Unreleased]

### Changed
- traceai-pipecat now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.2] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/pipecat/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/frameworks/pipecat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers = [

[tool.poetry.dependencies]
python = ">3.9,<3.14"
fi-instrumentation-otel = ">=0.1.14"
fi-instrumentation-otel = ">=1.0.0"

[tool.poetry.urls]
Homepage = "https://futureagi.com"
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/portkey/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-portkey now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.3] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/portkey/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/frameworks/portkey/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
[tool.poetry.dependencies]
python = ">3.9, <3.13"
portkey-ai = ">0.1.0"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"


[tool.poetry.urls]
Expand Down
5 changes: 5 additions & 0 deletions python/frameworks/smolagents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@


## [Unreleased]

### Changed
- traceai-smolagents now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.6] - 2026-10-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion python/frameworks/smolagents/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/frameworks/smolagents/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
[tool.poetry.dependencies]
python = ">3.10, <3.14"
smolagents = ">=1.12.0"
fi-instrumentation-otel = ">=0.1.11"
fi-instrumentation-otel = ">=1.0.0"


[tool.poetry.urls]
Expand Down
45 changes: 45 additions & 0 deletions python/frameworks/strands/tests/test_real_core_names.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
"""Check the core names this package uses against the real installed core.

tests/conftest.py replaces fi_instrumentation with mock modules, so the other tests here
cannot notice a core name that the declared fi-instrumentation-otel floor lacks. This test
reads the package source in a clean interpreter that imports the real core.
"""

import pathlib
import subprocess
import sys

PACKAGE = pathlib.Path(__file__).resolve().parents[1] / "traceai_strands"

CHECK = r"""
import ast, importlib, pathlib, sys, types
missing = []
for path in sorted(pathlib.Path(sys.argv[1]).rglob("*.py")):
tree = ast.parse(path.read_text(encoding="utf-8"))
names = {}
for node in ast.walk(tree):
if isinstance(node, ast.ImportFrom) and node.module and node.module.split(".")[0] == "fi_instrumentation":
module = importlib.import_module(node.module)
for alias in node.names:
if hasattr(module, alias.name):
names[alias.asname or alias.name] = getattr(module, alias.name)
else:
missing.append(f"{path.name}: {node.module}.{alias.name}")
for node in ast.walk(tree):
if isinstance(node, ast.Attribute) and isinstance(node.value, ast.Name) and node.value.id in names:
owner = names[node.value.id]
if isinstance(owner, (type, types.ModuleType)) and not hasattr(owner, node.attr):
missing.append(f"{path.name}: {node.value.id}.{node.attr}")
print("\n".join(sorted(set(missing))))
sys.exit(1 if missing else 0)
"""


def test_every_core_name_the_package_uses_exists_in_the_installed_core():
result = subprocess.run(
[sys.executable, "-I", "-c", CHECK, str(PACKAGE)],
capture_output=True,
text=True,
check=False,
)
assert result.returncode == 0, "missing in the installed core:\n" + result.stdout + result.stderr
5 changes: 5 additions & 0 deletions python/frameworks/together/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [Unreleased]

### Changed
- traceai-together now requires fi-instrumentation-otel 1.0.0 or later. Action: Upgrade fi-instrumentation-otel if your environment pins an earlier version.

## [0.1.1] - 2026-10-29

### Fixed
Expand Down
Loading
Loading