Describe the bug
Fresh installs of dem are currently broken on main, and once the CLI is forced onto a compatible dependency set, multiple descriptor-based flows still fail with a DevEnv constructor error.
To Reproduce
- Create a clean virtual environment and install the repository dependencies from
main.
- Run
dem --help.
- Observe that the CLI crashes with
TypeError: Secondary flag is not valid for non-boolean flag. because typer 0.12.x resolves an incompatible click version.
- After forcing
click<8.2, run a descriptor-based workflow such as dem import /path/to/dev_env_descriptor.json or initialize a project with .axem/dev_env_descriptor.json.
- Observe that the command crashes with
TypeError: DevEnv.__init__() missing 1 required positional argument: 'hosts'.
Expected behavior
A fresh install should start the CLI successfully, and descriptor-based flows such as import, init, and catalog-backed DevEnv loading should create DevEnv instances without crashing.
Screenshots
Not applicable.
Additional context
I reproduced the two failures directly from the current codebase on a clean checkout:
dem --help fails when the dependency resolver picks click 8.2+ alongside the current Typer range.
dem import and Platform.init_project() both fail because several call sites still use the pre-hybrid DevEnv constructor signature after the remote-host refactor.
The affected constructor paths include import, init, local descriptor loading, and catalog-backed DevEnv creation.
Describe the bug
Fresh installs of
demare currently broken onmain, and once the CLI is forced onto a compatible dependency set, multiple descriptor-based flows still fail with aDevEnvconstructor error.To Reproduce
main.dem --help.TypeError: Secondary flag is not valid for non-boolean flag.becausetyper 0.12.xresolves an incompatibleclickversion.click<8.2, run a descriptor-based workflow such asdem import /path/to/dev_env_descriptor.jsonor initialize a project with.axem/dev_env_descriptor.json.TypeError: DevEnv.__init__() missing 1 required positional argument: 'hosts'.Expected behavior
A fresh install should start the CLI successfully, and descriptor-based flows such as
import,init, and catalog-backed DevEnv loading should createDevEnvinstances without crashing.Screenshots
Not applicable.
Additional context
I reproduced the two failures directly from the current codebase on a clean checkout:
dem --helpfails when the dependency resolver picksclick 8.2+alongside the current Typer range.dem importandPlatform.init_project()both fail because several call sites still use the pre-hybridDevEnvconstructor signature after the remote-host refactor.The affected constructor paths include
import,init, local descriptor loading, and catalog-backed DevEnv creation.