Github messages for voidlinux
 help / color / mirror / Atom feed
From: bobertlo <bobertlo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] aws-cli: update to 1.22.23 (with deps)
Date: Mon, 13 Dec 2021 00:21:17 +0100	[thread overview]
Message-ID: <20211212232117.D_bmLDZKf61ifesbitMgdD2zM1Mz2rjgQGzgFv7rKKo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34490@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

There is an updated pull request by bobertlo against master on the void-packages repository

https://github.com/bobertlo/void-packages aws-2112
https://github.com/void-linux/void-packages/pull/34490

aws-cli: update to 1.22.23 (with deps)
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: yes

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc

A patch file from https://github.com/void-linux/void-packages/pull/34490.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-aws-2112-34490.patch --]
[-- Type: text/x-diff, Size: 4400 bytes --]

From 9fdb8b5c1b164546ba1e6a2b8e05da0fa2415405 Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Sat, 11 Dec 2021 19:27:22 -0600
Subject: [PATCH 1/3] python3-botocore: update to 1.23.23

---
 srcpkgs/python3-botocore/template | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-botocore/template b/srcpkgs/python3-botocore/template
index 6b2c6f07ac35..0271e9204c19 100644
--- a/srcpkgs/python3-botocore/template
+++ b/srcpkgs/python3-botocore/template
@@ -1,14 +1,21 @@
 # Template file for 'python3-botocore'
 pkgname=python3-botocore
-version=1.17.28
-revision=4
+version=1.23.23
+revision=1
 wrksrc="botocore-${version}"
 build_style=python3-module
+# integration tests want aws credentials
+make_check_target="tests/functional tests/unit"
 hostmakedepends="python3-setuptools"
-depends="python3-dateutil python3-docutils python3-jmespath python3-urllib3"
+depends="python3-dateutil python3-jmespath python3-urllib3"
+checkdepends="$depends python3-pytest python3-jsonschema"
 short_desc="Core functionality library of boto 3 (Python3)"
 maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/boto/botocore"
 distfiles="https://github.com/boto/botocore/archive/${version}.tar.gz"
-checksum=c9a4b4ffedeff89848a899bd4634be46a21a190690b505c2050888c0a5447936
+checksum=6b23a1e91387c1a461f10b17bde9ace15b3c128ed385646ab058644dfedd2c47
+
+pre_check() {
+	rm -r tests/functional/leak # these 6 tests fail, probably fixable
+}

From d0b274453f274a6aeda93f9e59a8587029bfc8f0 Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Sat, 11 Dec 2021 19:30:56 -0600
Subject: [PATCH 2/3] python3-s3transfer: update to 0.5.0

---
 srcpkgs/python3-s3transfer/template | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-s3transfer/template b/srcpkgs/python3-s3transfer/template
index 525c3ad252f5..a848c12ccf27 100644
--- a/srcpkgs/python3-s3transfer/template
+++ b/srcpkgs/python3-s3transfer/template
@@ -1,14 +1,17 @@
 # Template file for 'python3-s3transfer'
 pkgname=python3-s3transfer
-version=0.3.3
-revision=4
+version=0.5.0
+revision=1
 wrksrc="s3transfer-${version}"
 build_style=python3-module
+# integration tests want aws credentials
+make_check_target="tests/unit tests/functional"
 hostmakedepends="python3-setuptools"
 depends="python3-botocore"
+checkdepends="python3-botocore python3-pytest python3-mock"
 short_desc="Amazon S3 Transfer Manager (Python3)"
 maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/boto/s3transfer"
 distfiles="https://github.com/boto/s3transfer/archive/${version}.tar.gz"
-checksum=0c8b0f7aaf32173d1475df0a453bfdc37be8207ea15c1d8415a590ef3986fc51
+checksum=a07ff8461f1dfa081fa5f02c1e6ad3f7bb7a4f3ca424e913ba48fcf5b1c87640

From b2d446182cbe7807842286c646a074cc801d1b8d Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Sat, 11 Dec 2021 19:33:37 -0600
Subject: [PATCH 3/3] aws-cli: update to 1.22.23

---
 srcpkgs/aws-cli/template | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/aws-cli/template b/srcpkgs/aws-cli/template
index 67550003bd47..0448d39f5a61 100644
--- a/srcpkgs/aws-cli/template
+++ b/srcpkgs/aws-cli/template
@@ -1,18 +1,24 @@
 # Template file for 'aws-cli'
 pkgname=aws-cli
-version=1.18.125
-revision=3
+version=1.22.23
+revision=1
 wrksrc="aws-cli-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="groff python3-botocore python3-s3transfer python3-colorama
  python3-rsa python3-yaml python3-docutils"
+checkdepends="$depends python3-pytest"
 short_desc="Universal Command Line Interface for Amazon Web Services"
 maintainer="Robert Lowry <bobertlo@gmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/aws/aws-cli"
 distfiles="https://github.com/aws/aws-cli/archive/${version}.tar.gz"
-checksum=97f632fb7aede8f7986a4bd381f3d460606e9c31ef91f02388f7895dd5822c27
+checksum=d5424e05c87963547d6c98440391c6729e4e4f8eb7a4c64520ff7eefeffe41f3
+
+do_check() {
+	# integration tests want aws credentials, have some other issues not worth fixing
+	PATH=$PWD/bin:$PATH PYTHONPATH=$PWD python3 -m pytest tests/unit tests/functional
+}
 
 post_install() {
 	vinstall bin/aws_bash_completer 644 usr/share/bash-completion/completions aws

  parent reply	other threads:[~2021-12-12 23:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-12  3:35 [PR PATCH] Aws 2112 bobertlo
2021-12-12  5:17 ` aws-cli: update to 1.22.23 (with deps) uhohspaghetios
2021-12-12  8:43 ` dotnetfox
2021-12-12 11:33 ` paper42
2021-12-12 12:49 ` bobertlo
2021-12-12 13:44 ` paper42
2021-12-12 13:46 ` paper42
2021-12-12 13:54 ` paper42
2021-12-12 13:54 ` paper42
2021-12-12 18:02 ` [PR PATCH] [Updated] " bobertlo
2021-12-12 18:08 ` bobertlo
2021-12-12 20:50 ` [PR REVIEW] " paper42
2021-12-12 20:50 ` paper42
2021-12-12 20:50 ` paper42
2021-12-12 23:14 ` [PR PATCH] [Updated] " bobertlo
2021-12-12 23:21 ` bobertlo [this message]
2021-12-12 23:45 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211212232117.D_bmLDZKf61ifesbitMgdD2zM1Mz2rjgQGzgFv7rKKo@z \
    --to=bobertlo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).