IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
- IDEに新しいアクションを追加したいとき
- アクションの登録やアイコンを変更したいとき
- 表示名と説明文の定義を整理したいとき
Pythonのconda環境テストで使うMinicondaの固定バージョンを更新する際に、対象箇所や互換性、テスト範囲を確認できます。
Bump the pinned Miniconda version for the Python conda env tests.
実行スコア 未検証
インストール方法を見るPython環境テストがダウンロードして使うMinicondaの固定バージョンを更新する手順を確認できます。固定値のあるファイル、バージョン文字列の形式、Windows・Linux・macOS向けインストーラーの有無を調べ、新しい値を選ぶ際の条件を把握できます。通常の更新と、condaのメジャーバージョンに対応するテスト項目の追加・削除を区別し、バージョン分岐のテスト範囲を保つ方法も説明します。
Pythonのconda環境テストで使うインストーラーを新しい版に更新したいときに向いています。更新によって古いメジャーバージョンのテストが抜けないか、対応するOS・アーキテクチャの配布物がそろっているかを確認する場面でも役立ちます。キャッシュへの影響や実行対象のテストも把握できます。
更新後の確認テストはネットワークを使い、環境ごとに約150 MBをダウンロードします。記載の一部テストはモノレポ専用で、community checkoutでは実行対象から外す指定があります。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
The Python env tests download and install Miniconda. They pin an exact installer version. This skill tells you how to move a pin.
One file holds every conda pin:
community/python/python-test-env/common/src/com/intellij/python/test/env/common/PredefinedPyEnvironments.kt
| Entry | Role |
|---|---|
CONDA | The default. @PyEnvTestCaseWithConda and LocalCondaRule use it. Keep it on the newest build. |
CONDA_24 | An old pin. It covers the conda.core.index.get_index branch of the helper script. |
CONDA_25 | An old pin. It covers the conda.core.subdir_data.SubdirData branch. |
There is no second place. The provider builds the download URL from the pin, and it verifies no checksum:
community/python/python-test-env/conda/src/com/intellij/python/test/env/conda/CondaPyEnvironmentProvider.kt
To find every consumer of a pin, search the repository for PredefinedPyEnvironments.CONDA.
A pin is the installer version token, not a plain conda version. The shape is
py<python>_<conda>-<build>, for example py312_26.7.1-1.
The provider expands the token into one of these names:
Miniconda3-<token>-Windows-x86_64.exeMiniconda3-<token>-Linux-x86_64.shMiniconda3-<token>-Linux-aarch64.shMiniconda3-<token>-MacOSX-arm64.shhttps://repo.anaconda.com/miniconda/. The page lists every installer with its date and
its sha256.Miniconda3-latest-*. The cache key holds the token, so a
floating name breaks reproducibility.MacOSX-x86_64 builds after py313_25.7.0-2.py312 prefix unless you have a reason to change it. The prefix only sets the Python
of the base install. Each test environment gets its own Python from the spec.CondaPackagingToolHelperTest runs against CONDA_24, CONDA_25, and CONDA. It protects the
version branches in community/python/helpers/conda_packaging_tool.py.
CONDA for a normal bump.ENVIRONMENTS_TO_TAGS in the same file, and add the entry to the
@RunOnEnvironments list of that test.CONDA reaches the same major. Two entries on one major waste a
download.A move of CONDA can remove coverage without a test failure. CONDA supplies the newest major to
CondaPackagingToolHelperTest. A move from conda 26 to conda 27 therefore leaves conda 26
untested, and every test stays green. Before you move CONDA across a major, add a constant for
the major you leave behind, and add it to @RunOnEnvironments.
ShortenPathTest holds the literal Miniconda3-py312_24.9.2-0-MacOSX-arm64. It is sample text for
a path-shortening assertion, and no code reads the version. Leave it alone.
The tests cache in ~/.cache/intellij-python-test-env/:
downloads/ holds the installer.conda/Miniconda3-<token>-<os>-<arch>/ holds the install.The token is part of the directory name. A bump therefore downloads about 150 MB again, and it leaves the old directory on disk. Delete an old directory by hand when you need the space.
Conda 25 added a terms-of-service gate on the default Anaconda channels. The provider runs
conda tos accept for pkgs/main and pkgs/r before it creates an environment, and it ignores a
failure. An older conda has no tos subcommand. You need no new work here for a bump.
Every command below needs the network, and each conda environment downloads about 150 MB. Run the
commands from the monorepo root. In a community checkout, drop the community/ prefix, and skip
the intellij.python.junit5Tests commands. That module is ultimate only.
./community/tests.cmd --module intellij.python.test.env.junit5 --test com.intellij.python.test.env.junit5.conda.showcase.PyEnvWithCondaShowCaseTest
./tests.cmd --module intellij.python.junit5Tests --test com.intellij.python.junit5Tests.env.tests.conda.CondaSdkCreatorTest
./tests.cmd --module intellij.python.junit5Tests --test com.intellij.python.junit5Tests.env.tests.packaging.CondaPackagingToolHelperTest
community/python/python-sdk/backend/resources/sdks.json lists the Miniconda builds that the
product offers to a user. It needs a sha256 for every artifact, and
community/python/build/src/org/jetbrains/intellij/build/pycharm/sdks/CondaUpdater.kt generates
it. That file is separate from the env tests.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
IntelliJプラグインのAnActionと登録設定を実装・変更し、表示文言やアイコンの定義、非同期処理の起動方法を整えます。
IntelliJのJPSテストモジュールをBazelへ移行し、Bazelだけで起きる失敗を依存関係や実行環境から切り分ける手順を案内します。
IntelliJのKotlin・Javaコードを新規作成やレビューする際に、言語の選び方、書式、型の扱い、例外処理などのプロジェクト規約に沿って整えるスキルです。
IntelliJ向けの変更を適切な単位に分け、チケットの有無に応じた形式で、理由や判断も伝わるコミットメッセージを作成・修正するスキルです。
Pythonコードの型推論や型エラーを複数の型チェッカーで比較し、各ツールの判定と診断内容をまとめたレポートを作成します。
Compose Desktopの画面で状態や副作用をどこに持たせるか整理し、表示と判断の境界、再利用部品やリストの設計を整えます。