mirror of
https://github.com/fmtr/haco.git
synced 2026-12-01 12:26:31 -05:00
Update Corio logging and test configuration
This commit is contained in:
parent
a8c7f4ae6a
commit
005fa9259d
3 changed files with 29 additions and 15 deletions
|
|
@ -19,13 +19,19 @@ editables = ["corio"]
|
|||
|
||||
[tool.corio.metadata.setup]
|
||||
|
||||
[tool.corio.test-envs]
|
||||
dev = ["dev"]
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = false
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["haco*"]
|
||||
namespaces = false
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
haco = ["pyproject.package.toml", "assets/**"]
|
||||
haco = ["pyproject.package.toml", "**/assets/**"]
|
||||
|
||||
[tool.uv.sources.corio]
|
||||
path = "../corio"
|
||||
|
|
@ -36,13 +42,23 @@ editable_mode = "compat"
|
|||
|
||||
[tool.tox]
|
||||
requires = ["tox>=4.22", "tox-uv>=1"]
|
||||
env_list = ["haco"]
|
||||
env_list = ["prod"]
|
||||
|
||||
[tool.tox.env.haco]
|
||||
[tool.tox.env.dev]
|
||||
description = "Run haco tests."
|
||||
deps = ["corio[test]~=2.17.8"]
|
||||
deps = ["-e ../corio[api,caching,debug,mqtt,sets,test,yaml]", "psutil"]
|
||||
commands = [["python", "-m", "pytest", "-q", "{posargs:haco/tests}"]]
|
||||
install_command = ["uv", "pip", "install", "--refresh-package", "corio", "{opts}", "{packages}"]
|
||||
skip_install = true
|
||||
|
||||
[tool.tox.env.prod]
|
||||
description = "Run haco tests."
|
||||
deps = ["corio[test]~=2.21.5"]
|
||||
commands = [["python", "-m", "pytest", "-q", "{posargs:haco/tests}"]]
|
||||
install_command = ["uv", "pip", "install", "--refresh-package", "corio", "{opts}", "{packages}"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
|
||||
[project]
|
||||
name = "haco"
|
||||
|
|
@ -51,15 +67,15 @@ description = "Home Assistant Control Objects"
|
|||
readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
keywords = ["homeassistant", "controls", "python", "tasmota"]
|
||||
dependencies = ["corio[api,caching,debug,logging,mqtt,sets,yaml]~=2.17.8", "psutil"]
|
||||
dependencies = ["corio[api,caching,debug,mqtt,sets,yaml]~=2.21.5", "psutil"]
|
||||
|
||||
[[project.authors]]
|
||||
name = "Frontmatter AI"
|
||||
email = "innovative.fowler@mask.pro.fmtr.dev"
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["corio[infra]~=2.17.8"]
|
||||
test = ["corio[test]~=2.17.8"]
|
||||
dev = ["corio[infra]~=2.21.5"]
|
||||
test = ["corio[test]~=2.21.5"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/fmtr/haco"
|
||||
|
|
@ -67,4 +83,4 @@ Homepage = "https://github.com/fmtr/haco"
|
|||
[project.scripts]
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["corio[infra]~=2.17.8"]
|
||||
dev = ["corio[infra]~=2.21.5"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue