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

Cannot upload local file for submit_py_files in V3

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

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

@rsareddy0329 がすでに取り組んでいます。

2026年9月30日 から。

  • #6318 @jam-jee による — マージされずにクローズ
  • #6364 @rsareddy0329 による — オープン

評価

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

調査の方向性

sagemaker/core/spark/processing.py の PySparkProcessor.run() コードの 508〜512 行付近から始め、submit_py_files 内のローカルパスがどのように ProcessingInput に変換されるかを追跡します。ローカルファイルパスが受け入れられ、報告されている Pydantic のバリデーションエラーなしで処理ジョブが正常に開始されれば完了です。

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

説明

PySDK Version

  • PySDK V2 (2.x)
  • PySDK V3 (3.x)

Describe the bug

The PySparkProcessor run no longer accepts local files due to the change to ProcessingInput interface - e.g. regression introduced in 3203e49

To reproduce

Insert a local file path into the list passed as submit_py_files in sagemaker.core.spark.processing.PySparkProcessor.run().

(Let me know if you need a more concrete example).

Expected behavior

Successfully starts the job.

Screenshots or logs

PyDantic reports the following errors:

ValidationError: 2 validation errors for ProcessingInput
source
  Extra inputs are not permitted [type=extra_forbidden, input_value='s3://sagemaker-.../input/py-files', input_type=str]
    For further information visit https://errors.pydantic.dev/2.13/v/extra_forbidden
destination
  Extra inputs are not permitted [type=extra_forbidden, input_value='/opt/ml/processing/input/py-files', input_type=str]
    For further information visit https://errors.pydantic.dev/2.13/v/extra_forbidden

The cause of the error is here:

            input_channel = ProcessingInput(
                source=input_channel_s3_uri,
                destination=f"{self._conf_container_base_path}{input_channel_name}",
                input_name=input_channel_name,
            )

System information

  • AWS SageMaker Studio 4.4.3
  • sagemaker-core: 2.20
  • Python 3.12.14
  • uname: Linux default 6.12.103-127.188.amzn2023.x86_64 SMP PREEMPT_DYNAMIC Tue Aug 25 15:42:53 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

Additional context

主要言語
Python
スター
2.3k
フォーク
1.3k
平均マージ
3日 7時間
マージ済み PR(30日)
87

環境構築

はじめの一歩

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

aws/sagemaker-python-sdk のほかの issue

aws/sagemaker-python-sdk の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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