Skip to content

Move optional dependencies from dev_requirements to pyproject.toml#897

Closed
FreddyFox892 wants to merge 4 commits into
mainfrom
FST/TomlUpdate
Closed

Move optional dependencies from dev_requirements to pyproject.toml#897
FreddyFox892 wants to merge 4 commits into
mainfrom
FST/TomlUpdate

Conversation

@FreddyFox892
Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines -33 to +37
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ "3.12" ]
os: [ ubuntu-latest ]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ist es möglich, die Matrix eine Ebene höher zu definieren, damit wir's nur einmal da stehen haben? Fänd ich besser.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Aber an der Pipeline zu arbeiten ist eher etwas was ich mir für einen folge PR aufhebn würde, um die komplexität des PRs nur auf das wesentliche zu beschränken

@lord-haffi
Copy link
Copy Markdown
Collaborator

Superseded by #1068

@lord-haffi lord-haffi closed this Jun 5, 2026
@lord-haffi lord-haffi deleted the FST/TomlUpdate branch June 5, 2026 11:13
lord-haffi added a commit that referenced this pull request Jun 5, 2026
## Summary

Closes #897.

- Replace the 14 `dev_requirements/*.in/*.txt` files with PEP 735
`[dependency-groups]` in `pyproject.toml` (tests, coverage, type_check,
linting, formatting, packaging, json_schemas, docs, plus a `dev`
meta-group).
- Switch tox to `tox-uv`: `[testenv:*]` now use `dependency_groups = …`
instead of `deps = -r dev_requirements/…`. Editable install declared
once at `[testenv]` level via `package = editable`.
- Update CI: every `pip install tox` → `pip install tox tox-uv`. The two
workflow steps that bypassed tox (`python-publish.yml` and
`python-publish-scheduled.yml`) now use `pip install uv` + `uv pip
install --system --group …`.
- Drop the `/dev_requirements/` dependabot pip entry — the root entry
covers PEP 735 groups too.
- Lock pinned versions in `uv.lock` (133 packages, generated against the
new groups).
- README + `docs/contributing_guide.rst`: new "Entwicklungs-Setup"
section pointing at uv + tox-uv (replaces the stale link to
`python_template_repository`).

## Test plan

- [x] `tox -e tests` — 121 passed locally with `tox-uv`, editable bo4e
built via hatchling.
- [ ] `tox -e linting`
- [ ] `tox -e type_check`
- [ ] `tox -e coverage`
- [ ] `tox -e docs`
- [ ] CI: all matrix workflows green
- [ ] Dependabot picks up the runtime + PEP 735 groups from the root
entry on next run

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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