Skip to content

Allow charset normalizer >=2 and <3 - #6169

Merged
nateprewitt merged 1 commit into
psf:mainfrom
frenzymadness:update_charset_normalizer
Jun 29, 2022
Merged

nateprewitt merged 1 commit into
psf:mainfrom
frenzymadness:update_charset_normalizer

Conversation

@frenzymadness

Copy link
Copy Markdown
Contributor

The current definition charset_normalizer~=2.0.0 does not allow charset-normalizer 2.1.0 which has been released a couple of hours ago. The newer version seems to be compatible with requests and the compatibility check suggests that requests should allow versions up to 3.0.

@frenzymadness

Copy link
Copy Markdown
Contributor Author

All tox environments passed locally.

@hswong3i

Copy link
Copy Markdown
Contributor

Similar and duplicated fix from #6175 (comment):

In between I give a quick dirty workaround for my packaging scripts, and it is now working with CentOS 8 + molecule 4.0.0 + charset_normalizer 2.1.0 + requests 2.28.0 (patched):

Comment thread setup.cfg Outdated
Comment thread setup.py Outdated

@areche areche left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change conforms with the compatibility checks made in requests/__init__.py

@nateprewitt nateprewitt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @frenzymadness! We'll release this in the next patch release, 2.28.1.

@nateprewitt
nateprewitt merged commit 0e28c8f into psf:main Jun 29, 2022
@nateprewitt nateprewitt mentioned this pull request Jun 29, 2022
@frenck frenck mentioned this pull request Jun 29, 2022
10 of 22 tasks
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants