Skip to content

chore: remove optional dependencies used for internal development - #347

Merged
wpbonelli merged 2 commits into
MODFLOW-ORG:developfrom
mwtoews:pep-735
Aug 18, 2026
Merged

chore: remove optional dependencies used for internal development#347
wpbonelli merged 2 commits into
MODFLOW-ORG:developfrom
mwtoews:pep-735

Conversation

@mwtoews

@mwtoews mwtoews commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

This PR switches some lists of optional dependencies (or "extras") to only dependency groups (PEP 735).

A new optional dependency is added:

  • pytest - recommended for users needing pytest fixtures, markers, and extensions

This list of groups are kept as user-facing optional dependencies:

  • ecosystem - available since 1.9.0
  • dfn - a deprecated alias of ecosystem, to be removed by version 2.x
  • models - another deprecated alias of ecosystem, to be removed by version 2.x
  • test - a deprecated alias of pytest, to be removed by version 2.x

This list of groups are removed from optional dependencies, and kept for internal development as dependency groups:

  • build
  • lint
  • test - this is not the same as the user-facing test optional dependency
  • docs
  • dev

They can be installed via (e.g.) pip install --group test. Note that uv sync will install all groups, since dev is included by default.

Closes #346

@wpbonelli wpbonelli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sweet. thanks

@wpbonelli
wpbonelli merged commit 29f7e0f into MODFLOW-ORG:develop Aug 18, 2026
15 checks passed
@mwtoews
mwtoews deleted the pep-735 branch August 18, 2026 00:23
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.

Remove optional dependencies

2 participants