Skip to content

Commit 9f13e3d

Browse files
dependabot[bot]actions-userroger-zhanggclaude
authored
chore(deps): bump the cookiecutter group across 1 directory with 2 updates (#8822)
* chore(deps): bump the cookiecutter group across 1 directory with 2 updates Bumps the cookiecutter group with 2 updates in the / directory: [chardet](https://github.com/chardet/chardet) and [binaryornot](https://github.com/binaryornot/binaryornot). Updates `chardet` from 5.2.0 to 7.4.3 - [Release notes](https://github.com/chardet/chardet/releases) - [Changelog](https://github.com/chardet/chardet/blob/main/docs/changelog.rst) - [Commits](chardet/chardet@5.2.0...7.4.3) Updates `binaryornot` from 0.4.4 to 0.6.0 - [Release notes](https://github.com/binaryornot/binaryornot/releases) - [Commits](binaryornot/binaryornot@0.4.4...v0.6.0) --- updated-dependencies: - dependency-name: binaryornot dependency-version: 0.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cookiecutter - dependency-name: chardet dependency-version: 7.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: cookiecutter ... Signed-off-by: dependabot[bot] <support@github.com> * Update reproducible requirements * Update pyproject.toml * fix: bundle binaryornot.data subpackage via PyInstaller hook binaryornot 0.6.0 ships a new binaryornot.data subpackage containing binary_extensions.csv, binary_formats.csv and encodings.csv, loaded via importlib.resources.files() at import time. PyInstaller can't discover that resource lookup statically, so the bundled binary fails on `sam init` with `No module named 'binaryornot.data'`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Roger Zhang <ruojiazh@amazon.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e487bce commit 9f13e3d

4 files changed

Lines changed: 12 additions & 21 deletions

File tree

installer/pyinstaller/hook-samcli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
# cookiecutter 2.2.3 added the version in a file called VERSION.txt which needs to be added
1717
# for sam init to run cookiecutter using pyinstaller https://github.com/cookiecutter/cookiecutter/releases/tag/2.2.3
1818
+ hooks.collect_all("cookiecutter", include_py_files=False)[0]
19+
# binaryornot 0.6.0 moved its binary signature/extension/encoding tables into a binaryornot.data
20+
# subpackage that is loaded via importlib.resources.files() at import time
21+
+ hooks.collect_all("binaryornot", include_py_files=False)[0]
1922
# Collect ONLY data files.
2023
+ hooks.collect_data_files("samcli")
2124
+ hooks.collect_data_files("samtranslator")

requirements/reproducible-linux.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ awscrt==0.32.2 \
7878
--hash=sha256:ff0fff9c2b613d7fabc298b0fd81f0d7056353f3d20271a852a719c5b2f7ccf4 \
7979
--hash=sha256:ffb40027e6779138f6cb9b11a85ef76d00ef6b015de6d8ae8e6598659c4af996
8080
# via botocore
81-
binaryornot==0.4.4 \
82-
--hash=sha256:359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061 \
83-
--hash=sha256:b8b71173c917bddcd2c16070412e369c3ed7f0528926f70cac18a6c97fd563e4
81+
binaryornot==0.6.0 \
82+
--hash=sha256:900adfd5e1b821255ba7e63139b0396b14c88b9286e74e03b6f51e0200331337 \
83+
--hash=sha256:cc8d57cfa71d74ff8c28a7726734d53a851d02fad9e3a5581fb807f989f702f0
8484
# via cookiecutter
8585
blinker==1.9.0 \
8686
--hash=sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf \
@@ -200,10 +200,6 @@ cfn-lint==1.48.1 \
200200
--hash=sha256:1855dce6b97528ff532e3f5a3aa5b659f40e51c338192a0ba82c1af88882b6f7 \
201201
--hash=sha256:73785acd4fcb71ed68183589f7dcf9e46fd0ad9fb01f704243cb07993490a40e
202202
# via aws-sam-cli (pyproject.toml)
203-
chardet==5.2.0 \
204-
--hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \
205-
--hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970
206-
# via binaryornot
207203
charset-normalizer==3.4.7 \
208204
--hash=sha256:007d05ec7321d12a40227aae9e2bc6dca73f3cb21058999a1df9e193555a9dcc \
209205
--hash=sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c \

requirements/reproducible-mac.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ awscrt==0.32.2 \
7878
--hash=sha256:ff0fff9c2b613d7fabc298b0fd81f0d7056353f3d20271a852a719c5b2f7ccf4 \
7979
--hash=sha256:ffb40027e6779138f6cb9b11a85ef76d00ef6b015de6d8ae8e6598659c4af996
8080
# via botocore
81-
binaryornot==0.4.4 \
82-
--hash=sha256:359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061 \
83-
--hash=sha256:b8b71173c917bddcd2c16070412e369c3ed7f0528926f70cac18a6c97fd563e4
81+
binaryornot==0.6.0 \
82+
--hash=sha256:900adfd5e1b821255ba7e63139b0396b14c88b9286e74e03b6f51e0200331337 \
83+
--hash=sha256:cc8d57cfa71d74ff8c28a7726734d53a851d02fad9e3a5581fb807f989f702f0
8484
# via cookiecutter
8585
blinker==1.9.0 \
8686
--hash=sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf \
@@ -200,10 +200,6 @@ cfn-lint==1.48.1 \
200200
--hash=sha256:1855dce6b97528ff532e3f5a3aa5b659f40e51c338192a0ba82c1af88882b6f7 \
201201
--hash=sha256:73785acd4fcb71ed68183589f7dcf9e46fd0ad9fb01f704243cb07993490a40e
202202
# via aws-sam-cli (pyproject.toml)
203-
chardet==5.2.0 \
204-
--hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \
205-
--hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970
206-
# via binaryornot
207203
charset-normalizer==3.4.7 \
208204
--hash=sha256:007d05ec7321d12a40227aae9e2bc6dca73f3cb21058999a1df9e193555a9dcc \
209205
--hash=sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c \

requirements/reproducible-win.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ awscrt==0.32.2 \
7878
--hash=sha256:ff0fff9c2b613d7fabc298b0fd81f0d7056353f3d20271a852a719c5b2f7ccf4 \
7979
--hash=sha256:ffb40027e6779138f6cb9b11a85ef76d00ef6b015de6d8ae8e6598659c4af996
8080
# via botocore
81-
binaryornot==0.4.4 \
82-
--hash=sha256:359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061 \
83-
--hash=sha256:b8b71173c917bddcd2c16070412e369c3ed7f0528926f70cac18a6c97fd563e4
81+
binaryornot==0.6.0 \
82+
--hash=sha256:900adfd5e1b821255ba7e63139b0396b14c88b9286e74e03b6f51e0200331337 \
83+
--hash=sha256:cc8d57cfa71d74ff8c28a7726734d53a851d02fad9e3a5581fb807f989f702f0
8484
# via cookiecutter
8585
blinker==1.9.0 \
8686
--hash=sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf \
@@ -200,10 +200,6 @@ cfn-lint==1.48.1 \
200200
--hash=sha256:1855dce6b97528ff532e3f5a3aa5b659f40e51c338192a0ba82c1af88882b6f7 \
201201
--hash=sha256:73785acd4fcb71ed68183589f7dcf9e46fd0ad9fb01f704243cb07993490a40e
202202
# via aws-sam-cli (pyproject.toml)
203-
chardet==5.2.0 \
204-
--hash=sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7 \
205-
--hash=sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970
206-
# via binaryornot
207203
charset-normalizer==3.4.7 \
208204
--hash=sha256:007d05ec7321d12a40227aae9e2bc6dca73f3cb21058999a1df9e193555a9dcc \
209205
--hash=sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c \

0 commit comments

Comments
 (0)