#Config/deps
1 messages ยท Page 1 of 1 (latest)
There's an issue open where deps are being included in a backup, I'm curious what their system looks like
Yes, that's exactly the background for my question
They opened a PR to exclude deps, which we closed because deps is not used in any supported installation method
When using the devcontainer Home Assistant runs in a virtual environment.
(ha-venv) vscode โ /workspaces/core (dev) $ ls /home/vscode/.local/ha-venv/lib/python3.14/site-packages/tibber
const.py data_api.py exceptions.py gql_queries.py home.py __init__.py py.typed realtime.py response_handler.py websocket_transport.py
(ha-venv) vscode โ /workspaces/core (dev) $ ls /home/vscode/.local/ha-venv
bin cache CACHEDIR.TAG lib lib64 LICENSE pyvenv.cfg requirements.txt share
(ha-venv) vscode โ /workspaces/core (dev) $ which python
/home/vscode/.local/ha-venv/bin/python
I think we can work to remove deps. Can we assume the existing repair issue for core installations is enough or do we need to deprecate this separately?
I think the existing repair is enough
The repair about unsupported installation method says:
This system is using the {installation_type} installation type, which has been deprecated and will become unsupported following the release of Home Assistant 2025.12. While you can continue using your current setup after that point, we strongly recommend migrating to a supported installation method.
What's the meaning of:
you can continue using your current setup after that point
Does it mean it's OK to upgrade to, for example, HA Core 2026.4, but we advise against it, or does it mean 2025.12 is the last version where it was possible to run the unsupported method?
If it's still OK to upgrade to new version, I guess we need a new repair
I was going to simply add a check in main() which exits if core is not running in a venv or a container since we no longer support core as ain installation method. But I guess that's not possible then? Instead there would have to be a log + repair saying running outside a venv or container will stop working in 6 months?
I think we should just remove the first part of the last sentence in the repair issue unless we have promised something like that in the architecture discussion. It just gives a false sense of support.
If it would mean that they could continue upgrading without consequences we would still need to support the deprecated methods, which doesn't make sense.
Yeah, that's how I read it.
@viscid nova do you remember why you wrote it like that?
But still, do you think it's OK to just exit early from main() if not running in a venv or container, or should we warn for 6 months?
You need to ask @left whale as he added it with https://github.com/home-assistant/core/pull/145323
Proposed change
Add deprecation issues for supervised and core installation methods.
Type of change
Dependency upgrade
Bugfix (non-breaking change which fixes an issue)
New integration (thank...
I just implemented the json sort and for that reason you see me in git blame
I think it's fine as I can't imagine how you would run core in this case
Oh, sorry ๐
I think the idea is that you have a global Python installation, then we install our additional dependencies in config/deps.
But yeah, it seems weird
Joost, do you remember why you added the sentence claiming "you can continue using your current setup after that point"?
Do we still need the the repairs for unsupported architectures? The repairs say we would stop providing builds in December 2025, if we did that we no longer need the repairs?
PR rephrasing so it doesn't read like they can continue using Home Assistant Core: https://github.com/home-assistant/core/pull/168156
One more thing, we create the repair stating the core installation method is unsupported also in development environments. Should we amend the repair text to say it's OK to use for development?