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 all dependencies #24

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Update all dependencies #24

merged 1 commit into from
Aug 10, 2023

Conversation

platform-engineering-bot
Copy link
Contributor

@platform-engineering-bot platform-engineering-bot commented Jul 31, 2023

This PR contains the following updates:

Package Type Update Change
arcaflow-plugin-sdk dependencies minor 0.9.0 -> 0.10.3
arcaflow-plugin-sdk minor ==0.9.0 -> ==0.10.3
attrs (changelog) major ==22.1.0 -> ==23.1.0
autoflake dev-dependencies major ^1.7.3 -> ^2.0.0
automat major ==20.2.0 -> ==22.10.0
black (changelog) dev-dependencies major ^22.10.0 -> ^23.0.0
cbor2 (changelog) patch ==5.4.3 -> ==5.4.6
docker.elastic.co/elasticsearch/elasticsearch minor 8.4.3 -> 8.9.0
elasticsearch dependencies minor 8.8.2 -> 8.9.0
elasticsearch minor ==8.4.3 -> ==8.9.0
pycodestyle (changelog) dev-dependencies minor 2.10.0 -> 2.11.0
pyyaml (source) patch ==6.0 -> ==6.0.1
quay.io/arcalot/arcaflow-plugin-baseimage-python-buildbase stage pinDigest -> 7b72424
quay.io/arcalot/arcaflow-plugin-baseimage-python-osbase final pinDigest -> a57baf7
quay.io/centos/centos final pinDigest -> 59460e4
twisted-iocpsupport patch ==1.0.2 -> ==1.0.3
typing-extensions (changelog) minor ==4.4.0 -> ==4.7.1
urllib3 (changelog) major ==1.26.12 -> ==2.0.4
zope.interface major ==5.5.0 -> ==6.0

Release Notes

arcalot/arcaflow-plugin-sdk-python (arcaflow-plugin-sdk)

v0.10.3

Compare Source

What's Changed

New Contributors

Full Changelog: arcalot/arcaflow-plugin-sdk-python@0.10.2...0.10.3

v0.10.2

Compare Source

What's Changed

New Contributors

Full Changelog: arcalot/arcaflow-plugin-sdk-python@0.10.1...0.10.2

v0.10.1: HTTP Server Removal and Improved Error Handling

Compare Source

What's Changed

New Contributors

Full Changelog: arcalot/arcaflow-plugin-sdk-python@0.10.0...0.10.1

v0.10.0: : Allow scopes and objects in one-of types

Compare Source

What's Changed

This update is required for the newest version of the arcaflow-engine for plugins that use the one-of types.

Full Changelog: arcalot/arcaflow-plugin-sdk-python@0.9.0...0.10.0

python-attrs/attrs (attrs)

v23.1.0

Compare Source

Backwards-incompatible Changes
  • Python 3.6 has been dropped and packaging switched to static package data using Hatch.
    #​993
Deprecations
  • The support for zope-interface via the attrs.validators.provides validator is now deprecated and will be removed in, or after, April 2024.

    The presence of a C-based package in our developement dependencies has caused headaches and we're not under the impression it's used a lot.

    Let us know if you're using it and we might publish it as a separate package.
    #​1120

Changes
  • attrs.filters.exclude() and attrs.filters.include() now support the passing of attribute names as strings.
    #​1068

  • attrs.has() and attrs.fields() now handle generic classes correctly.
    #​1079

  • Fix frozen exception classes when raised within e.g. contextlib.contextmanager, which mutates their __traceback__ attributes.
    #​1081

  • @frozen now works with type checkers that implement PEP-681 (ex. pyright).
    #​1084

  • Restored ability to unpickle instances pickled before 22.2.0.
    #​1085

  • attrs.asdict()'s and attrs.astuple()'s type stubs now accept the attrs.AttrsInstance protocol.
    #​1090

  • Fix slots class cellvar updating closure in CPython 3.8+ even when __code__ introspection is unavailable.
    #​1092

  • attrs.resolve_types() can now pass include_extras to typing.get_type_hints() on Python 3.9+, and does so by default.
    #​1099

  • Added instructions for pull request workflow to CONTRIBUTING.md.
    #​1105

  • Added type parameter to attrs.field() function for use with attrs.make_class().

    Please note that type checkers ignore type metadata passed into make_class(), but it can be useful if you're wrapping attrs.
    #​1107

  • It is now possible for attrs.evolve() (and attr.evolve()) to change fields named inst if the instance is passed as a positional argument.

    Passing the instance using the inst keyword argument is now deprecated and will be removed in, or after, April 2024.
    #​1117

  • attrs.validators.optional() now also accepts a tuple of validators (in addition to lists of validators).
    #​1122

v22.2.0

Compare Source

Backwards-incompatible Changes
  • Python 3.5 is not supported anymore.
    #​988
Deprecations
  • Python 3.6 is now deprecated and support will be removed in the next release.
    #​1017
Changes
  • attrs.field() now supports an alias option for explicit __init__ argument names.

    Get __init__ signatures matching any taste, peculiar or plain!
    The PEP 681 compatible alias option can be use to override private attribute name mangling, or add other arbitrary field argument name overrides.
    #​950

  • attrs.NOTHING is now an enum value, making it possible to use with e.g. typing.Literal.
    #​983

  • Added missing re-import of attr.AttrsInstance to the attrs namespace.
    #​987

  • Fix slight performance regression in classes with custom __setattr__ and speedup even more.
    #​991

  • Class-creation performance improvements by switching performance-sensitive templating operations to f-strings.

    You can expect an improvement of about 5% -- even for very simple classes.
    #​995

  • attrs.has() is now a TypeGuard for AttrsInstance.
    That means that type checkers know a class is an instance of an attrs class if you check it using attrs.has() (or attr.has()) first.
    #​997

  • Made attrs.AttrsInstance stub available at runtime and fixed type errors related to the usage of attrs.AttrsInstance in Pyright.
    #​999

  • On Python 3.10 and later, call abc.update_abstractmethods() on dict classes after creation.
    This improves the detection of abstractness.
    #​1001

  • attrs's pickling methods now use dicts instead of tuples.
    That is safer and more robust across different versions of a class.
    #​1009

  • Added attrs.validators.not_(wrapped_validator) to logically invert wrapped_validator by accepting only values where wrapped_validator rejects the value with a ValueError or TypeError (by default, exception types configurable).
    #​1010

  • The type stubs for attrs.cmp_using() now have default values.
    #​1027

  • To conform with PEP 681, attr.s() and attrs.define() now accept unsafe_hash in addition to hash.
    #​1065

glyph/Automat (automat)

v22.10.0

Compare Source

psf/black (black)

v23.7.0

Compare Source

Highlights
  • Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be
    supported until further notice (#​3765)
Stable style
  • Fix a bug where an illegal trailing comma was added to return type annotations using
    PEP 604 unions (#​3735)
  • Fix several bugs and crashes where comments in stub files were removed or mishandled
    under some circumstances (#​3745)
  • Fix a crash with multi-line magic comments like type: ignore within parentheses
    (#​3740)
  • Fix error in AST validation when Black removes trailing whitespace in a type comment
    (#​3773)
Preview style
  • Implicitly concatenated strings used as function args are no longer wrapped inside
    parentheses (#​3640)
  • Remove blank lines between a class definition and its docstring (#​3692)
Configuration
  • The --workers argument to Black can now be specified via the BLACK_NUM_WORKERS
    environment variable (#​3743)
  • .pytest_cache, .ruff_cache and .vscode are now excluded by default (#​3691)
  • Fix Black not honouring pyproject.toml settings when running --stdin-filename
    and the pyproject.toml found isn't in the current working directory (#​3719)
  • Black will now error if exclude and extend-exclude have invalid data types in
    pyproject.toml, instead of silently doing the wrong thing (#​3764)
Packaging
  • Upgrade mypyc from 0.991 to 1.3 (#​3697)
  • Remove patching of Click that mitigated errors on Python 3.6 with LANG=C (#​3768)
Parser
  • Add support for the new PEP 695 syntax in Python 3.12 (#​3703)
Performance
  • Speed up Black significantly when the cache is full (#​3751)
  • Avoid importing IPython in a case where we wouldn't need it (#​3748)
Output
  • Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 (#​3728)
  • Change verbose logging to exactly mirror Black's logic for source discovery (#​3749)
Blackd
  • The blackd argument parser now shows the default values for options in their help
    text (#​3712)
Integrations
Documentation
  • Add a CITATION.cff file to the root of the repository, containing metadata on how to
    cite this software (#​3723)
  • Update the classes and exceptions documentation in Developer reference to match
    the latest code base (#​3755)

v23.3.0

Compare Source

Highlights

This release fixes a longstanding confusing behavior in Black's GitHub action, where the
version of the action did not determine the version of Black being run (issue #​3382). In
addition, there is a small bug fix around imports and a number of improvements to the
preview style.

Please try out the
preview style
with black --preview and tell us your feedback. All changes in the preview style are
expected to become part of Black's stable style in January 2024.

Stable style
  • Import lines with # fmt: skip and # fmt: off no longer have an extra blank line
    added when they are right after another import line (#​3610)
Preview style
  • Add trailing commas to collection literals even if there's a comment after the last
    entry (#​3393)
  • async def, async for, and async with statements are now formatted consistently
    compared to their non-async version. (#​3609)
  • with statements that contain two context managers will be consistently wrapped in
    parentheses (#​3589)
  • Let string splitters respect East Asian Width
    (#​3445)
  • Now long string literals can be split after East Asian commas and periods ( U+3001
    IDEOGRAPHIC COMMA, U+3002 IDEOGRAPHIC FULL STOP, & U+FF0C FULLWIDTH COMMA)
    besides before spaces (#​3445)
  • For stubs, enforce one blank line after a nested class with a body other than just
    ... (#​3564)
  • Improve handling of multiline strings by changing line split behavior (#​1879)
Parser
  • Added support for formatting files with invalid type comments (#​3594)
Integrations
  • Update GitHub Action to use the version of Black equivalent to action's version if
    version input is not specified (#​3543)
  • Fix missing Python binary path in autoload script for vim (#​3508)
Documentation
  • Document that only the most recent release is supported for security issues;
    vulnerabilities should be reported through Tidelift (#​3612)

v23.1.0

Compare Source

Highlights

This is the first release of 2023, and following our
stability policy,
it comes with a number of improvements to our stable style, including improvements to
empty line handling, removal of redundant parentheses in several contexts, and output
that highlights implicitly concatenated strings better.

There are also many changes to the preview style; try out black --preview and give us
feedback to help us set the stable style for next year.

In addition to style changes, Black now automatically infers the supported Python
versions from your pyproject.toml file, removing the need to set Black's target
versions separately.

Stable style
  • Introduce the 2023 stable style, which incorporates most aspects of last year's
    preview style (#​3418). Specific changes:
    • Enforce empty lines before classes and functions with sticky leading comments
      (#​3302) (22.12.0)
    • Reformat empty and whitespace-only files as either an empty file (if no newline is
      present) or as a single newline character (if a newline is present) (#​3348)
      (22.12.0)
    • Implicitly concatenated strings used as function args are now wrapped inside
      parentheses (#​3307) (22.12.0)
    • Correctly handle trailing commas that are inside a line's leading non-nested parens
      (#​3370) (22.12.0)
    • --skip-string-normalization / -S now prevents docstring prefixes from being
      normalized as expected (#​3168) (since 22.8.0)
    • When using --skip-magic-trailing-comma or -C, trailing commas are stripped from
      subscript expressions with more than 1 element (#​3209) (22.8.0)
    • Implicitly concatenated strings inside a list, set, or tuple are now wrapped inside
      parentheses (#​3162) (22.8.0)
    • Fix a string merging/split issue when a comment is present in the middle of
      implicitly concatenated strings on its own line (#​3227) (22.8.0)
    • Docstring quotes are no longer moved if it would violate the line length limit
      (#​3044, #​3430) (22.6.0)
    • Parentheses around return annotations are now managed (#​2990) (22.6.0)
    • Remove unnecessary parentheses around awaited objects (#​2991) (22.6.0)
    • Remove unnecessary parentheses in with statements (#​2926) (22.6.0)
    • Remove trailing newlines after code block open (#​3035) (22.6.0)
    • Code cell separators #%% are now standardised to # %% (#​2919) (22.3.0)
    • Remove unnecessary parentheses from except statements (#​2939) (22.3.0)
    • Remove unnecessary parentheses from tuple unpacking in for loops (#​2945) (22.3.0)
    • Avoid magic-trailing-comma in single-element subscripts (#​2942) (22.3.0)
  • Fix a crash when a colon line is marked between # fmt: off and # fmt: on (#​3439)
Preview style
  • Format hex codes in unicode escape sequences in string literals (#​2916)
  • Add parentheses around if-else expressions (#​2278)
  • Improve performance on large expressions that contain many strings (#​3467)
  • Fix a crash in preview style with assert + parenthesized string (#​3415)
  • Fix crashes in preview style with walrus operators used in function return annotations
    and except clauses (#​3423)
  • Fix a crash in preview advanced string processing where mixed implicitly concatenated
    regular and f-strings start with an empty span (#​3463)
  • Fix a crash in preview advanced string processing where a standalone comment is placed
    before a dict's value (#​3469)
  • Fix an issue where extra empty lines are added when a decorator has # fmt: skip
    applied or there is a standalone comment between decorators (#​3470)
  • Do not put the closing quotes in a docstring on a separate line, even if the line is
    too long (#​3430)
  • Long values in dict literals are now wrapped in parentheses; correspondingly
    unnecessary parentheses around short values in dict literals are now removed; long
    string lambda values are now wrapped in parentheses (#​3440)
  • Fix two crashes in preview style involving edge cases with docstrings (#​3451)
  • Exclude string type annotations from improved string processing; fix crash when the
    return type annotation is stringified and spans across multiple lines (#​3462)
  • Wrap multiple context managers in parentheses when targeting Python 3.9+ (#​3489)
  • Fix several crashes in preview style with walrus operators used in with statements
    or tuples (#​3473)
  • Fix an invalid quote escaping bug in f-string expressions where it produced invalid
    code. Implicitly concatenated f-strings with different quotes can now be merged or
    quote-normalized by changing the quotes used in expressions. (#​3509)
  • Fix crash on await (yield) when Black is compiled with mypyc (#​3533)
Configuration
  • Black now tries to infer its --target-version from the project metadata specified in
    pyproject.toml (#​3219)
Packaging
  • Upgrade mypyc from 0.971 to 0.991 so mypycified Black can be built on armv7
    (#​3380)
    • This also fixes some crashes while using compiled Black with a debug build of
      CPython
  • Drop specific support for the tomli requirement on 3.11 alpha releases, working
    around a bug that would cause the requirement not to be installed on any non-final
    Python releases (#​3448)
  • Black now depends on packaging version 22.0 or later. This is required for new
    functionality that needs to parse part of the project metadata (#​3219)
Output
  • Calling black --help multiple times will return the same help contents each time
    (#​3516)
  • Verbose logging now shows the values of pyproject.toml configuration variables
    (#​3392)
  • Fix false symlink detection messages in verbose output due to using an incorrect
    relative path to the project root (#​3385)
Integrations
  • Move 3.11 CI to normal flow now that all dependencies support 3.11 (#​3446)
  • Docker: Add new latest_prerelease tag automation to follow latest black alpha
    release on docker images (#​3465)
Documentation
  • Expand vim-plug installation instructions to offer more explicit options (#​3468)
agronholm/cbor2 (cbor2)

v5.4.6: version 5.4.6

Compare Source

  • Fix a tag decoding error

v5.4.5: version 5.4.5

Compare Source

Fix potential memory leak.

v5.4.4: version 5.4.4

Compare Source

elastic/elasticsearch (docker.elastic.co/elasticsearch/elasticsearch)

v8.9.0: Elasticsearch 8.9.0

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.9/release-notes-8.9.0.html

v8.8.2: Elasticsearch 8.8.2

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.2.html

v8.8.1: Elasticsearch 8.8.1

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.1.html

v8.8.0: Elasticsearch 8.8.0

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.0.html

v8.7.1: Elasticsearch 8.7.1

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.7/release-notes-8.7.1.html

v8.7.0: Elasticsearch 8.7.0

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.7/release-notes-8.7.0.html

v8.6.2: Elasticsearch 8.6.2

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.6/release-notes-8.6.2.html

v8.6.1: Elasticsearch 8.6.1

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.6/release-notes-8.6.1.html

v8.6.0: Elasticsearch 8.6.0

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.6/release-notes-8.6.0.html

v8.5.3: Elasticsearch 8.5.3

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.5/release-notes-8.5.3.html

v8.5.2: Elasticsearch 8.5.2

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.5/release-notes-8.5.2.html

v8.5.1: Elasticsearch 8.5.1

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.5/release-notes-8.5.1.html

v8.5.0: Elasticsearch 8.5.0

Compare Source

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.5/release-notes-8.5.0.html

elastic/elasticsearch-py (elasticsearch)

v8.9.0: Release 8.9.0

Compare Source

  • Added the cluster.info API
  • Updated the inference_config argument in ml.put_trained_model API to reflect an improvement in the specification
yaml/pyyaml (pyyaml)

v6.0.1

Compare Source

twisted/twisted-iocpsupport (twisted-iocpsupport)

v1.0.3

Compare Source

  • Compile 3.11 wheels.
python/typing_extensions (typing-extensions)

v4.7.1

Compare Source

  • Fix support for TypedDict, NamedTuple and is_protocol on PyPy-3.7 and
    PyPy-3.8. Patch by Alex Waygood. Note that PyPy-3.7 and PyPy-3.8 are unsupported
    by the PyPy project. The next feature release of typing-extensions will
    drop support for PyPy-3.7 and may also drop support for PyPy-3.8.

v4.7.0

Compare Source

  • This is expected to be the last feature release supporting Python 3.7,
    which reaches its end of life on June 27, 2023. Version 4.8.0 will support
    only Python 3.8.0 and up.
  • Fix bug where a typing_extensions.Protocol class that had one or more
    non-callable members would raise TypeError when issubclass()
    was called against it, even if it defined a custom __subclasshook__
    method. The correct behaviour -- which has now been restored -- is not to
    raise TypeError in these situations if a custom __subclasshook__ method
    is defined. Patch by Alex Waygood (backporthttps://github.com/python/cpython/pull/105976l/105976).

v4.6.3

Compare Source

  • Fix a regression introduced in v4.6.0 in the implementation of
    runtime-checkable protocols. The regression meant
    that doing class Foo(X, typing_extensions.Protocol), where X was a class that
    had abc.ABCMeta as its metaclass, would then cause subsequent
    isinstance(1, X) calls to erroneously raise TypeError. Patch by
    Alex Waygood (backporting the CPythonhttps://github.com/python/cpython/pull/105152l/105152).
  • Sync the repository's LICENSE file with that of CPython.
    typing_extensions is distributed under the same license as
    CPython itself.
  • Skip a problematic test on Python 3.12.0b1. The test fails on 3.12.0b1 due to
    a bug in CPython, which will be fixed in 3.12.0b2. The
    typing_extensions test suite now passes on 3.12.0b1.

v4.6.2

Compare Source

  • Fix use of @deprecated on classes with __new__ but no __init__.
    Patch by Jelle Zijlstra.
  • Fix regression in version 4.6.1 where comparing a generic class against a
    runtime-checkable protocol using isinstance() would cause AttributeError
    to be raised if using Python 3.7.

v4.6.1

Compare Source

  • Change deprecated @runtime to formal API @runtime_checkable in the error
    message. Patch by Xuehai Pan.
  • Fix regression in 4.6.0 where attempting to define a Protocol that was
    generic over a ParamSpec or a TypeVarTuple would cause TypeError to be
    raised. Patch by Alex Waygood.

v4.6.0

Compare Source

  • typing_extensions is now documented at
    https://typing-extensions.readthedocs.io/en/latest/. Patch by Jelle Zijlstra.

  • Add typing_extensions.Buffer, a marker class for buffer types, as proposed
    by PEP 688. Equivalent to collections.abc.Buffer in Python 3.12. Patch by
    Jelle Zijlstra.

  • Backport two CPython PRs fixing various issues with typing.Literal:
    https://github.com/python/cpython/pull/232943294 https://github.com/python/cpython/pull/23383ll/23383. Both CPython PRs were
    originally by Yurii Karabas, and both were backported to Python >=3.9.1, but
    no earlier. Patch by Alex Waygood.

    A side effect of one of the changes is that equality comparisons of Literal
    objects will now raise a TypeError if one of the Literal objects being
    compared has a mutable parameter. (Using mutable parameters with Literal is
    not supported by PEP 586 or by any major static type checkers.)

  • Literal is now reimplemented on all Python versions <= 3.10.0. The
    typing_extensions version does not suffer from the bug that was fixed in
    https://github.com/python/cpython/pull/293349334. (The CPython bugfix was
    backported to CPython 3.10.1 and 3.9.8, but no earlier.)

  • Backport CPython PR 26067
    (originally by Yurii Karabas), ensuring that isinstance() calls on
    protocols raise TypeError when the protocol is not decorated with
    @runtime_checkable. Patch by Alex Waygood.

  • Backport several significant performance improvements to runtime-checkable
    protocols that have been made in Python 3.12 (https://github.com/python/cpython/issues/74690es/74690 for details). Patch by Alex
    Waygood.

    A side effect of one of the performance improvements is that the members of
    a runtime-checkable protocol are now considered “frozen” at runtime as soon
    as the class has been created. Monkey-patching attributes onto a
    runtime-checkable protocol will still work, but will have no impact on
    isinstance() checks comparing objects to the protocol. See
    "What's New in Python 3.12"
    for more details.

  • isinstance() checks against runtime-checkable protocols now use
    inspect.getattr_static() rather than hasattr() to lookup whether
    attributes exist (backporthttps://github.com/python/cpython/pull/1030343034).
    This means that descriptors and __getattr__ methods are no longer
    unexpectedly evaluated during isinstance() checks against runtime-checkable
    protocols. However, it may also mean that some objects which used to be
    considered instances of a runtime-checkable protocol on older versions of
    typing_extensions may no longer be considered instances of that protocol
    using the new release, and vice versa. Most users are unlikely to be affected
    by this change. Patch by Alex Waygood.

  • Backport the ability to define __init__ methods on Protocol classes, a
    change made in Python 3.11 (originally implementedhttps://github.com/python/cpython/pull/31628ll/31628 by Adrian Garcia Badaracco).
    Patch by Alex Waygood.

  • Speedup isinstance(3, typing_extensions.SupportsIndex) by >10x on Python
    <3.12. Patch by Alex Waygood.

  • Add typing_extensions versions of SupportsInt, SupportsFloat,
    SupportsComplex, SupportsBytes, SupportsAbs and SupportsRound. These
    have the same semantics as the versions from the typing module, but
    isinstance() checks against the typing_extensions versions are >10x faster
    at runtime on Python <3.12. Patch by Alex Waygood.

  • Add __orig_bases__ to non-generic TypedDicts, call-based TypedDicts, and
    call-based NamedTuples. Other TypedDicts and NamedTuples already had the attribute.
    Patch by Adrian Garcia Badaracco.

  • Add typing_extensions.get_original_bases, a backport of
    types.get_original_bases,
    introduced in Python 3.12 (CPythonhttps://github.com/python/cpython/pull/101827l/101827, originally by James
    Hilton-Balfe). Patch by Alex Waygood.

    This function should always produce correct results when called on classes
    constructed using features from typing_extensions. However, it may
    produce incorrect results when called on some NamedTuple or TypedDict
    classes that use typing.{NamedTuple,TypedDict} on Python <=3.11.

  • Constructing a call-based TypedDict using keyword arguments for the fields
    now causes a DeprecationWarning to be emitted. This matches the behaviour
    of typing.TypedDict on 3.11 and 3.12.

  • Backport the implementation of NewType from 3.10 (where it is implemented
    as a class rather than a function). This allows user-defined NewTypes to be
    pickled. Patch by Alex Waygood.

  • Fix tests and import on Python 3.12, where typing.TypeVar can no longer be
    subclassed. Patch by Jelle Zijlstra.

  • Add typing_extensions.TypeAliasType, a backport of typing.TypeAliasType
    from PEP 695. Patch by Jelle Zijlstra.

  • Backport changes to the repr of typing.Unpack that were made in order to
    implement PEP 692 (backport of
    https://github.com/python/cpython/pull/1040484048). Patch by Alex Waygood.

v4.5.0

Compare Source

  • Runtime support for PEP 702, adding typing_extensions.deprecated. Patch
    by Jelle Zijlstra.
  • Add better default value for TypeVar default parameter, PEP 696. Enables
    runtime check if None was passed as default. Patch by Marc Mueller (@​cdce8p).
  • The @typing_extensions.override decorator now sets the .__override__
    attribute. Patch by Steven Troxler.
  • Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10.
    Patch by Carl Meyer.
  • Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte.
urllib3/urllib3 (urllib3)

v2.0.4

Compare Source

==================

  • Added support for union operators to HTTPHeaderDict (#&#8203;2254 <https://github.com/urllib3/urllib3/issues/2254>__)
  • Added BaseHTTPResponse to urllib3.__all__ (#&#8203;3078 <https://github.com/urllib3/urllib3/issues/3078>__)
  • Fixed urllib3.connection.HTTPConnection to raise the http.client.connect audit event to have the same behavior as the standard library HTTP client (#&#8203;2757 <https://github.com/urllib3/urllib3/issues/2757>__)
  • Relied on the standard library for checking hostnames in supported PyPy releases (#&#8203;3087 <https://github.com/urllib3/urllib3/issues/3087>__)

v2.0.3

Compare Source

==================

  • Allowed alternative SSL libraries such as LibreSSL, while still issuing a warning as we cannot help users facing issues with implementations other than OpenSSL. (#&#8203;3020 <https://github.com/urllib3/urllib3/issues/3020>__)
  • Deprecated URLs which don't have an explicit scheme (#&#8203;2950 <https://github.com/urllib3/urllib3/pull/2950>_)
  • Fixed response decoding with Zstandard when compressed data is made of several frames. (#&#8203;3008 <https://github.com/urllib3/urllib3/issues/3008>__)
  • Fixed assert_hostname=False to correctly skip hostname check. (#&#8203;3051 <https://github.com/urllib3/urllib3/issues/3051>__)

v2.0.2

Compare Source

==================

  • Fixed HTTPResponse.stream() to continue yielding bytes if buffered decompressed data
    was still available to be read even if the underlying socket is closed. This prevents
    a compressed response from being truncated. (#&#8203;3009 <https://github.com/urllib3/urllib3/issues/3009>__)

v2.0.1

Compare Source

==================

  • Fixed a socket leak when fingerprint or hostname verifications fail. (#&#8203;2991 <https://github.com/urllib3/urllib3/issues/2991>__)
  • Fixed an error when HTTPResponse.read(0) was the first read call or when the internal response body buffer was otherwise empty. (#&#8203;2998 <https://github.com/urllib3/urllib3/issues/2998>__)

v2.0.0

Compare Source

==================

Read the v2.0 migration guide <https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html>__ for help upgrading to the latest version of urllib3.

Removed

  • Removed support for Python 2.7, 3.5, and 3.6 (#&#8203;883 <https://github.com/urllib3/urllib3/issues/883>, #&#8203;2336 <https://github.com/urllib3/urllib3/issues/2336>).
  • Removed fallback on certificate commonName in match_hostname() function.
    This behavior was deprecated in May 2000 in RFC 2818. Instead only subjectAltName
    is used to verify the hostname by default. To enable verifying the hostname against
    commonName use SSLContext.hostname_checks_common_name = True (#&#8203;2113 <https://github.com/urllib3/urllib3/issues/2113>__).
  • Removed support for Python with an ssl module compiled with LibreSSL, CiscoSSL,
    wolfSSL, and all other OpenSSL alternatives. Python is moving to require OpenSSL with PEP 644 (#&#8203;2168 <https://github.com/urllib3/urllib3/issues/2168>__).
  • Removed support for OpenSSL versions earlier than 1.1.1 or that don't have SNI support.
    When an incompatible OpenSSL version is detected an ImportError is raised (#&#8203;2168 <https://github.com/urllib3/urllib3/issues/2168>__).
  • Removed the list of default ciphers for OpenSSL 1.1.1+ and SecureTransport as their own defaults are already secure (#&#8203;2082 <https://github.com/urllib3/urllib3/issues/2082>__).
  • Removed urllib3.contrib.appengine.AppEngineManager and support for Google App Engine Standard Environment (#&#8203;2044 <https://github.com/urllib3/urllib3/issues/2044>__).
  • Removed deprecated Retry options method_whitelist, DEFAULT_REDIRECT_HEADERS_BLACKLIST (#&#8203;2086 <https://github.com/urllib3/urllib3/issues/2086>__).
  • Removed urllib3.HTTPResponse.from_httplib (#&#8203;2648 <https://github.com/urllib3/urllib3/issues/2648>__).
  • Removed default value of None for the request_context parameter of urllib3.PoolManager.connection_from_pool_key. This change should have no effect on users as the default value of None was an invalid option and was never used (#&#8203;1897 <https://github.com/urllib3/urllib3/issues/1897>__).
  • Removed the urllib3.request module. urllib3.request.RequestMethods has been made a private API.
    This change was made to ensure that from urllib3 import request imported the top-level request()
    function instead of the urllib3.request module (#&#8203;2269 <https://github.com/urllib3/urllib3/issues/2269>__).
  • Removed support for SSLv3.0 from the urllib3.contrib.pyopenssl even when support is available from the compiled OpenSSL library (#&#8203;2233 <https://github.com/urllib3/urllib3/issues/2233>__).
  • Removed the deprecated urllib3.contrib.ntlmpool module (#&#8203;2339 <https://github.com/urllib3/urllib3/issues/2339>__).
  • Removed DEFAULT_CIPHERS, HAS_SNI, USE_DEFAULT_SSLCONTEXT_CIPHERS, from the private module urllib3.util.ssl_ (#&#8203;2168 <https://github.com/urllib3/urllib3/issues/2168>__).
  • Removed urllib3.exceptions.SNIMissingWarning (#&#8203;2168 <https://github.com/urllib3/urllib3/issues/2168>__).
  • Removed the _prepare_conn method from HTTPConnectionPool. Previously this was only used to call HTTPSConnection.set_cert() by HTTPSConnectionPool (#&#8203;1985 <https://github.com/urllib3/urllib3/issues/1985>__).
  • Removed tls_in_tls_required property from HTTPSConnection. This is now determined from the scheme parameter in HTTPConnection.set_tunnel() (#&#8203;1985 <https://github.com/urllib3/urllib3/issues/1985>__).
  • Removed the strict parameter/attribute from HTTPConnection, HTTPSConnection, HTTPConnectionPool, HTTPSConnectionPool, and HTTPResponse (#&#8203;2064 <https://github.com/urllib3/urllib3/issues/2064>__).

Deprecated

  • Deprecated HTTPResponse.getheaders() and HTTPResponse.getheader() which will be removed in urllib3 v2.1.0. Instead use HTTPResponse.headers and HTTPResponse.headers.get(name, default). (#&#8203;1543 <https://github.com/urllib3/urllib3/issues/1543>, #&#8203;2814 <https://github.com/urllib3/urllib3/issues/2814>).
  • Deprecated urllib3.contrib.pyopenssl module which will be removed in urllib3 v2.1.0 (#&#8203;2691 <https://github.com/urllib3/urllib3/issues/2691>__).
  • Deprecated urllib3.contrib.securetransport module which will be removed in urllib3 v2.1.0 (#&#8203;2692 <https://github.com/urllib3/urllib3/issues/2692>__).
  • Deprecated ssl_version option in favor of ssl_minimum_version. ssl_version will be removed in urllib3 v2.1.0 (#&#8203;2110 <https://github.com/urllib3/urllib3/issues/2110>__).
  • Deprecated the strict parameter of PoolManager.connection_from_context() as it's not longer needed in Python 3.x. It will be removed in urllib3 v2.1.0 (#&#8203;2267 <https://github.com/urllib3/urllib3/issues/2267>__)
  • Deprecated the NewConnectionError.pool attribute which will be removed in urllib3 v2.1.0 (#&#8203;2271 <https://github.com/urllib3/urllib3/issues/2271>__).
  • Deprecated format_header_param_html5 and format_header_param in favor of format_multipart_header_param (#&#8203;2257 <https://github.com/urllib3/urllib3/issues/2257>__).
  • Deprecated RequestField.header_formatter parameter which will be removed in urllib3 v2.1.0 (#&#8203;2257 <https://github.com/urllib3/urllib3/issues/2257>__).
  • Deprecated HTTPSConnection.set_cert() method. Instead pass parameters to the HTTPSConnection constructor (#&#8203;1985 <https://github.com/urllib3/urllib3/issues/1985>__).
  • Deprecated HTTPConnection.request_chunked() method which will be removed in urllib3 v2.1.0. Instead pass chunked=True to HTTPConnection.request() (#&#8203;1985 <https://github.com/urllib3/urllib3/issues/1985>__).

Added

  • Added top-level urllib3.request function which uses a preconfigured module-global PoolManager instance (#&#8203;2150 <https://github.com/urllib3/urllib3/issues/2150>__).
  • Added the json parameter to urllib3.request(), PoolManager.request(), and ConnectionPool.request() methods to send JSON bodies in requests. Using this parameter will set the header Content-Type: application/json if Content-Type isn't already defined.
    Added support for parsing JSON response bodies with HTTPResponse.json() method (#&#8203;2243 <https://github.com/urllib3/urllib3/issues/2243>__).
  • Added type hints to the urllib3 module (#&#8203;1897 <https://github.com/urllib3/urllib3/issues/1897>__).
  • Added ssl_minimum_version and ssl_maximum_version options which set
    SSLContext.minimum_version and SSLContext.maximum_version (#&#8203;2110 <https://github.com/urllib3/urllib3/issues/2110>__).
  • Added support for Zstandard (RFC 8878) when zstandard 1.18.0 or later is installed.
    Added the zstd extra which installs the zstandard package (#&#8203;1992 <https://github.com/urllib3/urllib3/issues/1992>__).
  • Added urllib3.response.BaseHTTPResponse class. All future response classes will be subclasses of BaseHTTPResponse (#&#8203;2083 <https://github.com/urllib3/urllib3/issues/2083>__).
  • Added FullPoolError which is raised when PoolManager(block=True) and a connection is returned to a full pool (#&#8203;2197 <https://github.com/urllib3/urllib3/issues/2197>__).
  • Added HTTPHeaderDict to the top-level urllib3 namespace (#&#8203;2216 <https://github.com/urllib3/urllib3/issues/2216>__).
  • Added support for configuring header merging behavior with HTTPHeaderDict
    When using a HTTPHeaderDict to provide headers for a request, by default duplicate
    header values will be repeated. But if combine=True is passed into a call to
    HTTPHeaderDict.add, then the added header value will be merged in with an existing
    value into a comma-separated list (X-My-Header: foo, bar) (#&#8203;2242 <https://github.com/urllib3/urllib3/issues/2242>__).
  • Added NameResolutionError exception when a DNS error occurs (#&#8203;2305 <https://github.com/urllib3/urllib3/issues/2305>__).
  • Added proxy_assert_hostname and proxy_assert_fingerprint kwargs to ProxyManager (#&#8203;2409 <https://github.com/urllib3/urllib3/issues/2409>__).
  • Added a configurable backoff_max parameter to the Retry class.
    If a custom backoff_max is provided to the Retry class, it
    will replace the Retry.DEFAULT_BACKOFF_MAX (#&#8203;2494 <https://github.com/urllib3/urllib3/issues/2494>__).
  • Added the authority property to the Url class as per RFC 3986 3.2. This property should be used in place of netloc for users who want to include the userinfo (auth) component of the URI (#&#8203;2520 <https://github.com/urllib3/urllib3/issues/2520>__).
  • Added the scheme parameter to HTTPConnection.set_tunnel to configure the scheme of the origin being tunnelled to (#&#8203;1985 <https://github.com/urllib3/urllib3/issues/1985>__).
  • Added the is_closed, is_connected and has_connected_to_proxy properties to HTTPConnection (#&#8203;1985 <https://github.com/urllib3/urllib3/issues/1985>__).
  • Added optional backoff_jitter parameter to Retry. (#&#8203;2952 <https://github.com/urllib3/urllib3/issues/2952>__)

Changed

  • Changed urllib3.response.HTTPResponse.read to respect the semantics of io.BufferedIOBase regardless of compression. Specifically, this method:

    • Only returns an empty bytes object to indicate EOF (that is, the response has been fully consumed).
    • Never returns more bytes than requested.
    • Can issue any number of system calls: zero, one or multiple.

    I


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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 Renovate Bot.

@dustinblack dustinblack merged commit ba9b050 into main Aug 10, 2023
2 checks passed
@dustinblack dustinblack deleted the renovate/all branch August 10, 2023 09:39
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.

2 participants