#1 Allow installation with chardet 4
Merged 3 years ago by fab. Opened 3 years ago by churchyard.
rpms/ churchyard/python-aiohttp chardet4  into  rawhide

file added
+30
@@ -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",

file modified
+8 -1
@@ -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 @@ 

  # 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 @@ 

  %{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

  

no initial comment

Tested on the hello world example from the project homepage but only with chardet 3 from rawhide. :thumbsup:

Pull-Request has been merged by fab

3 years ago
Metadata