[BUG]: `just -f cuda-oxide/Justfile check` fails on wrong python version with useless error

オープン 初心者向け
#1,930 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, rust

調査の方向性

cuda-oxide/Justfileの230行目付近にあるレシピcheck-guardsと、エラーに記載されたスクリプトscripts/check-example-smoketest-contract.shから始めてください。Pythonがどこで呼び出されているか、またプロジェクトがPythonの要件をどのように記載しているかを確認してください。Python 3.11未満では必要なバージョンを明示するメッセージが表示され、サポート対象のバージョンでは引き続きチェックが実行されれば完了です。

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

説明

bug
Description

just -f cuda-oxide/Justfile check fails on wrong python version
Python version should be 3.11 or higher but this is currently not checked.
Currently it fails with No module named 'tomllib' because it is not yet in Python's standard library

Error / actual behavior
bash scripts/check-example-smoketest-contract.sh
Traceback (most recent call last):
  File "<stdin>", line 8, in <module>
ModuleNotFoundError: No module named 'tomllib'
error: recipe `check-guards` failed on line 230 with exit code 1
Expected behavior

It tells me that i need python 3.11+ / mentioned in docs

主要言語
Rust
スター
4.1k
フォーク
384
平均マージ
2日 18時間
マージ済み PR(30日)
102

環境構築

はじめの一歩

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

NVIDIA/cuda-rust のほかの issue

NVIDIA/cuda-rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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