Skip to content

poetry install can't find chrome-devtools-protocol (^0.4.0) #21

@phaustin

Description

@phaustin

On current master, if I create a conda environment with"

conda create -n  testpoetry python=3.7 poetry
conda activate testpoetry
poetry install

I get the this error:

% poetry install
Creating virtualenv trio-chrome-devtools-protocol-tfpj-LfL-py3.7 in /Users/phil/Library/Caches/pypoetry/virtualenvs
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.

[SolverProblemError]
Because trio-chrome-devtools-protocol depends on chrome-devtools-protocol (^0.4.0) which doesn't match any versions, version solving failed.

If I edit pyproject.toml:

 [tool.poetry.dependencies]
 python = "^3.7"
-chrome-devtools-protocol = "^0.4.0"
+chrome-devtools-protocol = "^0.3.0"
 trio = "^0.13.0"
 trio_websocket = "^0.8.0"

the install succeeds and tests pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions