-
-
Notifications
You must be signed in to change notification settings - Fork 882
Migrate to uv #5311
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
+5,466
−5,956
Merged
Migrate to uv #5311
Changes from 9 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a665f45
start migrating to uv
falkoschindler 5f3018b
Merge branch 'uv2' into uv
falkoschindler cf01c3a
update workflow files
falkoschindler e3e27ed
update devcontainer
falkoschindler d8c9642
add missing pip for mypy
falkoschindler 819481f
Merge branch 'main' into uv
falkoschindler 37428fd
Merge branch 'main' into uv
falkoschindler 9047d2d
configure version as dynamic
codingpaula 23c1002
update uv.lock
codingpaula 195304b
remove --group dev since uv includes dev dependencies by default in u…
codingpaula 20eb483
add types to dev dependencies
codingpaula 5a13c90
remove step to install pip for mypy since mypy now should have all th…
codingpaula 86dee4d
add scipy to ignored packages and remove mypy config to install types
codingpaula 05aa5e4
fix development dockerfile by not having the user's venv in the image
codingpaula f1e516b
add uv run in front of the commands
codingpaula 315b0f6
remove specific tests requirements since we use dev requirements in p…
codingpaula 197f2fe
update fly dockerfile to use uv
codingpaula ae8e984
fix 404 when directly going to examples
codingpaula a9981db
simplify release dockerfile
codingpaula 24c07db
remove setting of version since we now have a dynamic version
codingpaula 2b9170f
add comment about anonymous volume
codingpaula 5665694
introduce dev group "website"
falkoschindler e7f8aef
cleanup Docker containers
falkoschindler 54c4ddc
fix Docker CMDs
falkoschindler bf641f6
fix installation of requirements
codingpaula f125f03
remove uv run from bash script call
codingpaula 9091fbb
add uv run --no-sync to properly call examples
codingpaula 68caa97
Use uv run to probe python version?
evnchn 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,19 +24,20 @@ jobs: | |
| timeout-minutes: 40 | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - uses: abatilo/actions-poetry@v4 | ||
| - uses: actions/setup-python@v6 | ||
| - uses: astral-sh/setup-uv@v7 | ||
| with: | ||
| python-version: ${{ matrix.python }} | ||
| cache: "poetry" | ||
| enable-cache: true | ||
| cache-dependency-glob: "uv.lock" | ||
| - name: Install Python | ||
| run: uv python install ${{ matrix.python }} | ||
| - name: Install dependencies | ||
| run: | | ||
| set -x | ||
| poetry install --all-extras --with dev | ||
| uv sync --all-extras --group dev | ||
| - uses: nanasess/[email protected] | ||
| - name: ${{ matrix.python }} / ${{ matrix.scope }} | ||
| if: matrix.scope == 'pytest' | ||
| run: poetry run pytest | ||
| run: uv run pytest | ||
| - uses: actions/upload-artifact@v5 | ||
| if: matrix.scope == 'pytest' && failure() | ||
| with: | ||
|
|
@@ -45,9 +46,9 @@ jobs: | |
| retention-days: 14 | ||
| - name: ${{ matrix.python }} / ${{ matrix.scope }} | ||
| if: matrix.scope == 'startup' | ||
| run: poetry run ./test_startup.sh | ||
| run: uv run ./test_startup.sh | ||
| - name: Restore dependencies for effective caching | ||
| if: matrix.scope == 'startup' && always() | ||
| run: | | ||
| set -x | ||
| poetry install --all-extras --with dev | ||
| uv sync --all-extras --group dev | ||
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.