Update to 1.18.8
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
63d21f0b26
commit
cc0247cfc1
1
.gitignore
vendored
1
.gitignore
vendored
@ -116,3 +116,4 @@
|
||||
/awscli-1.16.309.tar.gz
|
||||
/awscli-1.17.9.tar.gz
|
||||
/awscli-1.17.12.tar.gz
|
||||
/awscli-1.18.8.tar.gz
|
||||
|
@ -1,34 +0,0 @@
|
||||
From 0c9c08856bff1e60cb14ea9a2fdfa640c9af9eeb Mon Sep 17 00:00:00 2001
|
||||
From: Hugo <hugovk@users.noreply.github.com>
|
||||
Date: Tue, 21 Jan 2020 20:44:26 +0200
|
||||
Subject: [PATCH] Fix collections.abc imports for Python 3.9
|
||||
|
||||
---
|
||||
awscli/customizations/history/db.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/awscli/customizations/history/db.py b/awscli/customizations/history/db.py
|
||||
index a171cdc61..bdb96d1dc 100644
|
||||
--- a/awscli/customizations/history/db.py
|
||||
+++ b/awscli/customizations/history/db.py
|
||||
@@ -16,7 +16,7 @@ import json
|
||||
import datetime
|
||||
import threading
|
||||
import logging
|
||||
-from collections import MutableMapping
|
||||
+from awscli.compat import collections_abc
|
||||
|
||||
from botocore.history import BaseHistoryHandler
|
||||
|
||||
@@ -119,7 +119,7 @@ class PayloadSerializer(json.JSONEncoder):
|
||||
def default(self, obj):
|
||||
if isinstance(obj, datetime.datetime):
|
||||
return self._encode_datetime(obj)
|
||||
- elif isinstance(obj, MutableMapping):
|
||||
+ elif isinstance(obj, collections_abc.MutableMapping):
|
||||
return self._encode_mutable_mapping(obj)
|
||||
elif isinstance(obj, binary_type):
|
||||
# In PY3 the bytes type differs from the str type so the default
|
||||
--
|
||||
2.25.0
|
||||
|
@ -1,13 +1,11 @@
|
||||
Name: awscli
|
||||
Version: 1.17.12
|
||||
Version: 1.18.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Universal Command Line Environment for AWS
|
||||
|
||||
License: ASL 2.0 and MIT
|
||||
URL: https://aws.amazon.com/cli/
|
||||
Source0: %{pypi_source}
|
||||
# https://github.com/aws/aws-cli/pull/4860
|
||||
Patch0001: 0001-Fix-collections.abc-imports-for-Python-3.9.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
@ -53,6 +51,9 @@ install -Dpm0644 bin/aws_zsh_completer.sh \
|
||||
%{_datadir}/zsh/site-functions/_awscli
|
||||
|
||||
%changelog
|
||||
* Thu Feb 27 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.18.8-1
|
||||
- Update to 1.18.8
|
||||
|
||||
* Fri Feb 07 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.17.12-1
|
||||
- Update to 1.17.12
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (awscli-1.17.12.tar.gz) = 8254b0a1ae8751d0899b63eb0c491bd8703a21cba4a0bde6972804ee0650c8ef29e61f483508674793736cfd1782f0f751b4ae1c8cd3af08404e9a12a9e95137
|
||||
SHA512 (awscli-1.18.8.tar.gz) = d8ca0d93155fed5b3987d75a6b9fddcb50cca7c80de80eecbf6762b0293ac79dac632e45f7a82c38643827dd3b34920dc1ee0d6d4029665472c3f9903b58070d
|
||||
|
Loading…
Reference in New Issue
Block a user