Skip to content

fix: respect declared dependency runtimes - #252

Merged
phantom-jacob merged 1 commit into
mainfrom
jacobd-codex-respect-dependency-runtime
Jul 20, 2026
Merged

fix: respect declared dependency runtimes#252
phantom-jacob merged 1 commit into
mainfrom
jacobd-codex-respect-dependency-runtime

Conversation

@phantom-jacob

Copy link
Copy Markdown
Contributor

Written by Codex.

What changed

The dependency-packaging hook now builds only the runtime-specific dependency sections that an app manifest declares.

Why

The hook unconditionally invoked Python 3.9 and Python 3.13. A Python 3.13-only connector using a dependency that requires Python >=3.10 therefore failed under an undeclared Python 3.9 build before its actual target runtime was evaluated.

Impact

Existing dual-runtime connectors still package both declared sections. Python 3.13-only connectors no longer require an obsolete pip39_dependencies section.

Validation

  • Targeted dependency-runtime tests: passed on Python 3.13
  • Ruff check and formatting: passed on Python 3.13
  • Full pre-commit bootstrap is currently blocked before hooks execute by a 401 fetching setuptools from the configured internal package index.

@phantom-jacob
phantom-jacob force-pushed the jacobd-codex-respect-dependency-runtime branch from d9ced63 to 1b3025c Compare July 19, 2026 18:52
@phantom-jacob
phantom-jacob marked this pull request as ready for review July 19, 2026 18:55
@phantom-jacob
phantom-jacob merged commit f1e93b9 into main Jul 20, 2026
4 checks passed
@phantom-jacob
phantom-jacob deleted the jacobd-codex-respect-dependency-runtime branch July 20, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant