Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-aiobotocore


Commits:
8636b0ec by Chih-Hsuan Yen at 2023-10-23T20:40:42+08:00
upgpkg: 2.7.0-1; re-enable checks for dependency codes

Now it's okay to enable test_patches as I also maintain python-botocore

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,35 @@
+pkgbase = python-aiobotocore
+       pkgdesc = asyncio support for botocore library using aiohttp
+       pkgver = 2.7.0
+       pkgrel = 1
+       url = https://github.com/aio-libs/aiobotocore
+       arch = any
+       license = Apache
+       checkdepends = python-moto
+       checkdepends = python-pytest
+       checkdepends = python-pytest-asyncio
+       checkdepends = python-dill
+       checkdepends = python-docker
+       checkdepends = python-openapi-spec-validator
+       checkdepends = python-yaml
+       checkdepends = python-flask
+       checkdepends = python-flask-cors
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-setuptools
+       makedepends = python-wheel
+       depends = python
+       depends = python-aiohttp
+       depends = python-botocore
+       depends = python-wrapt
+       depends = python-aioitertools
+       depends = python-dateutil
+       depends = python-jmespath
+       depends = python-multidict
+       depends = python-urllib3
+       source = 
https://github.com/aio-libs/aiobotocore/archive/2.7.0/python-aiobotocore-2.7.0.tar.gz
+       source = moto-4.1.7.diff
+       sha256sums = 
a9a6f215c06f826bdbd9af25ea697bef0c9861e64e226a96cad519ab1a5548e7
+       sha256sums = 
06c2548e54067c15c192c48b72a29b04b987aa3b694e7676366e3cbc638df81f
+
+pkgname = python-aiobotocore


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 # https://github.com/aio-libs/aiobotocore/releases
-pkgver=2.6.0
+pkgver=2.7.0
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -13,12 +13,12 @@ depends=(python python-aiohttp python-botocore python-wrapt 
python-aioitertools
          # detected by namcap but not listed in setup.py
          python-dateutil python-jmespath python-multidict python-urllib3)
 makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-moto python-pytest python-pytest-asyncio
+checkdepends=(python-moto python-pytest python-pytest-asyncio python-dill
               # moto optdepends
               python-docker python-openapi-spec-validator python-yaml 
python-flask python-flask-cors)
 
source=("https://github.com/aio-libs/aiobotocore/archive/$pkgver/$pkgname-$pkgver.tar.gz";
         moto-4.1.7.diff)
-sha256sums=('cb3386f76e2f5504c2febf2fec7f38db05d54de368550d6274eeee7d3221c496'
+sha256sums=('a9a6f215c06f826bdbd9af25ea697bef0c9861e64e226a96cad519ab1a5548e7'
             '06c2548e54067c15c192c48b72a29b04b987aa3b694e7676366e3cbc638df81f')
 
 prepare() {
@@ -26,11 +26,6 @@ prepare() {
 
   patch -Np1 -i ../moto-4.1.7.diff
 
-  # Disable dependency pinning
-  # Upstream tracking issue: https://github.com/aio-libs/aiobotocore/issues/670
-  sed --in-place=.orig -r "s#'(botocore.*),<.*',#'\1',#" setup.py
-  diff -u setup.py{.orig,} || true
-
   # For pytest-asyncio >= 0.19
   # https://github.com/aio-libs/aiobotocore/issues/965
   echo asyncio_mode = auto >> pytest.ini
@@ -50,7 +45,6 @@ check() {
   # test_version checks lower and upper bounds for dependencies in setup.py,
   # and they are patched away in prepare()
   pytest -m moto tests \
-      --ignore=tests/test_patches.py \
       --ignore=tests/test_lambda.py \
       --ignore=tests/test_version.py
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aiobotocore/-/commit/8636b0ec5de89a7eed4cad2deef9bc00fd17cf22

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aiobotocore/-/commit/8636b0ec5de89a7eed4cad2deef9bc00fd17cf22
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to