feat: allow a folder with a list of wheels to be a repository #10017
Cirrus CI / Tests / FreeBSD (Python 3.9) / mypy
failed
Jan 11, 2025 in 2m 29s
Task Summary
Instruction mypy failed in 01:02
Details
✅ 00:03 clone
✅ 01:03 bootstrap_poetry
✅ 00:16 setup_environment
❌ 01:02 mypy
poetry run mypy
src/poetry/repositories/wheelhouse_repository.py:25: error: Argument 2 to "__init__" of "Repository" has incompatible type "Iterator[Package]"; expected "Optional[Sequence[Package]]" [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 "Optional[str]"; expected "Union[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