Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

allow chardet 4.0; patch from upstream pr5333 #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 9c1a81af067e72261c9cbe33ea792893e83bc6aa987bfbd6fdc1e5e7b22777c4
patches:
- pr5333.patch

build:
number: 1
number: 2
script: {{ PYTHON }} -m pip install . -vv
skip: true # [py2k]

Expand All @@ -25,7 +27,7 @@ requirements:
- python
- async-timeout <4.0,>=3.0
- attrs >=17.3.0
- chardet >=2.0,<4.0
- chardet >=2.0,<5.0
- idna_ssl >=1.0 # [py<37]
- multidict >=4.5,<7.0
- typing-extensions >=3.6.5
Expand Down
13 changes: 13 additions & 0 deletions recipe/pr5333.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 428df5d..54462ba 100644
--- a/setup.py
+++ b/setup.py
@@ -66,7 +66,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",