-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With recent changes to uv, I am solidifying my position for the use of it over pip. Part of this includes changing the usage of uv in our actions as well as recomending it in our documentation. Since most Broker users are no longer also Broker developers, I've changed the quickstart to not involve local development.
- Loading branch information
1 parent
5ab33a9
commit 3ee1c5b
Showing
4 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -42,16 +42,19 @@ jobs: | |
- name: Pre Commit Checks | ||
uses: pre-commit/[email protected] | ||
|
||
- name: Set up uv | ||
run: curl -LsSf https://astral.sh/uv/install.sh | sh | ||
|
||
- name: Setup Temp Directory | ||
run: mkdir broker_dir | ||
|
||
- name: Unit Tests | ||
env: | ||
BROKER_DIRECTORY: "${{ github.workspace }}/broker_dir" | ||
UV_SYSTEM_PYTHON: 1 | ||
run: | | ||
cp broker_settings.yaml.example ${BROKER_DIRECTORY}/broker_settings.yaml | ||
pip install uv | ||
uv pip install --system "broker[dev,docker] @ ." | ||
uv pip install "broker[dev,docker] @ ." | ||
ls -l "$BROKER_DIRECTORY" | ||
broker --version | ||
pytest -v tests/ --ignore tests/functional |
This file contains 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 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 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 |
---|---|---|
|
@@ -7,7 +7,6 @@ name = "broker" | |
description = "The infrastructure middleman." | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
license = {file = "LICENSE", name = "GNU General Public License v3"} | ||
keywords = ["broker", "AnsibleTower", "docker", "podman", "beaker"] | ||
authors = [ | ||
{name = "Jacob J Callahan", email = "[email protected]"} | ||
|