Check the Dart SDK range from pubspec.yaml
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
調査の方向性
Start with the RUNTIMES table in src/devready/checks/runtimes.py and the existing extractor pattern there, then read explain.py and docs/checks.md to see where a new entry goes. Write a line-based extractor for the sdk key under the top-level environment block of pubspec.yaml, ignoring sdk: flutter under dependencies. Done when a pubspec requiring >=3.0.0 <4.0.0 with Dart 2.19 yields one fail showing both versions, and pytest, ruff check and ruff format --check pass.
索引モデルが issue の本文から書いたものです。
説明
Problem: Dart and Flutter projects declare the SDK range in pubspec.yaml:
environment:
sdk: ">=3.0.0 <4.0.0"
dart pub get fails when the installed SDK is outside that range. DevReady does not check Dart.
Do:
- Add a
dartrow toRUNTIMESinsrc/devready/checks/runtimes.py(exedart, args--version,.tool-versionsnamedart). - Extractor for
pubspec.yaml: line-based only (no YAML parser, zero dependencies). Find thesdk:key indented under a top-levelenvironment:block, strip quotes, return it only if it matchesSAFE_SPEC. Ignoresdk: flutterunderdependencies. - Id
project.dart.pubspec, miss =fail. - Add the
explain.pyentry, adocs/checks.mdrow, a CHANGELOG line, the README check list mention and unit tests (quoted/unquoted spec,sdk: flutterin dependencies is ignored, hostile line, too old).
Done when:
- The pubspec above with Dart 2.19 installed gives one
failshowing both versions. - A Flutter app's
dependencies: flutter: sdk: flutternever counts as a version.
Out of scope: the flutter: constraint under environment (follow-up).
Done when: see the list above, plus pytest, ruff check and ruff format --check pass.
Notes:
- Read-only: never execute project files, never echo file contents; only a validated version or spec reaches the report.
- No network, no new runtime dependencies (Python >= 3.10 stdlib only).
- Comment below to claim it and I will assign you.
- 主要言語
- Python
- スター
- 2
- フォーク
- 3
- 平均マージ
- 10時間 51分
- マージ済み PR(30日)
- 40
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Evalogical-Inc/devReady のほかの issue
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Evalogical-Inc/devReady#71 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Evalogical-Inc/devReady#66 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 3〜5日 初心者へのやさしさ 72/100
Evalogical-Inc/devReady#61 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
Evalogical-Inc/devReady#72 ·
メンテナーはふだん 1 日以内に返信
-
Read the Java pin from .sdkmanrc対応中かも @Utkarsh3725 が今日担当しました。 オープンenhancement good first issue help wanted
難易度 3/5 半日 初心者へのやさしさ 74/100
Evalogical-Inc/devReady#70 ·
メンテナーはふだん 1 日以内に返信
Evalogical-Inc/devReady の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dbt-labs/spark-utils#51 ·
-
bug pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pydantic/pydantic-ai#13444 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
changelog investigate
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
ramnes/notion-sdk-py#502 ·