Skip to content

Commit

Permalink
dev-python/botocore: vbump, gzip data
Browse files Browse the repository at this point in the history
in the context of boto/botocore#2365
.json.gz loading has been merged boto/botocore#2628
so we can take advantage of it by gzing all the json in the data folder
all the relevant tests pass so it seems that we are good to go
  • Loading branch information
tgbugs committed Mar 20, 2023
1 parent b53f9c0 commit aff90ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev-python/botocore/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST botocore-1.29.8.gh.tar.gz 10636661 BLAKE2B 3ebd9e5cb6cc1a9d4ddb877e806e0a845e6a19a4604b4489dbdb9a0f35251201de5d7062f3b0193db3e28f5170d8c3315fdc0b2bec7668a61880ff3e9305d3bc SHA512 c4a1a3993576bd0340de4eeb25e10650219e9d74c21f7e51e5298120bc92a8359143c38d5a991b940316fc5eac483e4e838298881a5c068fa91dc3ebf92a7f5a
EBUILD botocore-1.29.8.ebuild 1807 BLAKE2B 5154b4e3f634a7ce9c239d5c51bea8f5bad6a621a14d9888a939db0588141428417d0ba1305ca3f13bd172410a6429c249d727d225cf19ca4409325a6553f856 SHA512 a25d8cd815db686017c27a88953fcd81ce87861152a05abc49a9f2c9a23d4e1f1661e5bfb1aa9550c351fcf36e7b2011af1d545e8e325975bbdfef70e7f97ca9
DIST botocore-1.29.74.gh.tar.gz 11153254 BLAKE2B b3d3b75643cd5e3fac54a09e971daa23a043ba9f7ab773c2fd57dc15417c1b30c6f503515bad8734332bc40c4210e4ac09566c0742649c6ac3592e81ae9f8d79 SHA512 944ebbf1268fa9e8bb68ce5960da347613bcab585bf54c2fd6dbecb499088c1dc426357cde0a0f0d1780ecbc06acc33d8587f37c7f3d13577283b4549a353406
EBUILD botocore-1.29.74.ebuild 1964 BLAKE2B 43dbdf5f3051dd55975db74db0739fab752ea5ff69bfa84f6e2aed625ff4517a1969256780eae371f0ae43dcfac2cdd362d95a79041c1c4947d5e4e5d856649a SHA512 c8057a314bbbbb1e5baa8bee11039bc75233367484223ed1596d38220a3af0135e4da9c7c6dcda86ca9d42ba2f556d25aee928551faf75f12c37ccded8198b0f
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand Down Expand Up @@ -55,6 +55,8 @@ src_prepare() {
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die

find botocore/data -name '*.json' -exec gzip {} \; || die

distutils-r1_src_prepare
}

Expand All @@ -66,6 +68,8 @@ python_test() {
# fails on unrelated warnings
tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
# TODO
tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider
)

epytest tests/{functional,unit} -n "$(makeopts_jobs)"
Expand Down

0 comments on commit aff90ad

Please sign in to comment.