Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.9.0
->0.10.3
==0.9.0
->==0.10.3
==22.1.0
->==23.1.0
^1.7.3
->^2.0.0
==20.2.0
->==22.10.0
^22.10.0
->^23.0.0
==5.4.3
->==5.4.6
8.4.3
->8.9.0
8.8.2
->8.9.0
==8.4.3
->==8.9.0
2.10.0
->2.11.0
==6.0
->==6.0.1
7b72424
a57baf7
59460e4
==1.0.2
->==1.0.3
==4.4.0
->==4.7.1
==1.26.12
->==2.0.4
==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 HandlingCompare 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 typesCompare 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
#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()
andattrs.filters.include()
now support the passing of attribute names as strings.#1068
attrs.has()
andattrs.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 andattrs.astuple()
's type stubs now accept theattrs.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 passinclude_extras
totyping.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 withattrs.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()
(andattr.evolve()
) to change fields namedinst
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
#988
Deprecations
#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 theattrs
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 aTypeGuard
forAttrsInstance
.That means that type checkers know a class is an instance of an
attrs
class if you check it usingattrs.has()
(orattr.has()
) first.#997
Made
attrs.AttrsInstance
stub available at runtime and fixed type errors related to the usage ofattrs.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 aValueError
orTypeError
(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()
andattrs.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
supported until further notice (#3765)
Stable style
PEP 604 unions (#3735)
under some circumstances (#3745)
type: ignore
within parentheses(#3740)
(#3773)
Preview style
parentheses (#3640)
Configuration
--workers
argument to Black can now be specified via theBLACK_NUM_WORKERS
environment variable (#3743)
.pytest_cache
,.ruff_cache
and.vscode
are now excluded by default (#3691)pyproject.toml
settings when running--stdin-filename
and the
pyproject.toml
found isn't in the current working directory (#3719)exclude
andextend-exclude
have invalid data types inpyproject.toml
, instead of silently doing the wrong thing (#3764)Packaging
LANG=C
(#3768)Parser
Performance
IPython
in a case where we wouldn't need it (#3748)Output
Blackd
blackd
argument parser now shows the default values for options in their helptext (#3712)
Integrations
PYTHONWARNDEFAULTENCODING = 1
(#3763)
Documentation
cite this software (#3723)
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 areexpected to become part of Black's stable style in January 2024.
Stable style
# fmt: skip
and# fmt: off
no longer have an extra blank lineadded when they are right after another import line (#3610)
Preview style
entry (#3393)
async def
,async for
, andasync with
statements are now formatted consistentlycompared to their non-async version. (#3609)
with
statements that contain two context managers will be consistently wrapped inparentheses (#3589)
(#3445)
、
U+3001IDEOGRAPHIC COMMA,
。
U+3002 IDEOGRAPHIC FULL STOP, &,
U+FF0C FULLWIDTH COMMA)besides before spaces (#3445)
...
(#3564)Parser
Integrations
version input is not specified (#3543)
Documentation
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 usfeedback 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 targetversions separately.
Stable style
preview style (#3418). Specific changes:
(#3302) (22.12.0)
present) or as a single newline character (if a newline is present) (#3348)
(22.12.0)
parentheses (#3307) (22.12.0)
(#3370) (22.12.0)
--skip-string-normalization
/-S
now prevents docstring prefixes from beingnormalized as expected (#3168) (since 22.8.0)
--skip-magic-trailing-comma
or-C
, trailing commas are stripped fromsubscript expressions with more than 1 element (#3209) (22.8.0)
parentheses (#3162) (22.8.0)
implicitly concatenated strings on its own line (#3227) (22.8.0)
(#3044, #3430) (22.6.0)
with
statements (#2926) (22.6.0)#%%
are now standardised to# %%
(#2919) (22.3.0)except
statements (#2939) (22.3.0)for
loops (#2945) (22.3.0)# fmt: off
and# fmt: on
(#3439)Preview style
if
-else
expressions (#2278)and except clauses (#3423)
regular and f-strings start with an empty span (#3463)
before a dict's value (#3469)
# fmt: skip
applied or there is a standalone comment between decorators (#3470)
too long (#3430)
unnecessary parentheses around short values in dict literals are now removed; long
string lambda values are now wrapped in parentheses (#3440)
return type annotation is stringified and spans across multiple lines (#3462)
with
statementsor tuples (#3473)
code. Implicitly concatenated f-strings with different quotes can now be merged or
quote-normalized by changing the quotes used in expressions. (#3509)
await (yield)
when Black is compiled with mypyc (#3533)Configuration
--target-version
from the project metadata specified inpyproject.toml
(#3219)Packaging
0.971
to0.991
so mypycified Black can be built on armv7(#3380)
CPython
tomli
requirement on 3.11 alpha releases, workingaround a bug that would cause the requirement not to be installed on any non-final
Python releases (#3448)
packaging
version22.0
or later. This is required for newfunctionality that needs to parse part of the project metadata (#3219)
Output
black --help
multiple times will return the same help contents each time(#3516)
pyproject.toml
configuration variables(#3392)
relative path to the project root (#3385)
Integrations
latest_prerelease
tag automation to follow latest black alpharelease on docker images (#3465)
Documentation
vim-plug
installation instructions to offer more explicit options (#3468)agronholm/cbor2 (cbor2)
v5.4.6
: version 5.4.6Compare Source
v5.4.5
: version 5.4.5Compare Source
Fix potential memory leak.
v5.4.4
: version 5.4.4Compare Source
elastic/elasticsearch (docker.elastic.co/elasticsearch/elasticsearch)
v8.9.0
: Elasticsearch 8.9.0Compare 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.2Compare 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.1Compare 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.0Compare 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.1Compare 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.0Compare 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.2Compare 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.1Compare 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.0Compare 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.3Compare 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.2Compare 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.1Compare 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.0Compare 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.0Compare Source
cluster.info
APIinference_config
argument inml.put_trained_model
API to reflect an improvement in the specificationyaml/pyyaml (pyyaml)
v6.0.1
Compare Source
twisted/twisted-iocpsupport (twisted-iocpsupport)
v1.0.3
Compare Source
python/typing_extensions (typing-extensions)
v4.7.1
Compare Source
TypedDict
,NamedTuple
andis_protocol
on PyPy-3.7 andPyPy-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
which reaches its end of life on June 27, 2023. Version 4.8.0 will support
only Python 3.8.0 and up.
typing_extensions.Protocol
class that had one or morenon-callable members would raise
TypeError
whenissubclass()
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__
methodis defined. Patch by Alex Waygood (backporthttps://github.com/python/cpython/pull/105976l/105976).
v4.6.3
Compare Source
runtime-checkable protocols. The regression meant
that doing
class Foo(X, typing_extensions.Protocol)
, whereX
was a class thathad
abc.ABCMeta
as its metaclass, would then cause subsequentisinstance(1, X)
calls to erroneously raiseTypeError
. Patch byAlex Waygood (backporting the CPythonhttps://github.com/python/cpython/pull/105152l/105152).
typing_extensions
is distributed under the same license asCPython itself.
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
@deprecated
on classes with__new__
but no__init__
.Patch by Jelle Zijlstra.
runtime-checkable protocol using
isinstance()
would causeAttributeError
to be raised if using Python 3.7.
v4.6.1
Compare Source
@runtime
to formal API@runtime_checkable
in the errormessage. Patch by Xuehai Pan.
Protocol
that wasgeneric over a
ParamSpec
or aTypeVarTuple
would causeTypeError
to beraised. Patch by Alex Waygood.
v4.6.0
Compare Source
typing_extensions
is now documented athttps://typing-extensions.readthedocs.io/en/latest/. Patch by Jelle Zijlstra.
Add
typing_extensions.Buffer
, a marker class for buffer types, as proposedby PEP 688. Equivalent to
collections.abc.Buffer
in Python 3.12. Patch byJelle 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 theLiteral
objects beingcompared has a mutable parameter. (Using mutable parameters with
Literal
isnot supported by PEP 586 or by any major static type checkers.)
Literal
is now reimplemented on all Python versions <= 3.10.0. Thetyping_extensions
version does not suffer from the bug that was fixed inhttps://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 onprotocols 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 useinspect.getattr_static()
rather thanhasattr()
to lookup whetherattributes exist (backporthttps://github.com/python/cpython/pull/1030343034).
This means that descriptors and
__getattr__
methods are no longerunexpectedly evaluated during
isinstance()
checks against runtime-checkableprotocols. 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 protocolusing 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, achange 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 ofSupportsInt
,SupportsFloat
,SupportsComplex
,SupportsBytes
,SupportsAbs
andSupportsRound
. Thesehave the same semantics as the versions from the
typing
module, butisinstance()
checks against thetyping_extensions
versions are >10x fasterat runtime on Python <3.12. Patch by Alex Waygood.
Add
__orig_bases__
to non-generic TypedDicts, call-based TypedDicts, andcall-based NamedTuples. Other TypedDicts and NamedTuples already had the attribute.
Patch by Adrian Garcia Badaracco.
Add
typing_extensions.get_original_bases
, a backport oftypes.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 mayproduce incorrect results when called on some
NamedTuple
orTypedDict
classes that use
typing.{NamedTuple,TypedDict}
on Python <=3.11.Constructing a call-based
TypedDict
using keyword arguments for the fieldsnow causes a
DeprecationWarning
to be emitted. This matches the behaviourof
typing.TypedDict
on 3.11 and 3.12.Backport the implementation of
NewType
from 3.10 (where it is implementedas a class rather than a function). This allows user-defined
NewType
s to bepickled. Patch by Alex Waygood.
Fix tests and import on Python 3.12, where
typing.TypeVar
can no longer besubclassed. Patch by Jelle Zijlstra.
Add
typing_extensions.TypeAliasType
, a backport oftyping.TypeAliasType
from PEP 695. Patch by Jelle Zijlstra.
Backport changes to the repr of
typing.Unpack
that were made in order toimplement PEP 692 (backport of
https://github.com/python/cpython/pull/1040484048). Patch by Alex Waygood.
v4.5.0
Compare Source
typing_extensions.deprecated
. Patchby Jelle Zijlstra.
default
parameter, PEP 696. Enablesruntime check if
None
was passed as default. Patch by Marc Mueller (@cdce8p).@typing_extensions.override
decorator now sets the.__override__
attribute. Patch by Steven Troxler.
get_type_hints()
on cross-module inheritedTypedDict
in 3.9 and 3.10.Patch by Carl Meyer.
frozen_default
parameter ondataclass_transform
. Patch by Erik De Bonte.urllib3/urllib3 (urllib3)
v2.0.4
Compare Source
==================
HTTPHeaderDict
(#​2254 <https://github.com/urllib3/urllib3/issues/2254>
__)BaseHTTPResponse
tourllib3.__all__
(#​3078 <https://github.com/urllib3/urllib3/issues/3078>
__)urllib3.connection.HTTPConnection
to raise thehttp.client.connect
audit event to have the same behavior as the standard library HTTP client (#​2757 <https://github.com/urllib3/urllib3/issues/2757>
__)#​3087 <https://github.com/urllib3/urllib3/issues/3087>
__)v2.0.3
Compare Source
==================
#​3020 <https://github.com/urllib3/urllib3/issues/3020>
__)#​2950 <https://github.com/urllib3/urllib3/pull/2950>
_)#​3008 <https://github.com/urllib3/urllib3/issues/3008>
__)assert_hostname=False
to correctly skip hostname check. (#​3051 <https://github.com/urllib3/urllib3/issues/3051>
__)v2.0.2
Compare Source
==================
HTTPResponse.stream()
to continue yielding bytes if buffered decompressed datawas still available to be read even if the underlying socket is closed. This prevents
a compressed response from being truncated. (
#​3009 <https://github.com/urllib3/urllib3/issues/3009>
__)v2.0.1
Compare Source
==================
#​2991 <https://github.com/urllib3/urllib3/issues/2991>
__)HTTPResponse.read(0)
was the firstread
call or when the internal response body buffer was otherwise empty. (#​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
#​883 <https://github.com/urllib3/urllib3/issues/883>
,#​2336 <https://github.com/urllib3/urllib3/issues/2336>
).commonName
inmatch_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
useSSLContext.hostname_checks_common_name = True
(#​2113 <https://github.com/urllib3/urllib3/issues/2113>
__).ssl
module compiled with LibreSSL, CiscoSSL,wolfSSL, and all other OpenSSL alternatives. Python is moving to require OpenSSL with PEP 644 (
#​2168 <https://github.com/urllib3/urllib3/issues/2168>
__).When an incompatible OpenSSL version is detected an
ImportError
is raised (#​2168 <https://github.com/urllib3/urllib3/issues/2168>
__).#​2082 <https://github.com/urllib3/urllib3/issues/2082>
__).urllib3.contrib.appengine.AppEngineManager
and support for Google App Engine Standard Environment (#​2044 <https://github.com/urllib3/urllib3/issues/2044>
__).Retry
optionsmethod_whitelist
,DEFAULT_REDIRECT_HEADERS_BLACKLIST
(#​2086 <https://github.com/urllib3/urllib3/issues/2086>
__).urllib3.HTTPResponse.from_httplib
(#​2648 <https://github.com/urllib3/urllib3/issues/2648>
__).None
for therequest_context
parameter ofurllib3.PoolManager.connection_from_pool_key
. This change should have no effect on users as the default value ofNone
was an invalid option and was never used (#​1897 <https://github.com/urllib3/urllib3/issues/1897>
__).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-levelrequest()
function instead of the
urllib3.request
module (#​2269 <https://github.com/urllib3/urllib3/issues/2269>
__).urllib3.contrib.pyopenssl
even when support is available from the compiled OpenSSL library (#​2233 <https://github.com/urllib3/urllib3/issues/2233>
__).urllib3.contrib.ntlmpool
module (#​2339 <https://github.com/urllib3/urllib3/issues/2339>
__).DEFAULT_CIPHERS
,HAS_SNI
,USE_DEFAULT_SSLCONTEXT_CIPHERS
, from the private moduleurllib3.util.ssl_
(#​2168 <https://github.com/urllib3/urllib3/issues/2168>
__).urllib3.exceptions.SNIMissingWarning
(#​2168 <https://github.com/urllib3/urllib3/issues/2168>
__)._prepare_conn
method fromHTTPConnectionPool
. Previously this was only used to callHTTPSConnection.set_cert()
byHTTPSConnectionPool
(#​1985 <https://github.com/urllib3/urllib3/issues/1985>
__).tls_in_tls_required
property fromHTTPSConnection
. This is now determined from thescheme
parameter inHTTPConnection.set_tunnel()
(#​1985 <https://github.com/urllib3/urllib3/issues/1985>
__).strict
parameter/attribute fromHTTPConnection
,HTTPSConnection
,HTTPConnectionPool
,HTTPSConnectionPool
, andHTTPResponse
(#​2064 <https://github.com/urllib3/urllib3/issues/2064>
__).Deprecated
HTTPResponse.getheaders()
andHTTPResponse.getheader()
which will be removed in urllib3 v2.1.0. Instead useHTTPResponse.headers
andHTTPResponse.headers.get(name, default)
. (#​1543 <https://github.com/urllib3/urllib3/issues/1543>
,#​2814 <https://github.com/urllib3/urllib3/issues/2814>
).urllib3.contrib.pyopenssl
module which will be removed in urllib3 v2.1.0 (#​2691 <https://github.com/urllib3/urllib3/issues/2691>
__).urllib3.contrib.securetransport
module which will be removed in urllib3 v2.1.0 (#​2692 <https://github.com/urllib3/urllib3/issues/2692>
__).ssl_version
option in favor ofssl_minimum_version
.ssl_version
will be removed in urllib3 v2.1.0 (#​2110 <https://github.com/urllib3/urllib3/issues/2110>
__).strict
parameter ofPoolManager.connection_from_context()
as it's not longer needed in Python 3.x. It will be removed in urllib3 v2.1.0 (#​2267 <https://github.com/urllib3/urllib3/issues/2267>
__)NewConnectionError.pool
attribute which will be removed in urllib3 v2.1.0 (#​2271 <https://github.com/urllib3/urllib3/issues/2271>
__).format_header_param_html5
andformat_header_param
in favor offormat_multipart_header_param
(#​2257 <https://github.com/urllib3/urllib3/issues/2257>
__).RequestField.header_formatter
parameter which will be removed in urllib3 v2.1.0 (#​2257 <https://github.com/urllib3/urllib3/issues/2257>
__).HTTPSConnection.set_cert()
method. Instead pass parameters to theHTTPSConnection
constructor (#​1985 <https://github.com/urllib3/urllib3/issues/1985>
__).HTTPConnection.request_chunked()
method which will be removed in urllib3 v2.1.0. Instead passchunked=True
toHTTPConnection.request()
(#​1985 <https://github.com/urllib3/urllib3/issues/1985>
__).Added
urllib3.request
function which uses a preconfigured module-globalPoolManager
instance (#​2150 <https://github.com/urllib3/urllib3/issues/2150>
__).json
parameter tourllib3.request()
,PoolManager.request()
, andConnectionPool.request()
methods to send JSON bodies in requests. Using this parameter will set the headerContent-Type: application/json
ifContent-Type
isn't already defined.Added support for parsing JSON response bodies with
HTTPResponse.json()
method (#​2243 <https://github.com/urllib3/urllib3/issues/2243>
__).urllib3
module (#​1897 <https://github.com/urllib3/urllib3/issues/1897>
__).ssl_minimum_version
andssl_maximum_version
options which setSSLContext.minimum_version
andSSLContext.maximum_version
(#​2110 <https://github.com/urllib3/urllib3/issues/2110>
__).zstandard
1.18.0 or later is installed.Added the
zstd
extra which installs thezstandard
package (#​1992 <https://github.com/urllib3/urllib3/issues/1992>
__).urllib3.response.BaseHTTPResponse
class. All future response classes will be subclasses ofBaseHTTPResponse
(#​2083 <https://github.com/urllib3/urllib3/issues/2083>
__).FullPoolError
which is raised whenPoolManager(block=True)
and a connection is returned to a full pool (#​2197 <https://github.com/urllib3/urllib3/issues/2197>
__).HTTPHeaderDict
to the top-levelurllib3
namespace (#​2216 <https://github.com/urllib3/urllib3/issues/2216>
__).When using a
HTTPHeaderDict
to provide headers for a request, by default duplicateheader values will be repeated. But if
combine=True
is passed into a call toHTTPHeaderDict.add
, then the added header value will be merged in with an existingvalue into a comma-separated list (
X-My-Header: foo, bar
) (#​2242 <https://github.com/urllib3/urllib3/issues/2242>
__).NameResolutionError
exception when a DNS error occurs (#​2305 <https://github.com/urllib3/urllib3/issues/2305>
__).proxy_assert_hostname
andproxy_assert_fingerprint
kwargs toProxyManager
(#​2409 <https://github.com/urllib3/urllib3/issues/2409>
__).backoff_max
parameter to theRetry
class.If a custom
backoff_max
is provided to theRetry
class, itwill replace the
Retry.DEFAULT_BACKOFF_MAX
(#​2494 <https://github.com/urllib3/urllib3/issues/2494>
__).authority
property to the Url class as per RFC 3986 3.2. This property should be used in place ofnetloc
for users who want to include the userinfo (auth) component of the URI (#​2520 <https://github.com/urllib3/urllib3/issues/2520>
__).scheme
parameter toHTTPConnection.set_tunnel
to configure the scheme of the origin being tunnelled to (#​1985 <https://github.com/urllib3/urllib3/issues/1985>
__).is_closed
,is_connected
andhas_connected_to_proxy
properties toHTTPConnection
(#​1985 <https://github.com/urllib3/urllib3/issues/1985>
__).backoff_jitter
parameter toRetry
. (#​2952 <https://github.com/urllib3/urllib3/issues/2952>
__)Changed
Changed
urllib3.response.HTTPResponse.read
to respect the semantics ofio.BufferedIOBase
regardless of compression. Specifically, this method: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.
This PR has been generated by Renovate Bot.