Skip to content

Commit 707bcf4

Browse files
updated text and pyarrow
1 parent 41f848a commit 707bcf4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

python/CODING_STANDARD.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,12 +371,11 @@ All non-core packages declare a lower bound on `agent-framework-core` (e.g., `"a
371371
The guiding principle for external dependencies is to make the range of allowed versions as broad as possible, even it that means we have to do some conditional imports, and other tricks to allow small changes in versions.
372372
So we use bounded ranges for external package dependencies in `pyproject.toml`:
373373

374-
- For stable dependencies (`>=1.0.0`), use `>=<known_good>,<next_major>` (for example: `openai>=1.99.0,<2`).
374+
375+
- For stable dependencies (`>=1.0.0`), use a lower bound at a known-good version and an explicit upper bound that reflects the maximum major version we currently support (for example: `openai>=1.99.0,<3`).
375376
- For prerelease (`dev`/`a`/`b`/`rc`) dependencies, use a known-good lower bound with a hard upper boundary in the same prerelease line (for example: `azure-ai-projects>=2.0.0b3,<2.0.0b4`).
376377
- For `<1.0.0` dependencies, use patch-bounded caps (`>=<known_good>,<next_patch>`), not minor-bounded caps (for example: `a2a-sdk>=0.3.5,<0.3.6`).
377-
- Prefer keeping support for multiple major versions when practical. If APIs differ between supported majors, version-conditional imports/branches are acceptable to preserve compatibility.
378-
- Validate dependency bounds project by project using the dependency-range validation script (`uv run poe validate-dependency-ranges`), and include both typing and tests for the final gate.
379-
378+
- Prefer keeping support for multiple major versions when practical. This may mean that the upper bound spans multiple major versions when the dependency maintains backward compatibility; if APIs differ between supported majors, version-conditional imports/branches are acceptable to preserve compatibility. For `<1.0.0>` and prerelease dependencies, also make the bounds as broad as possible but only for known packages, not for new ones, as the odds of breaking changes being introduced are higher.
380379

381380
### Installation Options
382381

python/packages/lab/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gaia = [
3232
"tqdm>=4.60.0,<5",
3333
"huggingface-hub>=0.20.0,<0.20.1",
3434
"orjson>=3.8.0,<4",
35-
"pyarrow", # For reading parquet files
35+
"pyarrow>=10,<24", # For reading parquet files
3636
]
3737

3838
# Lightning RL training module dependencies

python/uv.lock

Lines changed: 1 addition & 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)