Skip to content

Commit ecbfb36

Browse files
committed
release: v0.20.1 — httpx promoted to runtime dep (fixes pip install)
Hotfix for v0.20.0. Fresh-venv smoke caught a packaging bug: pip install carl-studio==0.20.0 python -c 'from carl_studio.entitlements import EntitlementsClient' → ModuleNotFoundError: No module named 'httpx' The v0.20 modules (entitlements, telemetry/axon, adapters/slime_submit, fsm_ledger_forward) all import httpx at module top because they instantiate httpx.Client in __init__. httpx was only listed under [dev] extras, so a fresh runtime install couldn't import these modules at all. Fix: promote httpx>=0.27 to runtime dependencies in pyproject.toml. Also bumps carl-core minimum to 0.2.0 (was >=0.1.0; now correctly reflects that v0.20 uses the new error-class surface from carl-core 0.2.0). uv.lock: regenerated. Same 264 resolved packages, just adds httpx to the carl-studio dep tree at runtime instead of dev-only. Tag v0.20.1 ships after this merges.
1 parent ea807c4 commit ecbfb36

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "carl-studio"
7-
version = "0.20.0"
7+
version = "0.20.1"
88
description = "CARL (Coherence-Aware Reinforcement Learning) — information-theoretic reward signals for LLM training via token-level probability distributions"
99
readme = "README.md"
1010
license = "MIT"
@@ -51,14 +51,20 @@ classifiers = [
5151
]
5252

5353
dependencies = [
54-
"carl-core>=0.1.0",
54+
"carl-core>=0.2.0",
5555
"pydantic>=2.9",
5656
"pydantic-settings>=2.0",
5757
"typer>=0.12",
5858
"rich>=14.0",
5959
"numpy",
6060
"anyio>=4.0",
6161
"pyyaml>=6.0",
62+
# v0.20: entitlements client (EntitlementsClient), AXON forwarder, slime
63+
# submit client, and constitutional ledger forwarder all use httpx for
64+
# the carl.camp HTTP calls. Promoted from [dev] to runtime so a fresh
65+
# `pip install carl-studio` can `from carl_studio.entitlements import
66+
# EntitlementsClient` without a separate optional-dep install.
67+
"httpx>=0.27",
6268
]
6369

6470
[project.urls]

src/carl_studio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
See also: carl.py (300-line seed crystal at the repo root)
99
"""
1010

11-
__version__ = "0.20.0"
11+
__version__ = "0.20.1"
1212

1313
from typing import TYPE_CHECKING
1414

uv.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)