Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Support pipenv users whose Pipfile is not in servicePath (serverless.yml location)#858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
alanmun wants to merge1 commit intoserverless:master
base:master
Choose a base branch
Loading
fromalanmun:master

Conversation

alanmun
Copy link

@alanmunalanmun commentedMar 13, 2025
edited
Loading

if you have a project hierarchy like:

root/└── src/    ├── **/*.py    ├── test/*.py    └── serverless.yml├── .env├── Pipfile.lock├── Pipfile├── README.md├── mypy.ini└── pyproject.toml

And run sls deploy in the same dir as the serverless.yml like:

~/MyCode/root/src$ pipenv run sls deploy

Currently this plugin silently fails to detect your Pipfile. This PR adds code to bubble up until either your operating system's root dir is reached or Pipfile is found. This matches with pipenv's behavior, which is to support executing pipenv commands such aspipenv run ,pipenv shell, andpipenv requirements in any subdirectory of a directory containing your Pipfile/the directory where you created your virtualenv.

With this code change, my project hierarchy which looks like the above now successfully packages my serverless project with all of the pipenv generated requirements.

Resolves#857

YazidHamdi reacted with heart emoji
@alanmunalanmun changed the titleSupport pipenv users whose Pipfile is not in servicePath (serverless.yml location)feat: Support pipenv users whose Pipfile is not in servicePath (serverless.yml location)Mar 17, 2025
@alanmun
Copy link
Author

@Mmarzex Hi sorry to be a bother but any chance this could get looked at? My company would appreciate the functionality :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

No requirements are generated when using pipenv while Pipfile and lock are in root dir
1 participant
@alanmun

[8]ページ先頭

©2009-2025 Movatter.jp