feat: allow a folder with a list of wheels to be a repository #10017
Cirrus CI / Tests / FreeBSD (Python 3.11) / mypy
failed
Jan 11, 2025 in 1m 57s
Task Summary
Instruction mypy failed in 00:39
Details
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks
✅ 00:03 clone
✅ 00:58 bootstrap_poetry
✅ 00:13 setup_environment
❌ 00:39 mypy
poetry run mypy
src/poetry/repositories/wheelhouse_repository.py:25: error: Argument 2 to "__init__" of "Repository" has incompatible type "Iterator[Package]"; expected "Sequence[Package] | None" [arg-type]
src/poetry/repositories/wheelhouse_repository.py:29: error: Incompatible return value type (got "Path", expected "str") [return-value]
src/poetry/repositories/wheelhouse_repository.py:39: error: Argument 1 to "path_to_url" has incompatible type "str | None"; expected "str | Path" [arg-type]
src/poetry/factory.py:152: error: "HTTPRepository" has no attribute "path" [attr-defined]
src/poetry/factory.py:216: error: Incompatible return value type (got "LocalPathRepository", expected "HTTPRepository") [return-value]
Found 5 errors in 2 files (checked 343 source files)
Loading