[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 17:37:27
  Author: foutrelis
Revision: 752724

upgpkg: python-aiobotocore 1.1.2-3: Python 3.9 rebuild

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 17:37:24 UTC (rev 752723)
+++ PKGBUILD2020-11-12 17:37:27 UTC (rev 752724)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=1.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-10-08 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, October 9, 2020 @ 05:05:38
  Author: yan12125
Revision: 722271

upgpkg: python-aiobotocore 1.1.2-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-10-09 05:00:49 UTC (rev 722270)
+++ PKGBUILD2020-10-09 05:05:38 UTC (rev 722271)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.1.1
+pkgver=1.1.2
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -13,7 +13,7 @@
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff)
-sha256sums=('ffd16de32877486ab484ab1faf5d0feeaab0c0c5054c1acc6b2131e6a6743f3e'
+sha256sums=('3a57646e4692076f3637e1191129377ebb7661f36c29f68ec8318fab82d66e7d'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-09-01 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, September 1, 2020 @ 10:32:50
  Author: yan12125
Revision: 695354

upgpkg: python-aiobotocore 1.1.1-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-01 10:32:46 UTC (rev 695353)
+++ PKGBUILD2020-09-01 10:32:50 UTC (rev 695354)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.1.0
+pkgver=1.1.1
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -13,7 +13,7 @@
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff)
-sha256sums=('c6fb60b1a29392475a38fbabfc5118e46ccce983bfe0cbb3da91528e92cd8f92'
+sha256sums=('ffd16de32877486ab484ab1faf5d0feeaab0c0c5054c1acc6b2131e6a6743f3e'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-08-24 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, August 24, 2020 @ 12:19:14
  Author: yan12125
Revision: 687603

upgpkg: python-aiobotocore 1.1.0-1; fixes makedepends

setup.py uses setuptools. Not noticed that as other dependencies have pulled 
setuptools.

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-24 11:12:11 UTC (rev 687602)
+++ PKGBUILD2020-08-24 12:19:14 UTC (rev 687603)
@@ -2,17 +2,18 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.0.7
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
 license=(Apache)
 depends=(python python-aiohttp python-botocore python-wrapt 
python-aioitertools)
+makedepends=(python-setuptools)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff)
-sha256sums=('0789c379925c2f65a639e978bb20a35f4e242a46d2272f212f159f9a14f28f13'
+sha256sums=('c6fb60b1a29392475a38fbabfc5118e46ccce983bfe0cbb3da91528e92cd8f92'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD pytest-event-loop.diff)

2020-07-05 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, July 5, 2020 @ 15:48:28
  Author: yan12125
Revision: 657879

upgpkg: python-aiobotocore 1.0.7-2; fix non-reproducibility; drop unneeded patch

* The pytest issue seems fixed with pytest-asyncio 0.12.0
  https://github.com/pytest-dev/pytest-asyncio/pull/156

* Importing Python modules from build/lib in check() leads to .pyc files that
  have paths /build/python-aiobotocore/src/...

Modified:
  python-aiobotocore/trunk/PKGBUILD
Deleted:
  python-aiobotocore/trunk/pytest-event-loop.diff

+
 PKGBUILD   |   11 ---
 pytest-event-loop.diff |   13 -
 2 files changed, 4 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-05 15:47:00 UTC (rev 657878)
+++ PKGBUILD2020-07-05 15:48:28 UTC (rev 657879)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=1.0.7
-pkgrel=1
+pkgrel=2
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
@@ -11,11 +11,9 @@
 depends=(python python-aiohttp python-botocore python-wrapt 
python-aioitertools)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
-unittest-mock.diff
-pytest-event-loop.diff)
+unittest-mock.diff)
 sha256sums=('0789c379925c2f65a639e978bb20a35f4e242a46d2272f212f159f9a14f28f13'
-'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e'
-'02700f174c58d754e501169737cf04f06f85f536b3bb4f44f422e213ab600e46')
+'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -22,7 +20,6 @@
   # community/python-mock is outdated and does not include needed AsyncMock.
   # Use mock from stdlib instead. It has AsyncMock since 3.8
   patch -Np1 -i ../unittest-mock.diff
-  patch -Np1 -i ../pytest-event-loop.diff
 
   # Disable dependency pinning
   # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670
@@ -38,7 +35,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  export PYTHONPATH="$PWD/build/lib:$PWD"
+  export PYTHONPATH="$PWD"
   # test_lambda uses moto.awslambda, which requires a running Docker service
   pytest -v -m moto tests \
   --ignore=tests/test_patches.py \

Deleted: pytest-event-loop.diff
===
--- pytest-event-loop.diff  2020-07-05 15:47:00 UTC (rev 657878)
+++ pytest-event-loop.diff  2020-07-05 15:48:28 UTC (rev 657879)
@@ -1,13 +0,0 @@
-diff --git a/tests/conftest.py b/tests/conftest.py
-index 4393d32..58d09ab 100644
 a/tests/conftest.py
-+++ b/tests/conftest.py
-@@ -90,7 +90,7 @@ def aa_succeed_proxy_config(monkeypatch):
- 
- 
- @pytest.fixture
--def session():
-+def session(event_loop):
- session = aiobotocore.session.AioSession()
- return session
- 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-06-06 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, June 6, 2020 @ 05:59:11
  Author: yan12125
Revision: 639299

upgpkg: python-aiobotocore 1.0.7-1; add comments for the mock patch

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-06 04:42:01 UTC (rev 639298)
+++ PKGBUILD2020-06-06 05:59:11 UTC (rev 639299)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.0.4
+pkgver=1.0.7
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -13,12 +13,14 @@
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff
 pytest-event-loop.diff)
-sha256sums=('ef9cae30ee8fa2b0b70e92a45d221d6ee7e77d2d7dc26a4e79ab13eaa1e7200d'
+sha256sums=('0789c379925c2f65a639e978bb20a35f4e242a46d2272f212f159f9a14f28f13'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e'
 '02700f174c58d754e501169737cf04f06f85f536b3bb4f44f422e213ab600e46')
 
 prepare() {
   cd $_pkgname-$pkgver
+  # community/python-mock is outdated and does not include needed AsyncMock.
+  # Use mock from stdlib instead. It has AsyncMock since 3.8
   patch -Np1 -i ../unittest-mock.diff
   patch -Np1 -i ../pytest-event-loop.diff
 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD pytest-event-loop.diff)

2020-04-30 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, April 30, 2020 @ 09:47:36
  Author: yan12125
Revision: 622429

python-aiobotocore: make tests pass with pytest-asyncio 0.11

Inspired by https://github.com/pytest-dev/pytest-asyncio/issues/38. I haven't 
investigated for the actual cause yet, though.

Added:
  python-aiobotocore/trunk/pytest-event-loop.diff
Modified:
  python-aiobotocore/trunk/PKGBUILD

+
 PKGBUILD   |7 +--
 pytest-event-loop.diff |   13 +
 2 files changed, 18 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-30 08:36:43 UTC (rev 622428)
+++ PKGBUILD2020-04-30 09:47:36 UTC (rev 622429)
@@ -11,13 +11,16 @@
 depends=(python python-aiohttp python-botocore python-wrapt 
python-aioitertools)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
-unittest-mock.diff)
+unittest-mock.diff
+pytest-event-loop.diff)
 sha256sums=('ef9cae30ee8fa2b0b70e92a45d221d6ee7e77d2d7dc26a4e79ab13eaa1e7200d'
-'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
+'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e'
+'02700f174c58d754e501169737cf04f06f85f536b3bb4f44f422e213ab600e46')
 
 prepare() {
   cd $_pkgname-$pkgver
   patch -Np1 -i ../unittest-mock.diff
+  patch -Np1 -i ../pytest-event-loop.diff
 
   # Disable dependency pinning
   # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670

Added: pytest-event-loop.diff
===
--- pytest-event-loop.diff  (rev 0)
+++ pytest-event-loop.diff  2020-04-30 09:47:36 UTC (rev 622429)
@@ -0,0 +1,13 @@
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 4393d32..58d09ab 100644
+--- a/tests/conftest.py
 b/tests/conftest.py
+@@ -90,7 +90,7 @@ def aa_succeed_proxy_config(monkeypatch):
+ 
+ 
+ @pytest.fixture
+-def session():
++def session(event_loop):
+ session = aiobotocore.session.AioSession()
+ return session
+ 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-04-16 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, April 17, 2020 @ 04:11:04
  Author: yan12125
Revision: 615402

upgpkg: python-aiobotocore 1.0.4-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-17 03:56:28 UTC (rev 615401)
+++ PKGBUILD2020-04-17 04:11:04 UTC (rev 615402)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.0.3
+pkgver=1.0.4
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -12,7 +12,7 @@
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff)
-sha256sums=('a80420047960d75434cf68b56eee9a5b765b5c9df4b279fe54d69e3d5fb1e84f'
+sha256sums=('ef9cae30ee8fa2b0b70e92a45d221d6ee7e77d2d7dc26a4e79ab13eaa1e7200d'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {
@@ -33,7 +33,11 @@
 check() {
   cd $_pkgname-$pkgver
 
-  PYTHONPATH="$PWD/build/lib:$PWD" pytest -v -m moto tests 
--ignore=tests/test_patches.py
+  export PYTHONPATH="$PWD/build/lib:$PWD"
+  # test_lambda uses moto.awslambda, which requires a running Docker service
+  pytest -v -m moto tests \
+  --ignore=tests/test_patches.py \
+  --ignore=tests/test_lambda.py
 }
 
 package() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-04-10 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, April 10, 2020 @ 12:27:28
  Author: yan12125
Revision: 613085

upgpkg: python-aiobotocore 1.0.3-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-10 12:19:32 UTC (rev 613084)
+++ PKGBUILD2020-04-10 12:27:28 UTC (rev 613085)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.0.2
+pkgver=1.0.3
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -12,7 +12,7 @@
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff)
-sha256sums=('0f8c3fab20f18fce65eacf547a144c2d18953006dec89b9ff13b0f343a5e91dd'
+sha256sums=('a80420047960d75434cf68b56eee9a5b765b5c9df4b279fe54d69e3d5fb1e84f'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-04-06 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, April 7, 2020 @ 04:51:21
  Author: yan12125
Revision: 612425

upgpkg: python-aiobotocore 1.0.2-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-07 04:03:26 UTC (rev 612424)
+++ PKGBUILD2020-04-07 04:51:21 UTC (rev 612425)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=1.0.1
+pkgver=1.0.2
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -12,7 +12,7 @@
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 unittest-mock.diff)
-sha256sums=('55b3afca3da9e3bee4a902d7af1a1e9dadb16fb79b46b5ee6a896654509d3bee'
+sha256sums=('0f8c3fab20f18fce65eacf547a144c2d18953006dec89b9ff13b0f343a5e91dd'
 'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD unittest-mock.diff)

2020-04-04 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, April 5, 2020 @ 02:30:13
  Author: yan12125
Revision: 611772

upgpkg: python-aiobotocore 1.0.1-1

Added:
  python-aiobotocore/trunk/unittest-mock.diff
Modified:
  python-aiobotocore/trunk/PKGBUILD

+
 PKGBUILD   |9 ++---
 unittest-mock.diff |   37 +
 2 files changed, 43 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-05 02:15:41 UTC (rev 611771)
+++ PKGBUILD2020-04-05 02:30:13 UTC (rev 611772)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.12.0
+pkgver=1.0.1
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -10,11 +10,14 @@
 license=(Apache)
 depends=(python python-aiohttp python-botocore python-wrapt 
python-aioitertools)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
-source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha256sums=('fa73d5f1306d30c827c7b229648c3a4c6797ee71d4a97de4f7a579b144d82338')
+source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
+unittest-mock.diff)
+sha256sums=('55b3afca3da9e3bee4a902d7af1a1e9dadb16fb79b46b5ee6a896654509d3bee'
+'ffb6b7e922632f4c2de5c93f61ab53e1730cfe151b0a2dde5dfce6260405866e')
 
 prepare() {
   cd $_pkgname-$pkgver
+  patch -Np1 -i ../unittest-mock.diff
 
   # Disable dependency pinning
   # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670

Added: unittest-mock.diff
===
--- unittest-mock.diff  (rev 0)
+++ unittest-mock.diff  2020-04-05 02:30:13 UTC (rev 611772)
@@ -0,0 +1,37 @@
+diff --git a/tests/botocore/test_credentials.py 
b/tests/botocore/test_credentials.py
+index ecbe17e..1b2172e 100644
+--- a/tests/botocore/test_credentials.py
 b/tests/botocore/test_credentials.py
+@@ -8,7 +8,7 @@ import datetime
+ import json
+ import subprocess
+ 
+-import mock
++from unittest import mock
+ from typing import Optional
+ 
+ import pytest
+diff --git a/tests/botocore/test_signers.py b/tests/botocore/test_signers.py
+index 0e4035e..7529760 100644
+--- a/tests/botocore/test_signers.py
 b/tests/botocore/test_signers.py
+@@ -1,5 +1,5 @@
+ import pytest
+-import mock
++from unittest import mock
+ 
+ import aiobotocore
+ import aiobotocore.credentials
+diff --git a/tests/botocore/test_utils.py b/tests/botocore/test_utils.py
+index 3d17b87..4089cf1 100644
+--- a/tests/botocore/test_utils.py
 b/tests/botocore/test_utils.py
+@@ -1,7 +1,7 @@
+ import asyncio
+ import pytest
+ import json
+-import mock
++from unittest import mock
+ import itertools
+ from typing import Union, List, Tuple
+ 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2020-01-04 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, January 4, 2020 @ 08:10:43
  Author: yan12125
Revision: 547785

upgpkg: python-aiobotocore 0.11.1-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-04 07:08:15 UTC (rev 547784)
+++ PKGBUILD2020-01-04 08:10:43 UTC (rev 547785)
@@ -2,8 +2,8 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.11.0
-pkgrel=3
+pkgver=0.11.1
+pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
@@ -13,7 +13,7 @@
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 fix-tests-with-proxies.patch
 $pkgname-moto-1.3.14.diff)
-sha256sums=('e2f2ff362745250524df961e50a42fdd0625ac5b3411b49f492d2f828ca9fcaa'
+sha256sums=('2fd5787ff73a945f7f42f78cc0322d066f570254a805e7c02854895e45f61860'
 '248aee05a468848dda2c40185f49714ebe8b789913dd7bb49018d69f1f3606f7'
 '94b560d753ac31709e9ffb3771759561979e061772de1789f7dfe102fe01ca8c')
 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-11-29 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, November 29, 2019 @ 15:11:29
  Author: yan12125
Revision: 534355

upgpkg: python-aiobotocore 0.11.0-3; rebuild with new setuptools for package 
reproducibility

The relevant fix [1] is included in setuptools 41.3.0.

[1] https://github.com/pypa/setuptools/pull/1690

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-29 14:26:58 UTC (rev 534354)
+++ PKGBUILD2019-11-29 15:11:29 UTC (rev 534355)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=0.11.0
-pkgrel=2
+pkgrel=3
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-11-12 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, November 12, 2019 @ 15:45:32
  Author: yan12125
Revision: 527001

upgpkg: python-aiobotocore 0.11.0-1 - compatibility with botocore 1.13

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-12 14:19:40 UTC (rev 527000)
+++ PKGBUILD2019-11-12 15:45:32 UTC (rev 527001)
@@ -2,8 +2,8 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.10.4
-pkgrel=2
+pkgver=0.11.0
+pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
@@ -13,7 +13,7 @@
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 moto-1.3.8.patch
 fix-tests-with-proxies.patch)
-sha256sums=('2e8fe12f66f028641d5727983bd211598e71b983d601a4d2618915ed8c7c305d'
+sha256sums=('e2f2ff362745250524df961e50a42fdd0625ac5b3411b49f492d2f828ca9fcaa'
 '7953b9cf8b4256cf0020098a978ef5c48097dfbaafe1c2cbf22d590ed1b07e5c'
 '248aee05a468848dda2c40185f49714ebe8b789913dd7bb49018d69f1f3606f7')
 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-11-04 Thread Evangelos Foutras via arch-commits
Date: Monday, November 4, 2019 @ 09:49:46
  Author: foutrelis
Revision: 523959

Python 3.8 rebuild

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 09:49:30 UTC (rev 523958)
+++ PKGBUILD2019-11-04 09:49:46 UTC (rev 523959)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=0.10.4
-pkgrel=1
+pkgrel=2
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-10-28 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, October 28, 2019 @ 16:51:05
  Author: yan12125
Revision: 520860

upgpkg: python-aiobotocore 0.10.4-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-28 16:48:03 UTC (rev 520859)
+++ PKGBUILD2019-10-28 16:51:05 UTC (rev 520860)
@@ -2,8 +2,8 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.10.3
-pkgrel=4
+pkgver=0.10.4
+pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
@@ -13,7 +13,7 @@
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 moto-1.3.8.patch
 fix-tests-with-proxies.patch)
-sha256sums=('5af3a575dee8f6d4bda36a237807edc7e864cc0e45c0b20dc07521191ee04759'
+sha256sums=('2e8fe12f66f028641d5727983bd211598e71b983d601a4d2618915ed8c7c305d'
 '7953b9cf8b4256cf0020098a978ef5c48097dfbaafe1c2cbf22d590ed1b07e5c'
 '248aee05a468848dda2c40185f49714ebe8b789913dd7bb49018d69f1f3606f7')
 


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 20:24:16
  Author: felixonmars
Revision: 520504

Python 3.8 rebuild

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:24:15 UTC (rev 520503)
+++ PKGBUILD2019-10-26 20:24:16 UTC (rev 520504)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=0.10.3
-pkgrel=3
+pkgrel=4
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-09-28 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, September 28, 2019 @ 08:07:27
  Author: yan12125
Revision: 511960

upgpkg: python-aiobotocore 0.10.3-3

* Remove upper bound of botocore dependency; simplify disabling of version 
pinning

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |   15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-28 07:50:33 UTC (rev 511959)
+++ PKGBUILD2019-09-28 08:07:27 UTC (rev 511960)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=0.10.3
-pkgrel=2
+pkgrel=3
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
@@ -10,7 +10,7 @@
 license=(Apache)
 depends=(python python-aiohttp python-botocore python-wrapt 
python-async_generator)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;
+source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz;
 moto-1.3.8.patch
 fix-tests-with-proxies.patch)
 sha256sums=('5af3a575dee8f6d4bda36a237807edc7e864cc0e45c0b20dc07521191ee04759'
@@ -20,11 +20,13 @@
 prepare() {
   cd $_pkgname-$pkgver
 
-  # used in a skipped test only
-  sed -i '/from dill.source import getsource/d' tests/test_patches.py
-
   patch -Np1 -i ../moto-1.3.8.patch
   patch -Np1 -i ../fix-tests-with-proxies.patch
+
+  # Disable dependency pinning
+  # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670
+  rm -v tests/test_patches.py
+  sed -i -r "s#'(botocore.*),<.*',#'\1',#" setup.py
 }
 
 build() {
@@ -35,8 +37,7 @@
 check() {
   cd $_pkgname-$pkgver
 
-  # test_patches works only for pinned versions of dependencies
-  PYTHONPATH=build/lib pytest -v -m moto -k 'not test_patches' tests
+  PYTHONPATH=build/lib pytest -v -m moto tests
 }
 
 package() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-07-18 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, July 19, 2019 @ 03:22:15
  Author: yan12125
Revision: 491965

upgpkg: python-aiobotocore 0.10.3-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-19 00:55:53 UTC (rev 491964)
+++ PKGBUILD2019-07-19 03:22:15 UTC (rev 491965)
@@ -2,8 +2,8 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.10.2
-pkgrel=2
+pkgver=0.10.3
+pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
@@ -12,7 +12,7 @@
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;
 moto-1.3.8.patch)
-sha256sums=('0748808cfe3063e8cb2902d076370034513f321ca10317b2464fadaa718fae85'
+sha256sums=('5af3a575dee8f6d4bda36a237807edc7e864cc0e45c0b20dc07521191ee04759'
 '7953b9cf8b4256cf0020098a978ef5c48097dfbaafe1c2cbf22d590ed1b07e5c')
 
 prepare() {


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-05-06 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, May 6, 2019 @ 13:38:04
  Author: yan12125
Revision: 460908

upgpkg: python-aiobotocore 0.10.2-2

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-06 13:38:02 UTC (rev 460907)
+++ PKGBUILD2019-05-06 13:38:04 UTC (rev 460908)
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 pkgver=0.10.2
-pkgrel=1
+pkgrel=2
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD moto-1.3.8.patch)

2019-05-06 Thread Chih-Hsuan Yen via arch-commits
Date: Monday, May 6, 2019 @ 13:31:15
  Author: yan12125
Revision: 460895

upgpkg: python-aiobotocore 0.10.2-1

Mark tests incompatible with moto 1.3.8 with xfail

Added:
  python-aiobotocore/trunk/moto-1.3.8.patch
Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 moto-1.3.8.patch |   26 ++
 2 files changed, 32 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-06 13:31:09 UTC (rev 460894)
+++ PKGBUILD2019-05-06 13:31:15 UTC (rev 460895)
@@ -10,8 +10,10 @@
 license=(Apache)
 depends=(python python-aiohttp python-botocore python-wrapt 
python-async_generator)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;)
-sha256sums=('0748808cfe3063e8cb2902d076370034513f321ca10317b2464fadaa718fae85')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;
+moto-1.3.8.patch)
+sha256sums=('0748808cfe3063e8cb2902d076370034513f321ca10317b2464fadaa718fae85'
+'7953b9cf8b4256cf0020098a978ef5c48097dfbaafe1c2cbf22d590ed1b07e5c')
 
 prepare() {
   cd $_pkgname-$pkgver
@@ -18,6 +20,8 @@
 
   # used in a skipped test only
   sed -i '/from dill.source import getsource/d' tests/test_patches.py
+
+  patch -Np1 -i ../moto-1.3.8.patch
 }
 
 build() {
@@ -28,10 +32,6 @@
 check() {
   cd $_pkgname-$pkgver
 
-  # https://github.com/spulec/moto/issues/1941
-  export AWS_ACCESS_KEY_ID=foobar
-  export AWS_SECRET_ACCESS_KEY=foobar
-
   # test_patches works only for pinned versions of dependencies
   PYTHONPATH=build/lib pytest -v -m moto -k 'not test_patches' tests
 }

Added: moto-1.3.8.patch
===
--- moto-1.3.8.patch(rev 0)
+++ moto-1.3.8.patch2019-05-06 13:31:15 UTC (rev 460895)
@@ -0,0 +1,26 @@
+--- aiobotocore-0.10.2/tests/test_basic_s3.py.orig 2019-05-06 
21:25:17.837243558 +0800
 aiobotocore-0.10.2/tests/test_basic_s3.py  2019-05-06 21:25:24.003906932 
+0800
+@@ -311,6 +311,7 @@
+ assert data == b'foo'
+ 
+ 
++@pytest.mark.xfail(reason='Incompatible with moto 1.3.8')
+ @pytest.mark.moto
+ @pytest.mark.asyncio
+ async def test_copy_with_query_string(s3_client, create_object, bucket_name):
+@@ -329,6 +330,7 @@
+ assert data == b'foo'
+ 
+ 
++@pytest.mark.xfail(reason='Incompatible with moto 1.3.8')
+ @pytest.mark.moto
+ @pytest.mark.asyncio
+ async def test_can_copy_with_dict_form(s3_client, create_object, bucket_name):
+@@ -347,6 +349,7 @@
+ assert data == b'foo'
+ 
+ 
++@pytest.mark.xfail(reason='Incompatible with moto 1.3.8')
+ @pytest.mark.moto
+ @pytest.mark.asyncio
+ async def test_can_copy_with_dict_form_with_version(


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-02-12 Thread Chih-Hsuan Yen via arch-commits
Date: Tuesday, February 12, 2019 @ 10:46:18
  Author: yan12125
Revision: 431870

upgpkg: python-aiobotocore 0.10.2-1

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-12 10:45:42 UTC (rev 431869)
+++ PKGBUILD2019-02-12 10:46:18 UTC (rev 431870)
@@ -2,7 +2,7 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.10.1
+pkgver=0.10.2
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -11,7 +11,7 @@
 depends=(python python-aiohttp python-botocore python-wrapt 
python-async_generator)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
 
source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;)
-sha256sums=('a2b3edaebf47019b0052c046ef1b0186f916c8a89286e86ab9fc80e87ac8411f')
+sha256sums=('0748808cfe3063e8cb2902d076370034513f321ca10317b2464fadaa718fae85')
 
 prepare() {
   cd $_pkgname-$pkgver


[arch-commits] Commit in python-aiobotocore/trunk (PKGBUILD)

2019-02-09 Thread Chih-Hsuan Yen via arch-commits
Date: Sunday, February 10, 2019 @ 07:30:50
  Author: yan12125
Revision: 431082

upgpkg: python-aiobotocore 0.10.1-1

* The pytest 4.1 patch is pushed as 
https://github.com/aio-libs/aiobotocore/pull/669

Modified:
  python-aiobotocore/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-10 06:58:21 UTC (rev 431081)
+++ PKGBUILD2019-02-10 07:30:50 UTC (rev 431082)
@@ -2,22 +2,19 @@
 
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
-pkgver=0.10.0
+pkgver=0.10.1
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
 url='https://github.com/aio-libs/aiobotocore'
 license=(Apache)
-depends=(python python-aiohttp python-botocore python-wrapt)
+depends=(python python-aiohttp python-botocore python-wrapt 
python-async_generator)
 checkdepends=(python-flask python-moto python-pytest python-pytest-asyncio)
-source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;
-
aiobotocore-pytest-4_1.patch::https://github.com/aio-libs/aiobotocore/commit/4d3df13d6f375d10df4ed2b11662f3915a434d8e.patch)
-sha256sums=('78721fcd1608057709b7c940f28a0f4afde7dfafa8d0b626e404046bbbd3a34e'
-'4eea86e03a0eca41493352519fe0755dca580d8c39e84648beaf082f6a8c5a57')
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aio-libs/aiobotocore/archive/$pkgver.tar.gz;)
+sha256sums=('a2b3edaebf47019b0052c046ef1b0186f916c8a89286e86ab9fc80e87ac8411f')
 
 prepare() {
   cd $_pkgname-$pkgver
-  patch -Np1 -i ../aiobotocore-pytest-4_1.patch
 
   # used in a skipped test only
   sed -i '/from dill.source import getsource/d' tests/test_patches.py