Skip to content

chore: consolidate all optional deps into default dependencies#146

Merged
coketaste merged 3 commits into
developfrom
coketaste/pyproject
Jun 11, 2026
Merged

chore: consolidate all optional deps into default dependencies#146
coketaste merged 3 commits into
developfrom
coketaste/pyproject

Conversation

@coketaste

Copy link
Copy Markdown
Collaborator

Summary

  • Moves all [project.optional-dependencies] (dev tools, pytest plugins, kubernetes) into the core dependencies list in pyproject.toml
  • Removes the dev, kubernetes, and all extras groups entirely
  • Simplifies installation: pip install madengine now includes everything without requiring .[dev] or .[all]

Motivation

Optional dependency groups added friction — contributors had to know to run pip install -e ".[dev]" or pip install -e ".[all]" to get a working dev environment. Consolidating into
defaults eliminates that bootstrapping ambiguity.

Test plan

  • pip install -e . installs all previously-optional packages (kubernetes, pytest, black, etc.)
  • madengine CLI still works after install
  • Existing tests pass: pytest

Move dev, kubernetes, and all optional dependency groups into the
main dependencies list and remove [project.optional-dependencies].

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@coketaste coketaste self-assigned this Jun 11, 2026
Copilot AI review requested due to automatic review settings June 11, 2026 20:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR consolidates previously optional dependency groups (dev tooling, pytest plugins, Kubernetes support) into the package’s default install requirements to make pip install madengine include everything by default and remove the need for extras.

Changes:

  • Moved Kubernetes and development/test tool dependencies from [project.optional-dependencies] into [project].dependencies.
  • Removed the dev, kubernetes, and all extras groups from pyproject.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
Comment thread pyproject.toml Outdated
coketaste and others added 2 commits June 11, 2026 16:22
Follow-up to the optional-deps consolidation: remove now-invalid
madengine[dev]/[all]/[kubernetes] install commands from docs and
runtime messages, and pin pytest>=7.0 to match minversion.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 11, 2026 21:26
@coketaste coketaste merged commit 3a68be8 into develop Jun 11, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Comment thread CHANGELOG.md

### Changed

- **All dependencies are now included by default**: Kubernetes support (`kubernetes>=28.0.0`) and development tools (`pytest>=7.0`, `black`, `mypy`, `isort`, `pre-commit`, etc.) are bundled into the base `dependencies` list. The `[kubernetes]`, `[dev]`, and `[all]` extras have been removed — a plain `pip install madengine` or `pip install -e .` installs everything. All documentation and in-package install guidance has been updated accordingly.
mkuznet1 added a commit to mkuznet1/madengine that referenced this pull request Jun 15, 2026
Merges 4 upstream commits (ef87d05..3a68be8) into the multi-node SLURM branch:
- feat: canonicalize launcher aliases; extract MAD_MULTI_NODE_RUNNER resolver
  into _resolve_local_multi_node_runner_env() (upstream ROCm#132)
- fix(run): --skip-model-run now starts container before skipping model script (ROCm#145)
- chore: consolidate optional deps into default dependencies (ROCm#146)
- Guyen/develop build-context folder change 2 (ROCm#144)
Conflict in src/madengine/execution/container_runner.py resolved:
- Upstream's if/else skip_model_run wrapper is the outer structure
- Our try/except RuntimeError (container diagnostics on failure) is placed
  inside the else: branch around model_docker.sh()
- Our elif skip_perf_collection: status branch and fallback or-clause are
  preserved in the else: branch status logic
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.

2 participants