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

Allow python_pip builder to install relative packages

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
aws, python
領域
build-system

調査の方向性

python_pip builder から開始し、sam build 中に pip サブプロセスがどのように呼び出されるかを追跡し、local パスと --use-container パスを比較します。./mypackage のような requirements.txt エントリと、ローカルの setup.py パッケージを使って問題を再現します。両方の build モードで相対パッケージが正常にインストールされれば完了です。

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

説明

area/workflow/python_pip maintainer/need-response stage/pr type/feature

Description:
It is helpful for applications to sometimes structure themselves as multiple, separate packages. sam build currently can't require those local packages because the pip subprocess is run outside of the requirements.txt's directory.

Steps to reproduce the issue:

  1. Init a sam project. Create a sub-package mypackage with its own setup.py.
  2. Add ./mypackages to your requriements.txt
  3. Run sam build

Observed result:
Sam cannot find the local package ./mypackage

Note: this does work currently when sam build --use-container

Expected result:
Sam would find, and install the local package ./mypackage, regardless of building in a container or not.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

主要言語
Python
スター
381
フォーク
162
平均マージ
1日 1時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

aws/aws-lambda-builders のほかの issue

aws/aws-lambda-builders の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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