Skip to content

Replace Poetry with UV #1490

Replace Poetry with UV

Replace Poetry with UV #1490

Triggered via pull request November 23, 2024 09:07
Status Failure
Total duration 1m 0s
Artifacts

pyright.yml

on: pull_request
Matrix: Pyright
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 25 warnings
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L11
Type of "IterableModel" is partially unknown   Type of "IterableModel" is "(subtask_class: type[Unknown], name: str | None = None, description: str | None = None) -> type[Unknown]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L13
Type of "openai_moderation" is partially unknown   Type of "openai_moderation" is "(client: Unknown) -> ((str) -> str)" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L15
Type of "openai_schema" is partially unknown   Type of "openai_schema" is "(cls: type[Unknown]) -> OpenAISchema" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L16
Type of "apatch" is partially unknown   Type of "apatch" is "(client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L16
Type of "patch" is partially unknown   Type of "patch" is "Overload[(client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown, (client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown, (create: (**T_ParamSpec@patch) -> T_Retval@patch, mode: Mode = Mode.TOOLS) -> InstructorChatCompletionCreate, (create: Awaitable[T_Retval@patch], mode: Mode = Mode.TOOLS) -> InstructorChatCompletionCreate]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L21
Type of "from_openai" is partially unknown   Type of "from_openai" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.TOOLS, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.TOOLS, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L53
Type of "from_anthropic" is partially unknown   Type of "from_anthropic" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.ANTHROPIC_TOOLS, enable_prompt_caching: bool = False, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.ANTHROPIC_TOOLS, enable_prompt_caching: bool = False, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L61
Type of "from_gemini" is partially unknown   Type of "from_gemini" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.GEMINI_TOOLS, use_async: Literal[True] = True, **kwargs: Any) -> AsyncInstructor, (client: Unknown, mode: Mode = instructor.Mode.GEMINI_TOOLS, use_async: Literal[False] = False, **kwargs: Any) -> Instructor]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L66
Type of "from_fireworks" is partially unknown   Type of "from_fireworks" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.FIREWORKS_JSON, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.FIREWORKS_JSON, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.11): instructor/__init__.py#L71
Type of "from_cerebras" is partially unknown   Type of "from_cerebras" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.CEREBRAS_TOOLS, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.CEREBRAS_TOOLS, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (macos-latest, 3.10): instructor/__init__.py#L11
Type of "IterableModel" is partially unknown   Type of "IterableModel" is "(subtask_class: type[Unknown], name: str | None = None, description: str | None = None) -> type[Unknown]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L13
Type of "openai_moderation" is partially unknown   Type of "openai_moderation" is "(client: Unknown) -> ((str) -> str)" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L15
Type of "openai_schema" is partially unknown   Type of "openai_schema" is "(cls: type[Unknown]) -> OpenAISchema" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L16
Type of "apatch" is partially unknown   Type of "apatch" is "(client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L16
Type of "patch" is partially unknown   Type of "patch" is "Overload[(client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown, (client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown, (create: (**T_ParamSpec@patch) -> T_Retval@patch, mode: Mode = Mode.TOOLS) -> InstructorChatCompletionCreate, (create: Awaitable[T_Retval@patch], mode: Mode = Mode.TOOLS) -> InstructorChatCompletionCreate]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L21
Type of "from_openai" is partially unknown   Type of "from_openai" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.TOOLS, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.TOOLS, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L53
Type of "from_anthropic" is partially unknown   Type of "from_anthropic" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.ANTHROPIC_TOOLS, enable_prompt_caching: bool = False, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.ANTHROPIC_TOOLS, enable_prompt_caching: bool = False, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L61
Type of "from_gemini" is partially unknown   Type of "from_gemini" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.GEMINI_TOOLS, use_async: Literal[True] = True, **kwargs: Any) -> AsyncInstructor, (client: Unknown, mode: Mode = instructor.Mode.GEMINI_TOOLS, use_async: Literal[False] = False, **kwargs: Any) -> Instructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L66
Type of "from_fireworks" is partially unknown   Type of "from_fireworks" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.FIREWORKS_JSON, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.FIREWORKS_JSON, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.10): instructor/__init__.py#L71
Type of "from_cerebras" is partially unknown   Type of "from_cerebras" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.CEREBRAS_TOOLS, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.CEREBRAS_TOOLS, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (macos-latest, 3.11): instructor/__init__.py#L11
Type of "IterableModel" is partially unknown   Type of "IterableModel" is "(subtask_class: type[Unknown], name: str | None = None, description: str | None = None) -> type[Unknown]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L13
Type of "openai_moderation" is partially unknown   Type of "openai_moderation" is "(client: Unknown) -> ((str) -> str)" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L15
Type of "openai_schema" is partially unknown   Type of "openai_schema" is "(cls: type[Unknown]) -> OpenAISchema" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L16
Type of "apatch" is partially unknown   Type of "apatch" is "(client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L16
Type of "patch" is partially unknown   Type of "patch" is "Overload[(client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown, (client: Unknown, mode: Mode = Mode.TOOLS) -> Unknown, (create: (**T_ParamSpec@patch) -> T_Retval@patch, mode: Mode = Mode.TOOLS) -> InstructorChatCompletionCreate, (create: Awaitable[T_Retval@patch], mode: Mode = Mode.TOOLS) -> InstructorChatCompletionCreate]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L21
Type of "from_openai" is partially unknown   Type of "from_openai" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.TOOLS, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.TOOLS, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L53
Type of "from_anthropic" is partially unknown   Type of "from_anthropic" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.ANTHROPIC_TOOLS, enable_prompt_caching: bool = False, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.ANTHROPIC_TOOLS, enable_prompt_caching: bool = False, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L61
Type of "from_gemini" is partially unknown   Type of "from_gemini" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.GEMINI_TOOLS, use_async: Literal[True] = True, **kwargs: Any) -> AsyncInstructor, (client: Unknown, mode: Mode = instructor.Mode.GEMINI_TOOLS, use_async: Literal[False] = False, **kwargs: Any) -> Instructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L66
Type of "from_fireworks" is partially unknown   Type of "from_fireworks" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.FIREWORKS_JSON, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.FIREWORKS_JSON, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (macos-latest, 3.11): instructor/__init__.py#L71
Type of "from_cerebras" is partially unknown   Type of "from_cerebras" is "Overload[(client: Unknown, mode: Mode = instructor.Mode.CEREBRAS_TOOLS, **kwargs: Any) -> Instructor, (client: Unknown, mode: Mode = instructor.Mode.CEREBRAS_TOOLS, **kwargs: Any) -> AsyncInstructor]" (reportUnknownVariableType)
Pyright (ubuntu-latest, 3.10)
The job was canceled because "ubuntu-latest_3_11" failed.
Pyright (ubuntu-latest, 3.10)
A task was canceled.
Pyright (ubuntu-latest, 3.11)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 (macos-latest, 3.10): instructor/client.py#L21
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-latest, 3.10): instructor/client_cohere.py#L10
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-latest, 3.10): instructor/distil.py#L17
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-latest, 3.10): instructor/multimodal.py#L20
Import "requests" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-latest, 3.10): instructor/patch.py#L11
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-latest, 3.10): instructor/reask.py#L9
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-latest, 3.10): instructor/_types/_alias.py#L3
Import "typing_extensions" could not be resolved from source (reportMissingModuleSource)
Pyright (macos-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)