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 python (major) #88

Merged
merged 2 commits into from
Oct 22, 2024
Merged

chore(deps): update python (major) #88

merged 2 commits into from
Oct 22, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Flask-SQLAlchemy (changelog) ==2.5.1 -> ==3.1.1 age adoption passing confidence
MarkupSafe (changelog) ==1.1.1 -> ==3.0.2 age adoption passing confidence
SQLAlchemy (changelog) ==1.4.54 -> ==2.0.36 age adoption passing confidence
chardet ==3.0.4 -> ==5.2.0 age adoption passing confidence
click (changelog) ==6.7 -> ==8.1.7 age adoption passing confidence
google-api-python-client ==1.12.11 -> ==2.149.0 age adoption passing confidence
itsdangerous (changelog) ==0.24 -> ==2.2.0 age adoption passing confidence
jmespath ==0.10.0 -> ==1.0.1 age adoption passing confidence
pyparsing ==2.4.7 -> ==3.2.0 age adoption passing confidence
uritemplate ==3.0.1 -> ==4.1.1 age adoption passing confidence
urllib3 (changelog) ==1.26.20 -> ==2.2.3 age adoption passing confidence

Release Notes

pallets/markupsafe (MarkupSafe)

v3.0.2

Compare Source

Released 2024-10-18

  • Fix compatibility when __str__ returns a str subclass. :issue:472
  • Build requires setuptools >= 70.1. :issue:475

v3.0.1

Compare Source

Released 2024-10-08

  • Address compiler warnings that became errors in GCC 14. :issue:466
  • Fix compatibility with proxy objects. :issue:467

v3.0.0

Compare Source

Released 2024-10-07

  • Support Python 3.13 and its experimental free-threaded build. :pr:461
  • Drop support for Python 3.7 and 3.8.
  • Use modern packaging metadata with pyproject.toml instead of setup.cfg.
    :pr:348
  • Change distutils imports to setuptools. :pr:399
  • Use deferred evaluation of annotations. :pr:400
  • Update signatures for Markup methods to match str signatures. Use
    positional-only arguments. :pr:400
  • Some str methods on Markup no longer escape their argument:
    strip, lstrip, rstrip, removeprefix, removesuffix,
    partition, and rpartition; replace only escapes its new
    argument. These methods are conceptually linked to search methods such as
    in, find, and index, which already do not escape their argument.
    :issue:401
  • The __version__ attribute is deprecated. Use feature detection, or
    importlib.metadata.version("markupsafe"), instead. :pr:402
  • Speed up escaping plain strings by 40%. :pr:434
  • Simplify speedups implementation. :pr:437

v2.1.5

Compare Source

Released 2024-02-02

  • Fix striptags not collapsing spaces. :issue:417

v2.1.4

Compare Source

Released 2024-01-19

  • Don't use regular expressions for striptags, avoiding a performance
    issue. :pr:413

v2.1.3

Compare Source

Released 2023-06-02

  • Implement format_map, casefold, removeprefix, and removesuffix
    methods. :issue:370
  • Fix static typing for basic str methods on Markup. :issue:358
  • Use Self for annotating return types. :pr:379

v2.1.2

Compare Source

Released 2023-01-17

  • Fix striptags not stripping tags containing newlines.
    :issue:310

v2.1.1

Compare Source

Released 2022-03-14

  • Avoid ambiguous regex matches in striptags. :pr:293

v2.1.0

Compare Source

Released 2022-02-17

  • Drop support for Python 3.6. :pr:262
  • Remove soft_unicode, which was previously deprecated. Use
    soft_str instead. :pr:261
  • Raise error on missing single placeholder during string
    interpolation. :issue:225
  • Disable speedups module for GraalPython. :issue:277

v2.0.1

Compare Source

Released 2021-05-18

  • Mark top-level names as exported so type checking understands
    imports in user projects. :pr:215
  • Fix some types that weren't available in Python 3.6.0. :pr:215

v2.0.0

Compare Source

Released 2021-05-11

  • Drop Python 2.7, 3.4, and 3.5 support.
  • Markup.unescape uses :func:html.unescape to support HTML5
    character references. :pr:117
  • Add type annotations for static typing tools. :pr:149
chardet/chardet (chardet)

v5.2.0: chardet 5.2.0

Compare Source

Adds support for running chardet CLI via python -m chardet (0e9b7bc, @​dan-blanchard)

v5.1.0: chardet 5.1.0

Compare Source

Features
Fixes
Misc changes

v5.0.0: chardet 5.0.0

Compare Source

⚠️ This release is the first release of chardet that no longer supports Python < 3.6 ⚠️

In addition to that change, it features the following user-facing changes:

v4.0.0: chardet 4.0.0

Compare Source

⚠️ This will be the last release of chardet to support Python 2.7. chardet 5.0 will only support 3.6+ ⚠️

Major Changes

This release is multiple years in the making, and provides some quality of life improvements to chardet. The primary user-facing changes are:

  1. Single-byte charset probers now use nested dictionaries under the hood, so they are usually a little faster than before. (See #​121 for details)
  2. The CharsetGroupProber class now properly short-circuits when one of the probers in the group is considered a definite match. This lead to a substantial speedup.
  3. There is now a chardet.detect_all function that returns a list of possible encodings for the input with associated confidences.
  4. We have dropped support for Python 2.6, 3.4, and 3.5 as they are all past end-of-life.

The changes in this release have also laid the groundwork for retraining the models to make them more accurate, and to support some more encodings/languages (see #​99 for progress). This is our main focus for chardet 5.0 (beyond dropping Python 2 support).

Benchmarks

Running on a MacBook Pro (15-inch, 2018) with 2.2GHz 6-core i7 processor and 32GB RAM

old version (chardet 3.0.4)
Benchmarking chardet 3.0.4 on CPython 3.7.5 (default, Sep  8 2020, 12:19:42)
[Clang 11.0.3 (clang-1103.0.32.62)]
--------------------------------------------------------------------------------
Calls per second for each encoding:
ascii: 25559.439366240098
big5: 7.187002209518091
cp932: 4.71090956645177
cp949: 2.937256786994428
euc-jp: 4.870580412090848
euc-kr: 6.6910755971933416
euc-tw: 87.71098043480079
gb2312: 6.614302607154443
ibm855: 27.595893549680685
ibm866: 29.93483661732791
iso-2022-jp: 3379.5052775763434
iso-2022-kr: 26181.67290886392
iso-8859-1: 120.63424740403983
iso-8859-5: 32.65106262196898
iso-8859-7: 62.480089080556084
koi8-r: 13.72481001727257
maccyrillic: 33.018537255804496
shift_jis: 4.996013583677438
tis-620: 14.323112928341818
utf-16: 166771.53081510935
utf-32: 198782.18009478672
utf-8: 13.966236809766901
utf-8-sig: 193732.28637413395
windows-1251: 23.038910006925768
windows-1252: 99.48409117053738 
windows-1255: 6.336261495718825

Total time: 357.05358052253723s (10.054513372323958 calls per second)
new version (chardet 4.0.0)

Benchmarking chardet 4.0.0 on CPython 3.7.5 (default, Sep  8 2020, 12:19:42)
[Clang 11.0.3 (clang-1103.0.32.62)]
--------------------------------------------------------------------------------
.......................................................................................................................................................................................................................................................................................................................................................................
Calls per second for each encoding:
ascii: 38176.31067961165
big5: 12.86915132656389
cp932: 4.656400877065864
cp949: 7.282976434315926
euc-jp: 4.329381447610525
euc-kr: 8.16386823884839
euc-tw: 90.230745070368
gb2312: 14.248865889128146
ibm855: 33.30225548069821
ibm866: 44.181691968506
iso-2022-jp: 3024.2295767539117
iso-2022-kr: 25055.57945041816
iso-8859-1: 59.25262902122995
iso-8859-5: 39.7069713674529
iso-8859-7: 61.008422013862194
koi8-r: 41.21560517643845
maccyrillic: 31.402474369805002
shift_jis: 4.9091652743515155
tis-620: 14.408875278821073
utf-16: 177349.00634249471
utf-32: 186413.51111111112
utf-8: 108.62174360115105
utf-8-sig: 181965.46637744035
windows-1251: 43.16933400329809
windows-1252: 211.27653358317968
windows-1255: 16.15113643694104

Total time: 268.0230791568756s (13.394368915143872 calls per second)

Thank you to @​aaaxx, @​edumco, @​hrnciar, @​hroncok, @​jdufresne, @​mdamien, @​saintamh , @​xeor for submitting pull requests, to all of our users for being patient with how long this release has taken.

Full changelog
googleapis/google-api-python-client (google-api-python-client)

v2.149.0

Compare Source

Features
Bug Fixes

v2.148.0

Compare Source

Features
Bug Fixes

v2.147.0

Compare Source

Features
Bug Fixes

v2.146.0

Compare Source

Features

Configuration

📅 Schedule: Branch creation - "before 5am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) October 22, 2024 02:02
@renovate renovate bot force-pushed the renovate/major-python branch 3 times, most recently from 85b8269 to ba175bb Compare October 22, 2024 08:03
@diranged diranged force-pushed the renovate/major-python branch from ba175bb to 78c3b44 Compare October 22, 2024 16:41
Copy link
Contributor Author

renovate bot commented Oct 22, 2024

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.

@diranged diranged disabled auto-merge October 22, 2024 16:44
@diranged diranged merged commit a29aeed into main Oct 22, 2024
4 checks passed
@diranged diranged deleted the renovate/major-python branch October 22, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant