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


Commits:
71897d33 by Chih-Hsuan Yen at 2025-02-22T16:00:09+08:00
Drop no longer needed moto patch

Fixed by upstream in 2.20.0 https://github.com/aio-libs/aiobotocore/pull/1297

- - - - -
4dfc5382 by Chih-Hsuan Yen at 2025-02-22T16:05:07+08:00
upgpkg: 2.20.0-1: bump

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- − moto-5.x.diff


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-aiobotocore
        pkgdesc = asyncio support for botocore library using aiohttp
-       pkgver = 2.19.0
+       pkgver = 2.20.0
        pkgrel = 1
        url = https://github.com/aio-libs/aiobotocore
        arch = any
@@ -31,9 +31,7 @@ pkgbase = python-aiobotocore
        depends = python-jmespath
        depends = python-multidict
        depends = python-urllib3
-       source = git+https://github.com/aio-libs/aiobotocore.git#tag=2.19.0
-       source = moto-5.x.diff
-       sha256sums = 
d9b96d20056076edb772d15874650fc81f61891c4b71eb716ee7dd343f7dabb8
-       sha256sums = 
2bfadc984a4ad3a6420b356d572c8085b82a46949fc0ecaea98ddce45980503b
+       source = git+https://github.com/aio-libs/aiobotocore.git#tag=2.20.0
+       sha256sums = 
94d795d766cb1b20e77e3f856aa9b3790322449936f70d76dd27498be9b8a214
 
 pkgname = python-aiobotocore


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 pkgname=python-aiobotocore
 _pkgname=aiobotocore
 # https://github.com/aio-libs/aiobotocore/releases
-pkgver=2.19.0
+pkgver=2.20.0
 pkgrel=1
 pkgdesc='asyncio support for botocore library using aiohttp'
 arch=(any)
@@ -18,17 +18,8 @@ checkdepends=(python-moto python-pytest 
python-pytest-asyncio python-dill python
               python-time-machine
               # moto optdepends
               python-docker python-openapi-spec-validator python-yaml 
python-flask python-flask-cors)
-source=("git+https://github.com/aio-libs/aiobotocore.git#tag=$pkgver";
-        "moto-5.x.diff")
-sha256sums=('d9b96d20056076edb772d15874650fc81f61891c4b71eb716ee7dd343f7dabb8'
-            '2bfadc984a4ad3a6420b356d572c8085b82a46949fc0ecaea98ddce45980503b')
-
-prepare() {
-  cd $_pkgname
-  # Work-around test failures with moto 5.x
-  # See: https://github.com/aio-libs/aiobotocore/issues/1108
-  patch -Np1 -i ../moto-5.x.diff
-}
+source=("git+https://github.com/aio-libs/aiobotocore.git#tag=$pkgver";)
+sha256sums=('94d795d766cb1b20e77e3f856aa9b3790322449936f70d76dd27498be9b8a214')
 
 build() {
   cd $_pkgname


=====================================
moto-5.x.diff deleted
=====================================
@@ -1,31 +0,0 @@
-diff --git a/tests/moto_server.py b/tests/moto_server.py
-index 7807401..8ce738a 100644
---- a/tests/moto_server.py
-+++ b/tests/moto_server.py
-@@ -28,6 +28,17 @@ def get_free_tcp_port(release_socket: bool = False):
-     return sckt, port
- 
- 
-+class DomainDispatcherApplication(moto.server.DomainDispatcherApplication):
-+    def __init__(self, create_app, service):
-+        super().__init__(create_app)
-+        self.service = service
-+
-+    def get_backend_for_host(self, host):
-+        if self.service:
-+            return self.service
-+
-+        return super().get_backend_for_host(host)
-+
- class MotoService:
-     """Will Create MotoService.
-     Service is ref-counted so there will only be one per process. Real 
Service will
-@@ -94,7 +105,7 @@ class MotoService:
-             await self._stop()
- 
-     def _server_entry(self):
--        self._main_app = moto.server.DomainDispatcherApplication(
-+        self._main_app = DomainDispatcherApplication(
-             moto.server.create_backend_app, service=self._service_name
-         )
-         self._main_app.debug = True



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aiobotocore/-/compare/4f12496c2e935c88bd66d388a88b98affbfc72dc...4dfc53825c9c69a847e219076b555e20cdd3968b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aiobotocore/-/compare/4f12496c2e935c88bd66d388a88b98affbfc72dc...4dfc53825c9c69a847e219076b555e20cdd3968b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to