Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add regression coverage for missing optional connector dependencies

オープン
#14,328 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

まず、確立されたオプショナルインポートのパターンを使用している Python コネクターモジュールと、依存関係の欠落に関する既存のテストを特定します。代表的なケースをパラメーター化し、インストール済みの extras や認証情報に依存せずに upstream パッケージが存在しない状態をシミュレートし、エラーに欠落しているパッケージと必要な Semantic Kernel のインストール extra の両方が示されることを、lazy import が維持されたまま確認します。

索引モデルが issue の本文から書いたものです。

説明

Summary

Add parameterized tests ensuring imports or construction of Python connectors with missing optional dependencies produce actionable errors naming the required install extra.

Current implementation facts

Python connectors rely on optional upstream packages and are installed through extras.

Problem

A missing SDK can currently surface as a generic ModuleNotFoundError without telling the user which Semantic Kernel extra to install. Even where messages exist, broad test coverage prevents them from drifting.

Scope
  • Select representative connector modules using the established optional-import pattern.
  • Simulate missing upstream packages.
  • Assert the exception names the relevant install extra.
  • Keep tests isolated from installed local extras.
Non-goals
  • Do not eagerly import all connectors.
  • Do not change dependency ranges.
Acceptance criteria
  • Errors identify both the missing package and install extra.
  • Tests require no provider credentials.
  • Existing lazy-import behavior is preserved.

I searched Semantic Kernel issues and PRs for missing optional dependencies, connector import errors, and install-extra messages before filing this proposal.

主要言語
C#
スター
28.6k
フォーク
4.8k
平均マージ
13時間 24分
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/semantic-kernel のほかの issue

microsoft/semantic-kernel の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。