aws-cdk.aws-lambda-python-alpha 2.203.1a0__tar.gz → 2.205.0a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. {aws_cdk_aws_lambda_python_alpha-2.203.1a0/src/aws_cdk.aws_lambda_python_alpha.egg-info → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/PKG-INFO +19 -6
  2. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/README.md +17 -4
  3. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/setup.py +3 -3
  4. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk/aws_lambda_python_alpha/__init__.py +17 -4
  5. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +2 -2
  6. aws_cdk_aws_lambda_python_alpha-2.205.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.205.0-alpha.0.jsii.tgz +0 -0
  7. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info}/PKG-INFO +19 -6
  8. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/SOURCES.txt +1 -1
  9. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +1 -1
  10. aws_cdk_aws_lambda_python_alpha-2.203.1a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.203.1-alpha.0.jsii.tgz +0 -0
  11. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/LICENSE +0 -0
  12. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/MANIFEST.in +0 -0
  13. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/NOTICE +0 -0
  14. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/pyproject.toml +0 -0
  15. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/setup.cfg +0 -0
  16. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk/aws_lambda_python_alpha/py.typed +0 -0
  17. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/dependency_links.txt +0 -0
  18. {aws_cdk_aws_lambda_python_alpha-2.203.1a0 → aws_cdk_aws_lambda_python_alpha-2.205.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.203.1a0
3
+ Version: 2.205.0a0
4
4
  Summary: The CDK Construct Library for AWS Lambda in Python
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.203.1
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.205.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
27
  Requires-Dist: jsii<2.0.0,>=1.112.0
28
28
  Requires-Dist: publication>=0.0.3
@@ -93,22 +93,23 @@ python.PythonFunction(self, "MyFunction",
93
93
 
94
94
  ## Packaging
95
95
 
96
- If `requirements.txt`, `Pipfile` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.7) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
96
+ If `requirements.txt`, `Pipfile`, `uv.lock` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.13) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
97
97
 
98
98
  Python bundles are only recreated and published when a file in a source directory has changed.
99
99
  Therefore (and as a general best-practice), it is highly recommended to commit a lockfile with a
100
100
  list of all transitive dependencies and their exact versions. This will ensure that when any dependency version is updated, the bundle asset is recreated and uploaded.
101
101
 
102
- To that end, we recommend using [`pipenv`] or [`poetry`] which have lockfile support.
102
+ To that end, we recommend using [`pipenv`], [`uv`] or [`poetry`] which have lockfile support.
103
103
 
104
104
  * [`pipenv`](https://pipenv-fork.readthedocs.io/en/latest/basics.html#example-pipfile-lock)
105
105
  * [`poetry`](https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control)
106
+ * [`uv`](https://docs.astral.sh/uv/concepts/projects/sync/#exporting-the-lockfile)
106
107
 
107
108
  Packaging is executed using the `Packaging` class, which:
108
109
 
109
110
  1. Infers the packaging type based on the files present.
110
- 2. If it sees a `Pipfile` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
111
- 3. Installs dependencies using `pip`.
111
+ 2. If it sees a `Pipfile`, `uv.lock` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
112
+ 3. Installs dependencies using `pip` or `uv`.
112
113
  4. Copies the dependencies into an asset that is bundled for the Lambda package.
113
114
 
114
115
  **Lambda with a requirements.txt**
@@ -137,6 +138,18 @@ Packaging is executed using the `Packaging` class, which:
137
138
  ├── poetry.lock # your poetry lock file has to be present at the entry path
138
139
  ```
139
140
 
141
+ **Lambda with a uv.lock**
142
+
143
+ Reference: https://docs.astral.sh/uv/concepts/projects/layout/
144
+
145
+ ```plaintext
146
+ .
147
+ ├── lambda_function.py # exports a function named 'handler'
148
+ ├── pyproject.toml # your poetry project definition
149
+ ├── uv.lock # your uv lock file has to be present at the entry path
150
+ ├── .python-version # this file is ignored, python version is configured via Runtime
151
+ ```
152
+
140
153
  **Excluding source files**
141
154
 
142
155
  You can exclude files from being copied using the optional bundling string array parameter `assetExcludes`:
@@ -63,22 +63,23 @@ python.PythonFunction(self, "MyFunction",
63
63
 
64
64
  ## Packaging
65
65
 
66
- If `requirements.txt`, `Pipfile` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.7) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
66
+ If `requirements.txt`, `Pipfile`, `uv.lock` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.13) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
67
67
 
68
68
  Python bundles are only recreated and published when a file in a source directory has changed.
69
69
  Therefore (and as a general best-practice), it is highly recommended to commit a lockfile with a
70
70
  list of all transitive dependencies and their exact versions. This will ensure that when any dependency version is updated, the bundle asset is recreated and uploaded.
71
71
 
72
- To that end, we recommend using [`pipenv`] or [`poetry`] which have lockfile support.
72
+ To that end, we recommend using [`pipenv`], [`uv`] or [`poetry`] which have lockfile support.
73
73
 
74
74
  * [`pipenv`](https://pipenv-fork.readthedocs.io/en/latest/basics.html#example-pipfile-lock)
75
75
  * [`poetry`](https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control)
76
+ * [`uv`](https://docs.astral.sh/uv/concepts/projects/sync/#exporting-the-lockfile)
76
77
 
77
78
  Packaging is executed using the `Packaging` class, which:
78
79
 
79
80
  1. Infers the packaging type based on the files present.
80
- 2. If it sees a `Pipfile` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
81
- 3. Installs dependencies using `pip`.
81
+ 2. If it sees a `Pipfile`, `uv.lock` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
82
+ 3. Installs dependencies using `pip` or `uv`.
82
83
  4. Copies the dependencies into an asset that is bundled for the Lambda package.
83
84
 
84
85
  **Lambda with a requirements.txt**
@@ -107,6 +108,18 @@ Packaging is executed using the `Packaging` class, which:
107
108
  ├── poetry.lock # your poetry lock file has to be present at the entry path
108
109
  ```
109
110
 
111
+ **Lambda with a uv.lock**
112
+
113
+ Reference: https://docs.astral.sh/uv/concepts/projects/layout/
114
+
115
+ ```plaintext
116
+ .
117
+ ├── lambda_function.py # exports a function named 'handler'
118
+ ├── pyproject.toml # your poetry project definition
119
+ ├── uv.lock # your uv lock file has to be present at the entry path
120
+ ├── .python-version # this file is ignored, python version is configured via Runtime
121
+ ```
122
+
110
123
  **Excluding source files**
111
124
 
112
125
  You can exclude files from being copied using the optional bundling string array parameter `assetExcludes`:
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.aws-lambda-python-alpha",
8
- "version": "2.203.1.a0",
8
+ "version": "2.205.0.a0",
9
9
  "description": "The CDK Construct Library for AWS Lambda in Python",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.aws_lambda_python_alpha._jsii": [
29
- "aws-lambda-python-alpha@2.203.1-alpha.0.jsii.tgz"
29
+ "aws-lambda-python-alpha@2.205.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_lambda_python_alpha": [
32
32
  "py.typed"
@@ -34,7 +34,7 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.203.1, <3.0.0",
37
+ "aws-cdk-lib>=2.205.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
39
  "jsii>=1.112.0, <2.0.0",
40
40
  "publication>=0.0.3",
@@ -64,22 +64,23 @@ python.PythonFunction(self, "MyFunction",
64
64
 
65
65
  ## Packaging
66
66
 
67
- If `requirements.txt`, `Pipfile` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.7) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
67
+ If `requirements.txt`, `Pipfile`, `uv.lock` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.13) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
68
68
 
69
69
  Python bundles are only recreated and published when a file in a source directory has changed.
70
70
  Therefore (and as a general best-practice), it is highly recommended to commit a lockfile with a
71
71
  list of all transitive dependencies and their exact versions. This will ensure that when any dependency version is updated, the bundle asset is recreated and uploaded.
72
72
 
73
- To that end, we recommend using [`pipenv`] or [`poetry`] which have lockfile support.
73
+ To that end, we recommend using [`pipenv`], [`uv`] or [`poetry`] which have lockfile support.
74
74
 
75
75
  * [`pipenv`](https://pipenv-fork.readthedocs.io/en/latest/basics.html#example-pipfile-lock)
76
76
  * [`poetry`](https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control)
77
+ * [`uv`](https://docs.astral.sh/uv/concepts/projects/sync/#exporting-the-lockfile)
77
78
 
78
79
  Packaging is executed using the `Packaging` class, which:
79
80
 
80
81
  1. Infers the packaging type based on the files present.
81
- 2. If it sees a `Pipfile` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
82
- 3. Installs dependencies using `pip`.
82
+ 2. If it sees a `Pipfile`, `uv.lock` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
83
+ 3. Installs dependencies using `pip` or `uv`.
83
84
  4. Copies the dependencies into an asset that is bundled for the Lambda package.
84
85
 
85
86
  **Lambda with a requirements.txt**
@@ -108,6 +109,18 @@ Packaging is executed using the `Packaging` class, which:
108
109
  ├── poetry.lock # your poetry lock file has to be present at the entry path
109
110
  ```
110
111
 
112
+ **Lambda with a uv.lock**
113
+
114
+ Reference: https://docs.astral.sh/uv/concepts/projects/layout/
115
+
116
+ ```plaintext
117
+ .
118
+ ├── lambda_function.py # exports a function named 'handler'
119
+ ├── pyproject.toml # your poetry project definition
120
+ ├── uv.lock # your uv lock file has to be present at the entry path
121
+ ├── .python-version # this file is ignored, python version is configured via Runtime
122
+ ```
123
+
111
124
  **Excluding source files**
112
125
 
113
126
  You can exclude files from being copied using the optional bundling string array parameter `assetExcludes`:
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@aws-cdk/aws-lambda-python-alpha",
36
- "2.203.1-alpha.0",
36
+ "2.205.0-alpha.0",
37
37
  __name__[0:-6],
38
- "aws-lambda-python-alpha@2.203.1-alpha.0.jsii.tgz",
38
+ "aws-lambda-python-alpha@2.205.0-alpha.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.203.1a0
3
+ Version: 2.205.0a0
4
4
  Summary: The CDK Construct Library for AWS Lambda in Python
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.203.1
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.205.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
27
  Requires-Dist: jsii<2.0.0,>=1.112.0
28
28
  Requires-Dist: publication>=0.0.3
@@ -93,22 +93,23 @@ python.PythonFunction(self, "MyFunction",
93
93
 
94
94
  ## Packaging
95
95
 
96
- If `requirements.txt`, `Pipfile` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.7) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
96
+ If `requirements.txt`, `Pipfile`, `uv.lock` or `poetry.lock` exists at the entry path, the construct will handle installing all required modules in a [Lambda compatible Docker container](https://gallery.ecr.aws/sam/build-python3.13) according to the `runtime` and with the Docker platform based on the target architecture of the Lambda function.
97
97
 
98
98
  Python bundles are only recreated and published when a file in a source directory has changed.
99
99
  Therefore (and as a general best-practice), it is highly recommended to commit a lockfile with a
100
100
  list of all transitive dependencies and their exact versions. This will ensure that when any dependency version is updated, the bundle asset is recreated and uploaded.
101
101
 
102
- To that end, we recommend using [`pipenv`] or [`poetry`] which have lockfile support.
102
+ To that end, we recommend using [`pipenv`], [`uv`] or [`poetry`] which have lockfile support.
103
103
 
104
104
  * [`pipenv`](https://pipenv-fork.readthedocs.io/en/latest/basics.html#example-pipfile-lock)
105
105
  * [`poetry`](https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control)
106
+ * [`uv`](https://docs.astral.sh/uv/concepts/projects/sync/#exporting-the-lockfile)
106
107
 
107
108
  Packaging is executed using the `Packaging` class, which:
108
109
 
109
110
  1. Infers the packaging type based on the files present.
110
- 2. If it sees a `Pipfile` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
111
- 3. Installs dependencies using `pip`.
111
+ 2. If it sees a `Pipfile`, `uv.lock` or a `poetry.lock` file, it exports it to a compatible `requirements.txt` file with credentials (if they're available in the source files or in the bundling container).
112
+ 3. Installs dependencies using `pip` or `uv`.
112
113
  4. Copies the dependencies into an asset that is bundled for the Lambda package.
113
114
 
114
115
  **Lambda with a requirements.txt**
@@ -137,6 +138,18 @@ Packaging is executed using the `Packaging` class, which:
137
138
  ├── poetry.lock # your poetry lock file has to be present at the entry path
138
139
  ```
139
140
 
141
+ **Lambda with a uv.lock**
142
+
143
+ Reference: https://docs.astral.sh/uv/concepts/projects/layout/
144
+
145
+ ```plaintext
146
+ .
147
+ ├── lambda_function.py # exports a function named 'handler'
148
+ ├── pyproject.toml # your poetry project definition
149
+ ├── uv.lock # your uv lock file has to be present at the entry path
150
+ ├── .python-version # this file is ignored, python version is configured via Runtime
151
+ ```
152
+
140
153
  **Excluding source files**
141
154
 
142
155
  You can exclude files from being copied using the optional bundling string array parameter `assetExcludes`:
@@ -12,4 +12,4 @@ src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt
12
12
  src/aws_cdk/aws_lambda_python_alpha/__init__.py
13
13
  src/aws_cdk/aws_lambda_python_alpha/py.typed
14
14
  src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py
15
- src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.203.1-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.205.0-alpha.0.jsii.tgz
@@ -1,4 +1,4 @@
1
- aws-cdk-lib<3.0.0,>=2.203.1
1
+ aws-cdk-lib<3.0.0,>=2.205.0
2
2
  constructs<11.0.0,>=10.0.0
3
3
  jsii<2.0.0,>=1.112.0
4
4
  publication>=0.0.3