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

Update Python dependencies #48

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Update Python dependencies #48

merged 2 commits into from
Jan 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 2, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
anyio (changelog) ==4.0.0 -> ==4.2.0 age adoption passing confidence
black (changelog) 23.10.1 -> 23.12.1 age adoption passing confidence
certifi ==2023.7.22 -> ==2023.11.17 age adoption passing confidence
exceptiongroup (changelog) ==1.1.3 -> ==1.2.0 age adoption passing confidence
httpcore ==1.0.0 -> ==1.0.2 age adoption passing confidence
httpx (changelog) ==0.25.0 -> ==0.26.0 age adoption passing confidence
idna (changelog) ==3.4 -> ==3.6 age adoption passing confidence
isort (source, changelog) 5.12.0 -> 5.13.2 age adoption passing confidence
lightkube 0.14.0 -> 0.15.0 age adoption passing confidence
lightkube ==0.14.0 -> ==0.15.0 age adoption passing confidence
lightkube-models ==1.28.1.4 -> ==1.29.0.6 age adoption passing confidence
markupsafe (changelog) ==2.1.3 -> ==2.1.4 age adoption passing confidence
mypy (source, changelog) 1.6.1 -> 1.8.0 age adoption passing confidence
pyOpenSSL (source) 23.2.0 -> 23.3.0 age adoption passing confidence
pytest (source, changelog) 7.4.3 -> 7.4.4 age adoption passing confidence
tox (changelog) 4.11.3 -> 4.12.1 age adoption passing confidence

Release Notes

agronholm/anyio (anyio)

v4.2.0

Compare Source

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye)

  • Enabled the Event and CapacityLimiter classes to be instantiated outside an event loop thread

  • Broadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646 TypeVarTuple to allow the positional arguments to be validated by static type checkers. These changes affected numerous methods and functions, including:

    • anyio.run()
    • TaskGroup.start_soon()
    • anyio.from_thread.run()
    • anyio.from_thread.run_sync()
    • anyio.to_thread.run_sync()
    • anyio.to_process.run_sync()
    • BlockingPortal.call()
    • BlockingPortal.start_task_soon()
    • BlockingPortal.start_task()

    (also resolves #​560)

  • Fixed various type annotations of anyio.Path to match Typeshed:

    • anyio.Path.__lt__()
    • anyio.Path.__le__()
    • anyio.Path.__gt__()
    • anyio.Path.__ge__()
    • anyio.Path.__truediv__()
    • anyio.Path.__rtruediv__()
    • anyio.Path.hardlink_to()
    • anyio.Path.samefile()
    • anyio.Path.symlink_to()
    • anyio.Path.with_segments()

    (PR by Ganden Schaffner)

  • Fixed adjusting the total number of tokens in a CapacityLimiter on asyncio failing to wake up tasks waiting to acquire the limiter in certain edge cases (fixed with help from Egor Blagov)

  • Fixed loop_factory and use_uvloop options not being used on the asyncio backend (#​643)

  • Fixed cancellation propagating on asyncio from a task group to child tasks if the task hosting the task group is in a shielded cancel scope (#​642)

v4.1.0

Compare Source

  • Adapted to API changes made in Trio v0.23:
    • Call trio.to_thread.run_sync() using the abandon_on_cancel keyword argument instead of cancellable
    • Removed a checkpoint when exiting a task group
    • Renamed the cancellable argument in anyio.to_thread.run_sync() to abandon_on_cancel (and deprecated the old parameter name)
    • Bumped minimum version of Trio to v0.23
  • Added support for voluntary thread cancellation via anyio.from_thread.check_cancelled()
  • Bumped minimum version of trio to v0.23
  • Exposed the ResourceGuard class in the public API (#​627)
  • Fixed RuntimeError: Runner is closed when running higher-scoped async generator fixtures in some cases (#​619)
  • Fixed discrepancy between asyncio and trio where reraising a cancellation exception in an except* block would incorrectly bubble out of its cancel scope (#​634)
psf/black (black)

v23.12.1

Compare Source

Packaging
  • Fixed a bug that included dependencies from the d extra by default (#​4108)

v23.12.0

Compare Source

Highlights

It's almost 2024, which means it's time for a new edition of Black's stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
share your feedback.

This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in --preview mode will be in the 2024 stable style.

Stable style
  • Fix bug where # fmt: off automatically dedents when used with the --line-ranges
    option, even when it is not within the specified line range. (#​4084)
  • Fix feature detection for parenthesized context managers (#​4104)
Preview style
  • Prefer more equal signs before a break when splitting chained assignments (#​4010)
  • Standalone form feed characters at the module level are no longer removed (#​4021)
  • Additional cases of immediately nested tuples, lists, and dictionaries are now
    indented less (#​4012)
  • Allow empty lines at the beginning of all blocks, except immediately before a
    docstring (#​4060)
  • Fix crash in preview mode when using a short --line-length (#​4086)
  • Keep suites consisting of only an ellipsis on their own lines if they are not
    functions or class definitions (#​4066) (#​4103)
Configuration
  • --line-ranges now skips Black's internal stability check in --safe mode. This
    avoids a crash on rare inputs that have many unformatted same-content lines. (#​4034)
Packaging
Integrations

v23.11.0

Compare Source

Highlights
  • Support formatting ranges of lines with the new --line-ranges command-line option
    (#​4020)
Stable style
  • Fix crash on formatting bytes strings that look like docstrings (#​4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#​4008)
  • Fix standalone comments inside complex blocks crashing Black (#​4016)
  • Fix crash on formatting code like await (a ** b) (#​3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and
    fixes a crash (#​4019)
Preview style
  • Multiline dicts and lists that are the sole argument to a function are now indented
    less (#​3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also
    indented less (#​3992)
  • In f-string debug expressions, quote types that are visible in the final string are
    now preserved (#​4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable
    general trailing comma rules on case blocks (#​4024)
  • Keep requiring two empty lines between module-level docstring and first function or
    class definition (#​4028)
  • Add support for single-line format skip with other comments on the same line (#​3959)
Configuration
  • Consistently apply force exclusion logic before resolving symlinks (#​4015)
  • Fix a bug in the matching of absolute path names in --include (#​3976)
Performance
  • Fix mypyc builds on arm64 on macOS (#​4017)
Integrations
  • Black's pre-commit integration will now run only on git hooks appropriate for a code
    formatter (#​3940)
certifi/python-certifi (certifi)

v2023.11.17

Compare Source

agronholm/exceptiongroup (exceptiongroup)

v1.2.0

Compare Source

  • Added special monkeypatching if Apport has overridden sys.excepthook so it will format exception groups correctly (PR by John Litborn)
  • Added a backport of contextlib.suppress() from Python 3.12.1 which also handles suppressing exceptions inside exception groups
  • Fixed bare raise in a handler reraising the original naked exception rather than an exception group which is what is raised when you do a raise in an except* handler
encode/httpcore (httpcore)

v1.0.2

Compare Source

  • Fix float("inf") timeouts in Event.wait function. (#​846)

v1.0.1

Compare Source

  • Fix pool timeout to account for the total time spent retrying. (#​823)
  • Raise a neater RuntimeError when the correct async deps are not installed. (#​826)
  • Add support for synchronous TLS-in-TLS streams. (#​840)
encode/httpx (httpx)

v0.26.0

Compare Source

Added
  • The proxy argument was added. You should use the proxy argument instead of the deprecated proxies, or use mounts= for more complex configurations. (#​2879)
Deprecated
  • The proxies argument is now deprecated. It will still continue to work, but it will be removed in the future. (#​2879)
Fixed
  • Fix cases of double escaping of URL path components. Allow / as a safe character in the query portion. (#​2990)
  • Handle NO_PROXY envvar cases when a fully qualified URL is supplied as the value. (#​2741)
  • Allow URLs where username or password contains unescaped '@​'. (#​2986)
  • Ensure ASGI raw_path does not include URL query component. (#​2999)
  • Ensure Response.iter_text() cannot yield empty strings. (#​2998)

v0.25.2

Compare Source

Added
  • Add missing type hints to few __init__() methods. (#​2938)

v0.25.1

Compare Source

Added
  • Add support for Python 3.12. (#​2854)
  • Add support for httpcore 1.0 (#​2885)
Fixed
  • Raise ValueError on Response.encoding being set after Response.text has been accessed. (#​2852)
kjd/idna (idna)

v3.6

Compare Source

v3.5

Compare Source

pycqa/isort (isort)

v5.13.2

Compare Source

v5.13.1

Compare Source

v5.13.0

Compare Source

gtsystem/lightkube (lightkube)

v0.15.0

Compare Source

What's Changed

Full Changelog: gtsystem/lightkube@v0.14.0...v0.15.0

python/mypy (mypy)

v1.8.0

Compare Source

v1.7.1

Compare Source

v1.7.0

Compare Source

pyca/pyopenssl (pyOpenSSL)

v23.3.0

Compare Source

Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Dropped support for Python 3.6.
  • The minimum cryptography version is now 41.0.5.
  • Removed OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12 which had been deprecated for 3 years.
  • Added OpenSSL.SSL.OP_LEGACY_SERVER_CONNECT to allow legacy insecure renegotiation between OpenSSL and unpatched servers.
    #&#8203;1234 <https://github.com/pyca/pyopenssl/pull/1234>_.

Deprecations:
^^^^^^^^^^^^^

  • Deprecated OpenSSL.crypto.PKCS12 (which was intended to have been deprecated at the same time as OpenSSL.crypto.load_pkcs12).
  • Deprecated OpenSSL.crypto.NetscapeSPKI.
  • Deprecated OpenSSL.crypto.CRL
  • Deprecated OpenSSL.crypto.Revoked
  • Deprecated OpenSSL.crypto.load_crl and OpenSSL.crypto.dump_crl
  • Deprecated OpenSSL.crypto.sign and OpenSSL.crypto.verify
  • Deprecated OpenSSL.crypto.X509Extension

Changes:
^^^^^^^^

  • Changed OpenSSL.crypto.X509Store.add_crl to also accept
    cryptography's x509.CertificateRevocationList arguments in addition
    to the now deprecated OpenSSL.crypto.CRL arguments.
  • Fixed test_set_default_verify_paths test so that it is skipped if no
    network connection is available.
pytest-dev/pytest (pytest)

v7.4.4

Compare Source

tox-dev/tox (tox)

v4.12.1

Compare Source

What's Changed

New Contributors

Full Changelog: tox-dev/tox@4.12.0...4.12.1

v4.12.0

Compare Source

What's Changed

New Contributors

Full Changelog: tox-dev/tox@4.11.4...4.12.0

v4.11.4

Compare Source

What's Changed

New Contributors

Full Changelog: tox-dev/tox@4.11.3...4.11.4


Configuration

📅 Schedule: Branch creation - "after 1am and before 2am on saturday" in timezone Etc/UTC, 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.

👻 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from deusebio and welpaolo December 2, 2023 01:56
@renovate renovate bot force-pushed the renovate/python-dependencies branch 2 times, most recently from ecfcf0c to fd16439 Compare December 9, 2023 16:14
@renovate renovate bot force-pushed the renovate/python-dependencies branch from fd16439 to 2c1e21e Compare December 11, 2023 16:45
Copy link
Contributor

@deusebio deusebio left a comment

Choose a reason for hiding this comment

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

LGTM. All updates seems sensible and with low risk

@renovate renovate bot force-pushed the renovate/python-dependencies branch 5 times, most recently from a203c18 to 4fb78a9 Compare December 16, 2023 19:08
@renovate renovate bot force-pushed the renovate/python-dependencies branch 5 times, most recently from 61a97a5 to 11073f0 Compare December 23, 2023 01:23
@renovate renovate bot force-pushed the renovate/python-dependencies branch 2 times, most recently from 1e32cbe to f9db517 Compare January 4, 2024 15:19
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from c6618a3 to d72a0da Compare January 17, 2024 06:32
@renovate renovate bot force-pushed the renovate/python-dependencies branch from d72a0da to 0f03388 Compare January 20, 2024 00:31
@renovate renovate bot force-pushed the renovate/python-dependencies branch from 0f03388 to 1d8ca8e Compare January 22, 2024 22:28
@deusebio deusebio force-pushed the renovate/python-dependencies branch from 1d8ca8e to 2f915a3 Compare January 22, 2024 22:31
Copy link
Contributor Author

renovate bot commented Jan 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.

@deusebio deusebio merged commit 65a6633 into main Jan 23, 2024
4 checks passed
@deusebio deusebio deleted the renovate/python-dependencies branch January 23, 2024 03:53
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