-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): add
qrcode_input
utility function to let developers eas…
…ily take input using qrcode through camera, wireless flow now also uses this function, in dev environment it reads the text from `/tmp/qrcode_input.txt` instead feat(docker): add `environment_variables` and `command` to image description, both allowing functions as their values, these functions get evaluated when the image is being created refactor(core): improve `load_services` so that `ubo_handle.py` files are enforced to be pure and can't import anything, services can start importing once their thread is started. fix(image): add `apt remove orca` to image creation scripts #48 refactor(test): stability fixture now stops after 4 seconds
- Loading branch information
Showing
64 changed files
with
1,368 additions
and
750 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "ubo-app" | ||
version = "0.11.7" | ||
version = "0.12.0" | ||
description = "Ubo main app, running on device initialization. A platform for running other apps." | ||
authors = ["Sassan Haradji <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -18,14 +18,14 @@ priority = "primary" | |
python = "^3.11" | ||
psutil = "^5.9.8" | ||
ubo-gui = [ | ||
{ version = "^0.10.3", markers = "extra=='default'", extras = [ | ||
{ version = "^0.10.4", markers = "extra=='default'", extras = [ | ||
'default', | ||
] }, | ||
{ version = "^0.10.3", markers = "extra=='dev'", extras = [ | ||
{ version = "^0.10.4", markers = "extra=='dev'", extras = [ | ||
'dev', | ||
] }, | ||
] | ||
python-redux = "^0.13.2" | ||
python-redux = "^0.14.0" | ||
pyzbar = "^0.1.9" | ||
sdbus-networkmanager = { version = "^2.0.0", markers = "platform_machine=='aarch64'" } | ||
rpi_ws281x = { version = "^5.0.0", markers = "platform_machine=='aarch64'" } | ||
|
@@ -45,13 +45,13 @@ optional = true | |
|
||
[tool.poetry.group.dev.dependencies] | ||
poethepoet = "^0.24.4" | ||
pyright = "^1.1.354" | ||
pyright = "^1.1.356" | ||
pytest = "^8.0.0" | ||
pytest-asyncio = "^0.23.5.post1" | ||
pytest-cov = "^4.1.0" | ||
pytest-timeout = "^2.3.1" | ||
pytest-xdist = "^3.5.0" | ||
ruff = "^0.3.3" | ||
ruff = "^0.3.4" | ||
tenacity = "^8.2.3" | ||
toml = "^0.10.2" | ||
pytest-mock = "^3.14.0" | ||
|
@@ -98,6 +98,7 @@ multiline-quotes = "double" | |
|
||
[tool.ruff.lint.per-file-ignores] | ||
"tests/*" = ["S101", "PLR0913"] | ||
"ubo_app/services/*/ubo_handle.py" = ["TCH004"] | ||
|
||
[tool.ruff.format] | ||
quote-style = 'single' | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
UBO_DEBUG=False | ||
UBO_DEBUG_DOCKER=False | ||
DOCKER_HOST=/var/run/docker.sock | ||
UBO_DEBUG_TEST_UUID=False |
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
Oops, something went wrong.