Migrate to UV #1628
Annotations
46 errors and 34 warnings
Pyright (ubuntu-latest, 3.9):
instructor/batch.py#L3
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L3
Import "openai" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L7
Import "openai.types.chat" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L16
Import "tenacity" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L22
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L398
Method "create_partial" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_partial, None, None]", override returns type "AsyncGenerator[T@create_partial, None]"
"AsyncGenerator[T@create_partial, None]" is not assignable to "Generator[T@create_partial, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L422
Method "create_iterable" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_iterable, None, None]", override returns type "AsyncGenerator[T@create_iterable, None]"
"AsyncGenerator[T@create_iterable, None]" is not assignable to "Generator[T@create_iterable, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L446
Method "create_with_completion" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "tuple[T@create_with_completion, Any]", override returns type "Coroutine[Any, Any, tuple[T@create_with_completion, Any]]"
"Coroutine[Any, Any, tuple[T@create_with_completion, Any]]" is not assignable to "tuple[T@create_with_completion, Any]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L471
Overload 1 for "from_openai" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L480
Overload 2 for "from_openai" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
|
Pyright (ubuntu-latest, 3.11):
instructor/batch.py#L3
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L3
Import "openai" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L7
Import "openai.types.chat" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L16
Import "tenacity" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L22
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L398
Method "create_partial" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_partial, None, None]", override returns type "AsyncGenerator[T@create_partial, None]"
"AsyncGenerator[T@create_partial, None]" is not assignable to "Generator[T@create_partial, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L422
Method "create_iterable" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_iterable, None, None]", override returns type "AsyncGenerator[T@create_iterable, None]"
"AsyncGenerator[T@create_iterable, None]" is not assignable to "Generator[T@create_iterable, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L446
Method "create_with_completion" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "tuple[T@create_with_completion, Any]", override returns type "Coroutine[Any, Any, tuple[T@create_with_completion, Any]]"
"Coroutine[Any, Any, tuple[T@create_with_completion, Any]]" is not assignable to "tuple[T@create_with_completion, Any]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L471
Overload 1 for "from_openai" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L480
Overload 2 for "from_openai" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
|
Pyright (ubuntu-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (ubuntu-latest, 3.10):
instructor/batch.py#L3
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L3
Import "openai" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L7
Import "openai.types.chat" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L16
Import "tenacity" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L22
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L398
Method "create_partial" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_partial, None, None]", override returns type "AsyncGenerator[T@create_partial, None]"
"AsyncGenerator[T@create_partial, None]" is not assignable to "Generator[T@create_partial, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L422
Method "create_iterable" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_iterable, None, None]", override returns type "AsyncGenerator[T@create_iterable, None]"
"AsyncGenerator[T@create_iterable, None]" is not assignable to "Generator[T@create_iterable, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L446
Method "create_with_completion" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "tuple[T@create_with_completion, Any]", override returns type "Coroutine[Any, Any, tuple[T@create_with_completion, Any]]"
"Coroutine[Any, Any, tuple[T@create_with_completion, Any]]" is not assignable to "tuple[T@create_with_completion, Any]" (reportIncompatibleMethodOverride)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L471
Overload 1 for "from_openai" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L480
Overload 2 for "from_openai" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
|
Pyright (macos-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (macos-latest, 3.10)
The operation was canceled.
|
Pyright (macos-latest, 3.11)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (macos-latest, 3.11):
instructor/batch.py#L3
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L3
Import "openai" could not be resolved (reportMissingImports)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L7
Import "openai.types.chat" could not be resolved (reportMissingImports)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L16
Import "tenacity" could not be resolved (reportMissingImports)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L22
Import "pydantic" could not be resolved (reportMissingImports)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L398
Method "create_partial" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_partial, None, None]", override returns type "AsyncGenerator[T@create_partial, None]"
"AsyncGenerator[T@create_partial, None]" is not assignable to "Generator[T@create_partial, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L422
Method "create_iterable" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "Generator[T@create_iterable, None, None]", override returns type "AsyncGenerator[T@create_iterable, None]"
"AsyncGenerator[T@create_iterable, None]" is not assignable to "Generator[T@create_iterable, None, None]" (reportIncompatibleMethodOverride)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L446
Method "create_with_completion" overrides class "Instructor" in an incompatible manner
Return type mismatch: base method returns type "tuple[T@create_with_completion, Any]", override returns type "Coroutine[Any, Any, tuple[T@create_with_completion, Any]]"
"Coroutine[Any, Any, tuple[T@create_with_completion, Any]]" is not assignable to "tuple[T@create_with_completion, Any]" (reportIncompatibleMethodOverride)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L471
Overload 1 for "from_openai" overlaps overload 2 and returns an incompatible type (reportOverlappingOverload)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L480
Overload 2 for "from_openai" will never be used because its parameters overlap overload 1 (reportOverlappingOverload)
|
Pyright (macos-latest, 3.9)
The job was canceled because "ubuntu-latest_3_11" failed.
|
Pyright (macos-latest, 3.9)
The operation was canceled.
|
Pyright (ubuntu-latest, 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Pyright (ubuntu-latest, 3.9):
instructor/client.py#L21
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/client_cohere.py#L10
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/distil.py#L17
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/multimodal.py#L20
Import "requests" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/patch.py#L11
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/reask.py#L9
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/_types/_alias.py#L3
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.9):
instructor/dsl/citation.py#L81
Import "regex" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Pyright (ubuntu-latest, 3.11):
instructor/client.py#L21
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/client_cohere.py#L10
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/distil.py#L17
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/multimodal.py#L20
Import "requests" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/patch.py#L11
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/reask.py#L9
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/_types/_alias.py#L3
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.11):
instructor/dsl/citation.py#L81
Import "regex" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/client.py#L21
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/client_cohere.py#L10
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/distil.py#L17
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/multimodal.py#L20
Import "requests" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/patch.py#L11
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/reask.py#L9
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/_types/_alias.py#L3
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (ubuntu-latest, 3.10):
instructor/dsl/citation.py#L81
Import "regex" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/client.py#L21
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/client_cohere.py#L10
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/distil.py#L17
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/multimodal.py#L20
Import "requests" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/patch.py#L11
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/reask.py#L9
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/_types/_alias.py#L3
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
|
Pyright (macos-latest, 3.11):
instructor/dsl/citation.py#L81
Import "regex" could not be resolved from source (reportMissingModuleSource)
|