You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-20Lines changed: 1 addition & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,18 +207,7 @@ custom:
207
207
```
208
208
## Omitting Packages
209
209
You can omit a package from deployment with the `noDeploy` option. Note that
210
-
dependencies of omitted packages must explicitly be omitted too. By default,
211
-
the following packages are omitted as they are already installed on Lambda:
212
-
213
-
* boto3
214
-
* botocore
215
-
* docutils
216
-
* jmespath
217
-
* pip
218
-
* python-dateutil
219
-
* s3transfer
220
-
* setuptools
221
-
* six
210
+
dependencies of omitted packages must explicitly be omitted too.
222
211
223
212
This example makes it instead omit pytest:
224
213
```yaml
@@ -228,14 +217,6 @@ custom:
228
217
- pytest
229
218
```
230
219
231
-
To include the default omitted packages, set the `noDeploy` option to an empty
232
-
list:
233
-
```yaml
234
-
custom:
235
-
pythonRequirements:
236
-
noDeploy: []
237
-
```
238
-
239
220
## Extra Config Options
240
221
### Caching
241
222
You can enable two kinds of caching with this plugin which are currently both DISABLED by default. First, a download cache that will cache downloads that pip needs to compile the packages. And second, a what we call "static caching" which caches output of pip after compiling everything for your requirements file. Since generally requirements.txt files rarely change, you will often see large amounts of speed improvements when enabling the static cache feature. These caches will be shared between all your projects if no custom cacheLocation is specified (see below).
0 commit comments