Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow a folder with a list of wheels to be a repository #10017

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

feat: add local path repository

0014fed
Select commit
Loading
Failed to load commit list.
Open

feat: allow a folder with a list of wheels to be a repository #10017

feat: add local path repository
0014fed
Select commit
Loading
Failed to load commit list.
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)