Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore(deps): update dependency charset-normalizer to v3 #1040

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Oct 20, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
charset-normalizer ==2.1.1 -> ==3.0.1 age adoption passing confidence

Release Notes

Ousret/charset_normalizer

v3.0.1

Compare Source

Fixed
  • Multi-bytes cutter/chunk generator did not always cut correctly (PR #​233)
Changed
  • Speedup provided by mypy/c 0.990 on Python >= 3.7

v3.0.0

Compare Source

Added
  • Extend the capability of explain=True when cp_isolation contains at most two entries (min one), will log in details of the Mess-detector results
  • Support for alternative language frequency set in charset_normalizer.assets.FREQUENCIES
  • Add parameter language_threshold in from_bytes, from_path and from_fp to adjust the minimum expected coherence ratio
  • normalizer --version now specify if current version provide extra speedup (meaning mypyc compilation whl)
Changed
  • Build with static metadata using 'build' frontend
  • Make the language detection stricter
  • Optional: Module md.py can be compiled using Mypyc to provide an extra speedup up to 4x faster than v2.1
Fixed
  • CLI with opt --normalize fail when using full path for files
  • TooManyAccentuatedPlugin induce false positive on the mess detection when too few alpha character have been fed to it
  • Sphinx warnings when generating the documentation
Removed
  • Coherence detector no longer return 'Simple English' instead return 'English'
  • Coherence detector no longer return 'Classical Chinese' instead return 'Chinese'
  • Breaking: Method first() and best() from CharsetMatch
  • UTF-7 will no longer appear as "detected" without a recognized SIG/mark (is unreliable/conflict with ASCII)
  • Breaking: Class aliases CharsetDetector, CharsetDoctor, CharsetNormalizerMatch and CharsetNormalizerMatches
  • Breaking: Top-level function normalize
  • Breaking: Properties chaos_secondary_pass, coherence_non_latin and w_counter from CharsetMatch
  • Support for the backport unicodedata2

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner October 20, 2022 11:50
@forking-renovate forking-renovate bot added dependencies Pull requests that update a dependency file lang: python Issues specific to Python. labels Oct 20, 2022
@bourgeoisor
Copy link
Member

The conflict is caused by:
    The user requested charset-normalizer==3.0.0
    requests 2.28.1 depends on charset-normalizer<3 and >=2

@mathieu-benoit mathieu-benoit added the status: blocked Resolving the issue is dependent on other work. label Oct 21, 2022
@bourgeoisor
Copy link
Member

requests merged this: psf/requests#6261
Should make it for the next version.

@renovate-bot renovate-bot force-pushed the renovate/charset-normalizer-3.x branch 2 times, most recently from db2b198 to 205c740 Compare November 1, 2022 14:53
@renovate-bot renovate-bot force-pushed the renovate/charset-normalizer-3.x branch from 205c740 to bf6e250 Compare November 8, 2022 13:27
@ahrarmonsur
Copy link
Contributor

@bourgeoisor is this version bump still blocked?

@bourgeoisor
Copy link
Member

bourgeoisor commented Nov 14, 2022

Yes, on requests' next release. Last one was in June: https://github.com/psf/requests/releases
See above comments for more context.

@renovate-bot renovate-bot force-pushed the renovate/charset-normalizer-3.x branch 2 times, most recently from 7153fc8 to c45d389 Compare December 14, 2022 18:56
@bourgeoisor
Copy link
Member

Looks like request is going to release either this month or the next: psf/requests#6306

@renovate-bot renovate-bot force-pushed the renovate/charset-normalizer-3.x branch 2 times, most recently from a1a2a17 to 1fe57d4 Compare January 10, 2023 21:25
@renovate-bot renovate-bot force-pushed the renovate/charset-normalizer-3.x branch from 1fe57d4 to dbd92de Compare January 11, 2023 17:20
@bourgeoisor
Copy link
Member

There is now a new version of requests which fixes the above issue: https://github.com/psf/requests/releases

@renovate-bot renovate-bot force-pushed the renovate/charset-normalizer-3.x branch from dbd92de to e51b7fc Compare January 13, 2023 18:06
@forking-renovate
Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@bourgeoisor bourgeoisor merged commit acb09fe into GoogleCloudPlatform:main Jan 13, 2023
big-appled pushed a commit to big-appled/bank-of-anthos that referenced this pull request Jun 9, 2023
…latform#1040)

Co-authored-by: Olivier Bourgeois <3271352+bourgeoisor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file lang: python Issues specific to Python. status: blocked Resolving the issue is dependent on other work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants