-
Notifications
You must be signed in to change notification settings - Fork 8
build(uv): Lean on uv for all tasks within Makefile
#316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 38 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
798aa61
Auto white space formatting
schloerke bfa0bae
Ignore `uv.lock`
schloerke 39d99f2
Move requirements into pyproject.toml
schloerke 4f26946
Add `VENV` to makefile vars
schloerke 02bbe65
Remove `deps` target in favor of consolidated `dev` target
schloerke 7013ada
Replace all `$(PYTHON) -m` with `$(UV) run` to force local venv
schloerke 8c2b6e0
Update virtual env name
schloerke f90be40
Require a uv version
schloerke 0f7740c
Use uv install groups
schloerke 736ef34
Remove `make deps` calls. Remove pip cache. Autoformating
schloerke e10b742
Remove requirements files
schloerke 1e353d1
Remove `package: posit` as top level package covers it
schloerke 8446578
Make sure version has dev deps installed to calc version directly
schloerke fe67a36
Update .gitignore
schloerke ab55352
Only install quarto extensions if necessary
schloerke ae7c6fa
Activate uv env before running quartodoc or quarto commands
schloerke 55f6f5f
Add setuptools as a package dep for the version
schloerke 3fb419b
Add more dev pkgs
schloerke 9ddbd5f
!: Remove support for python 3.8 (EOL)
schloerke 845ccd6
Drop 3.8 in CI and docs
schloerke 81c7bc0
Do not use uv system envvar; Use uv to install python
schloerke d280f65
Update site.yaml
schloerke 96c2535
Activate UV before calling rsconnect
schloerke f3c1e9f
Update Makefile
schloerke 5cd225c
Use UV to run quartodoc now that the system isn't being used
schloerke b38b830
Update CONTRIBUTING.md
schloerke 6ceed86
Test on python 3.13
schloerke 89a1608
Add back python 3.8 support and tests
schloerke 1ea9dd8
Comment examples install group for now
schloerke b8047c8
Get quartodoc to install on the fly when building
schloerke 5dede91
Collapse to a single target
schloerke c0f6bc8
Use uv tool run
schloerke 1b6665a
Be sure to build before installing
schloerke 3c14bb5
Use uv quiet param to produce no unexpected output for version
schloerke 1dc01fc
Update Makefile
schloerke 657d227
Update Makefile
schloerke 6a3e3ea
Revert version change
schloerke d89cbdd
Remove `setuptools-scm` from direct deps
schloerke 979afd8
Install project deps before copying src for faster builds
schloerke bde1ba3
Create the lock file if it does not exist
schloerke b01cb20
Make sure uv.lock exists
schloerke 8d8c0ae
Add uv to integration CI
schloerke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,24 +4,18 @@ on: | |
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| env: | ||
| UV_SYSTEM_PYTHON: true | ||
| jobs: | ||
| cov: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.x | ||
| check-latest: true | ||
| cache: 'pip' | ||
| - run: make deps | ||
| - uses: astral-sh/setup-uv@v3 | ||
| - run: uv python install | ||
| - run: make dev | ||
| - run: make test | ||
| - run: make cov-xml | ||
| - if: ${{ ! github.event.pull_request.head.repo.fork }} | ||
| uses: orgoro/[email protected] | ||
| with: | ||
| coverageFile: coverage.xml | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| coverageFile: coverage.xml | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.