Allow installation with chardet 4
This commit is contained in:
parent
1943a6c446
commit
4f3de5e1e9
|
@ -0,0 +1,30 @@
|
|||
From b0ed732d0a637e43c72bb1a777d02776cde37376 Mon Sep 17 00:00:00 2001
|
||||
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
|
||||
Date: Fri, 11 Dec 2020 10:24:17 +0200
|
||||
Subject: [PATCH] Bump chardet from 3.0.4 to 4.0.0 (#5333)
|
||||
|
||||
Bumps [chardet](https://github.com/chardet/chardet) from 3.0.4 to 4.0.0.
|
||||
- [Release notes](https://github.com/chardet/chardet/releases)
|
||||
- [Commits](https://github.com/chardet/chardet/compare/3.0.4...4.0.0)
|
||||
|
||||
Signed-off-by: dependabot[bot] <support@github.com>
|
||||
|
||||
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
||||
---
|
||||
requirements/base.txt | 2 +-
|
||||
setup.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index a79e473..3208bcd 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -65,7 +65,7 @@ except IndexError:
|
||||
|
||||
install_requires = [
|
||||
"attrs>=17.3.0",
|
||||
- "chardet>=2.0,<4.0",
|
||||
+ "chardet>=2.0,<5.0",
|
||||
"multidict>=4.5,<7.0",
|
||||
"async_timeout>=3.0,<4.0",
|
||||
"yarl>=1.0,<2.0",
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: 3.7.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Python HTTP client/server for asyncio
|
||||
|
||||
License: ASL 2.0
|
||||
|
@ -12,6 +12,10 @@ Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|||
# Unbundle http-parser
|
||||
Patch0: unbundle-http-parser.patch
|
||||
|
||||
# Allow chardet 4+, merged upstream
|
||||
# https://github.com/aio-libs/aiohttp/commit/b0ed732d0a
|
||||
Patch1: chardet4.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: http-parser-devel
|
||||
|
||||
|
@ -58,6 +62,9 @@ with middlewares and pluggable routing.
|
|||
%{python3_sitearch}/%{srcname}/
|
||||
|
||||
%changelog
|
||||
* Thu Feb 04 2021 Miro Hrončok <mhroncok@redhat.com> - 3.7.3-3
|
||||
- Allow installation with chardet 4
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue