Skip to content

fix(tooling): uvenv lock runner and deps#97

Merged
tcoratger merged 2 commits intoleanEthereum:mainfrom
fselmo:fix/tox-uvenv-lock-runner-and-deps
Oct 29, 2025
Merged

fix(tooling): uvenv lock runner and deps#97
tcoratger merged 2 commits intoleanEthereum:mainfrom
fselmo:fix/tox-uvenv-lock-runner-and-deps

Conversation

@fselmo
Copy link
Contributor

@fselmo fselmo commented Oct 29, 2025

🗒️ Description

This builds on the changes from #85

  • I split the dependency groups into appropriate categories, mostly just for organizing instead of having comments - dev still includes everything. What I hadn't noticed is the uv-venv-lock-runner for tox was not being defined in the right place [testenv] (not [tox]). This PR re-organizes everything and gets rid of the need to use --all-packages since dev dependency group is always synced by default and we now include the package as a dev dependency. This has the benefit of only needing uv sync (without --all-packages) for syncing the full dev environment which is quite nice imo.

  • I re-organized the filler pytest.ini under the packages/testing framework as this makes more sense there.

  • This updates the tox docs command to be: docs-build and docs-serve - to be more clear. uvx tox runs all-checks, pytest, and docs-build so is now the recommended check for PRs in the PR template as it's quick and covers almost everything.

  • I removed what seem to be unused markdown deps from docs: use mdformat to format markdown files under docs/ #58, @syjn99 if you can sanity check me that we indeed don't use these.

✅ Checklist

  • Ran tox checks to avoid unnecessary CI fails:
    uvx tox

@fselmo fselmo added bug Category: bug fix tooling Scope: Changes to workspace / project tooling e.g. tox, mypy, ruff, uv, mkdocs labels Oct 29, 2025
@fselmo
Copy link
Contributor Author

fselmo commented Oct 29, 2025

Sorry, should've been fixed in #85 but this finishes cleaning this up I think :)

@fselmo fselmo requested review from syjn99 and tcoratger October 29, 2025 18:34
- refactor(packages/testing): re-organize pytest.ini file for filler
@fselmo fselmo force-pushed the fix/tox-uvenv-lock-runner-and-deps branch from 7c08afe to c54d0c8 Compare October 29, 2025 18:38
Copy link
Collaborator

@tcoratger tcoratger left a comment

Choose a reason for hiding this comment

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

Nice that is cleaner for the user, thanks!

@tcoratger tcoratger merged commit 5b19a27 into leanEthereum:main Oct 29, 2025
10 checks passed
@fselmo fselmo deleted the fix/tox-uvenv-lock-runner-and-deps branch October 29, 2025 19:36
- [ ] Ran `tox` checks to avoid unnecessary CI fails:
```console
uvx tox -e all-checks,pytest
uvx tox
Copy link
Collaborator

@unnawut unnawut Oct 30, 2025

Choose a reason for hiding this comment

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

Hey @tcoratger this command ends with serving the docs server, can you help exclude mkdocs serve somehow?

@unnawut unnawut added this to the pq-devnet-1 milestone Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Category: bug fix tooling Scope: Changes to workspace / project tooling e.g. tox, mypy, ruff, uv, mkdocs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants