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

noDeploy option does not seem to exclude dependencies from zip file#787

paulalex started this conversation inGeneral
Discussion options

I am building a lambda layer using the python requirements plugin and I am trying to exclude some dependencies usingnoDeploy, and when I do this the do not appear in the generated requirements.txt file:

-i https://pypi.org/simplecertifi==2023.7.22; python_version >= '3.6'charset-normalizer==3.2.0; python_full_version >= '3.7.0'idna==3.4; python_version >= '3.5'jmespath==1.0.1; python_version >= '3.7'packaging==23.1; python_version >= '3.7'python-dateutil==2.8.2; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'requests==2.31.0reverse-geocode==1.4.1s3transfer==0.6.2; python_version >= '3.7'six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'tenacity==8.2.3; python_version >= '3.7'urllib3==1.26.16; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'

However, I still get an error that uploading the layer has failed because its too big, and when I expand the requirements zip file generated by the process the folders are actually there, for examplescipy andnumpy are both excluded and do not appear in therequirements.txt file but do appear in the zip.

One thing I have noticed is that dependencies directly referenced in myPipfileare excluded, but transitive dependencies which are not being excluded.

Is this a bug?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
1 participant
@paulalex

[8]ページ先頭

©2009-2025 Movatter.jp