-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ci(framework): Add uv support #6679
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
+5,248
−1
Merged
Changes from 38 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
922aa44
ci(framework): Migrate pyproject.toml to use [project]
danieljanes f68d3c8
Fix formatting
danieljanes 6157afd
Make E2E pyproject less ambiguous
danieljanes 9a02d2b
Add license classifier
danieljanes 0e83d22
Add simulation extra when installing flwr from artifact store
danieljanes 0ffabc4
Remove --with dev
danieljanes 2640290
ci(*:skip): Improve CI pipelines
danieljanes 9dac122
Merge branch 'main' into improve-ci-pipelines
danieljanes 91ff810
Update docs
danieljanes eb2734a
Revert changes in intelligence-docs.yml
danieljanes 2f738bb
ci(framework): Migrate pyproject.toml to use [project]
danieljanes e013b9a
Make E2E pyproject less ambiguous
danieljanes 8815e69
Add license classifier
danieljanes 0130843
Remove --with dev
danieljanes 7d4256b
Merge remote-tracking branch 'refs/remotes/origin/migrate-pyproject' …
danieljanes ff24e2d
ci(framework): Migrate pyproject.toml to use [project]
danieljanes 8d067fe
Add license classifier
danieljanes e24eb82
Remove --with dev
danieljanes 7a6667b
Merge remote-tracking branch 'refs/remotes/origin/migrate-pyproject' …
danieljanes a217f2d
Merge branch 'main' into migrate-pyproject
danieljanes 1cbe331
Move pyproject_meta into devtool
danieljanes 7e02a17
Merge branch 'main' into migrate-pyproject
danieljanes 5e86859
Delete project_meta Python helper
danieljanes 885c892
Merge branch 'main' into migrate-pyproject
danieljanes e78a434
ci(framework): Add uv support
danieljanes 889913e
Merge branch 'main' into migrate-add-uv
danieljanes 79f5bfe
Add instructions
danieljanes c1e9d35
Fix test
danieljanes eb11b59
Merge branch 'main' into migrate-add-uv
danieljanes 6220b13
Update framework/uv.md
danieljanes b329a05
Merge branch 'main' into migrate-add-uv
danieljanes acf99f0
Merge branch 'main' into migrate-add-uv
danieljanes 63241f4
Merge branch 'main' into migrate-add-uv
danieljanes 6966b4f
Merge branch 'main' into migrate-add-uv
danieljanes 0dfc082
Merge branch 'main' into migrate-add-uv
danieljanes 938caa3
Update build-uv.sh
danieljanes ceb4c86
Update bootstrap-uv.sh
danieljanes a5159c1
Update uv.md
danieljanes 50ac22f
Merge branch 'main' into migrate-add-uv
danieljanes d6d519f
Update framework/dev/build-uv.sh
danieljanes eb0da87
Update uv.lock
danieljanes 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/bin/bash | ||
| set -e | ||
| cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/../ | ||
|
|
||
| # Setup environment variables for development | ||
| ./devtool/setup-envs.sh | ||
|
|
||
| # Remove caches | ||
| ./dev/rm-caches.sh | ||
|
|
||
| if ! command -v uv >/dev/null 2>&1; then | ||
| echo "uv is not installed. Install uv first: https://docs.astral.sh/uv/getting-started/installation/" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Use `uv` to install project dependencies from lockfile | ||
| uv sync --python="${version}" --locked --all-extras --all-groups | ||
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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Copyright 2022 Flower Labs GmbH. All Rights Reserved. | ||
danieljanes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # ============================================================================== | ||
|
|
||
| set -e | ||
| cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../ | ||
|
|
||
| uv build --clear | ||
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.