Skip to content

Commit

Permalink
Merge pull request #7057 from yarikoptic/rf-chardet
Browse files Browse the repository at this point in the history
Revert "Remove chardet version upper limit" to bring back upper limit <= 5.0.0 on chardet
  • Loading branch information
yarikoptic committed Sep 23, 2022
2 parents 2de6ee6 + 52ab90f commit cc8cfb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.d/pr-7057.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Internal

- Revert "Remove chardet version upper limit" (introduced in 0.17.6~11^2) to bring back upper limit <= 5.0.0 on chardet. Otherwise we can get some deprecation warnings from requests [PR #7057](https://github.com/datalad/datalad/pull/7057) (by [@yarikoptic](https://github.com/yarikoptic))
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
requires = {
'core': [
'platformdirs',
'chardet>=3.0.4', # rarely used but small/omnipresent
'chardet>=3.0.4, <5.0.0', # rarely used but small/omnipresent
'colorama; platform_system=="Windows"',
'distro; python_version >= "3.8"',
'importlib-metadata >=3.6; python_version < "3.10"',
Expand Down

0 comments on commit cc8cfb7

Please sign in to comment.