Repository navigation
chore(deps): Update python-dependencies - #3356
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
renovate
Bot
force-pushed
the
renovate/python-dependencies
branch
from
September 2, 2026 22:51
020e048 to
3253945
Compare
renovate
Bot
force-pushed
the
renovate/python-dependencies
branch
15 times, most recently
from
September 9, 2026 22:26
bd730c6 to
e17289f
Compare
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
renovate
Bot
force-pushed
the
renovate/python-dependencies
branch
10 times, most recently
from
September 11, 2026 08:36
6419cfd to
d28557d
Compare
renovate
Bot
force-pushed
the
renovate/python-dependencies
branch
10 times, most recently
from
September 22, 2026 18:18
c5c91b6 to
b83d30c
Compare
renovate
Bot
force-pushed
the
renovate/python-dependencies
branch
11 times, most recently
from
September 30, 2026 21:15
2d66927 to
c709098
Compare
renovate
Bot
force-pushed
the
renovate/python-dependencies
branch
8 times, most recently
from
October 5, 2026 21:11
cbe3123 to
1632297
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
==1.2.0→==1.2.4==1.19.1→==1.20.1==4.14.2→==4.16.0==0.2.14→==0.2.18==3.5.1→==3.5.2==1.3.3→==1.4.0==50.0.1→==50.0.2==5.3.1→==5.3.2==2.2.1→==2.3.0==2.22.2→==2.22.3==4.64.0→==4.68.0==3.19→==3.20==0.20.0→==0.20.1==0.16.0→==0.19.0==3.0.3→==3.0.4==3.11.1→==3.11.2==3.3.4→==3.4.0==2.5.2→==2.5.5==4.11.6→==4.14.8==0.5.2→==0.5.4==0.2.3→==0.2.4==3.0→==3.12==3.3.2→==3.3.3==1.2.3→==1.2.4==27.2.0→==27.3.0==2026.6.3→==2026.9.1==0.16.5→==0.17.6==2.68.1→==2.75.0==2.0.52→==2.1.9==4.70.0→==4.70.1==0.8.3→==0.9.4==2.4.0→==2.5.2==1.24.5→==1.25.1Release Notes
PyMySQL/PyMySQL (PyMySQL)
v1.2.4Compare Source
Release date: 2026-11-09
Fixed a SQL injection vulnerability caused by incorrect escaping of string values
inside
tuple,list,set, orfrozensetquery parameters when theNO_BACKSLASH_ESCAPESSQL mode is enabled.Sequence items are now escaped through
Connection.escape()so they respectthe connection's SQL mode.
See also: https://github.com/PyMySQL/PyMySQL/security/advisories/GHSA-m75w-33c4-7v8q
Other changes
ssl_verify_identity=Truenow requires server certificate verification,even when
ssl_verify_cert=False. (#1282)caching_sha2_passwordauthentication. (#1275)executemany()query postfixes, such asON DUPLICATE KEY UPDATEclauses. (#1276)when converting date/time values. (#1280)
MUST_CHANGE_PASSWORDandMUST_CHANGE_PASSWORD_LOGINerror codes. (#1278)pymysql.converters.escape_sequence(). UseConnection.escape()instead. The default converter mapping no longer supports
tuple,list,set, orfrozenset.v1.2.3Compare Source
Release date: 2026-09-17
Restored the ability to import
pymysql.converters.escape_bytes_prefixedforcompatibility with aiomysql.
Use
pymysql.convertersat your own risk.It's internal functions. No backward compatibility are guaranteed.
v1.2.2Compare Source
Release date: 2026-09-17
Restored the ability to import
pymysql.converters.escape_dictforcompatibility with aiomysql.
This function does not escape dictionaries and is entirely unnecessary.
Unless you use aiomysql, there is no need to upgrade from v1.2.1.
v1.2.1Compare Source
Release date: 2026-09-17
Fixed a SQL injection vulnerability caused by incorrect escaping of
bytesparameters when using the big5, gbk, sjis, cp932, or gb18030 character sets.
This vulnerability also occurs when strings decoded from
bytesusingsurrogateescapeare passed as query parameters.See also: https://github.com/PyMySQL/PyMySQL/security/advisories/GHSA-x4f8-9hx9-hpp9
Queries are now encoded using the
stricterror handler instead ofsurrogateescape.Queries that cannot be encoded using the connection encoding can no longer be sent.
bytesparameters are now always sent as hexadecimal literals, such asX'636174'. Note that this increases the number of bytes sent.The
binary_prefixparameter ofconnect()is deprecated. The_binaryprefix is no longer sent.
These changes address the confirmed SQL injection vulnerabilities related to
character encoding.
However, we strongly recommend using UTF-8 (
utf8mb4).Other character sets are not thoroughly tested, and their limited use means
that problems may go unreported. In the 2020s, encodings other than UTF-8
should be considered legacy.
agronholm/anyio (anyio)
v4.16.0Compare Source
New features
BlockingPortal.call_async()for asynchronously calling into an event loop with optional abandonment on cancellation (#1342; PR by @davidbrochart)connect_unix()andcreate_unix_listener()(#1349; PR by @theunkn0wn1)Other changes
send()wait until the datagram has been passed to the operating system (#1294; PR by @graingert)Bug fixes
use_uvloop=Truefalls back to the standard event loop when uvloop (winloop on Windows) is not installed, and showed how to skip the corresponding pytest backend variant when the dependency is missing (#645; PR by @GruffElixir)get_current_task()on the asyncio backend raising an opaqueTypeError: cannot create weak reference to 'NoneType' objectinstead of a clear error when called from a callback scheduled vialoop.call_soon_threadsafe()(e.g. from withinfrom_thread.run_sync()), whereasyncio.current_task()is legitimatelyNone(#773; PR by @AmirF194)CancelScopeon the asyncio backend swallowing a nativeTask.cancel()that was delivered in the same event loop iteration as the scope's own cancellation (such as amove_on_after()deadline expiring), which left the host task with a pending cancellation request that never raisedCancelledError(#1214)aclose_forcefully()calls on asyncio socket streams returning before the underlying socket was closed (#1273; PR by @graingert)aclose()on sockets not checkpointing, and thus failing to raise a cancellation exception when called inside a cancelled scope (affected UNIX socket streams and UNIX datagram sockets on asyncio, and all sockets on Trio) (#1288; PR by @graingert)aclose()on asyncio TCP socket listeners not checkpointing, and leaking the listening socket if cancelled while another task was waiting inaccept()(#1289; PR by @graingert)accept()on asyncio UNIX socket listeners hanging forever, and leaving the listening socket registered with the event loop, when the listener was closed by another task (#1289; PR by @graingert)send()on asyncio TCP and UDP sockets returning normally, despite the data being discarded, when the socket was closed by another task (or, for TCP, the connection was lost) whilesend()was waiting for the operating system to accept the data (#1289; PR by @graingert)SocketStream.send()on the asyncio backend handing its data to a paused transport after a previoussend()was cancelled (#1299; PR by @graingert)sleep()treating a negative delay (including-inf) inconsistently across backends (asyncio returned immediately; Trio raisedValueError) by raisingValueErroron all backends (#1306; PR by @BetterAndBetterII)create_tcp_listener()occasionally failing with a message likeCould not create 2 listeners with a consistent portwhen an ephemeral port is requested and IPv6 is enabled and the dual-stack path is not available or a specific local host name was given (#1313)AsyncFilenot shielding against cancellation while closing (#1314)TemporaryDirectory.cleanup()reacting to cancellation prematurely when the host task was already cancelled, causing the actual cleanup operation to be skipped (#1316; PR by @Yasser-Ameur)ValueError, which silently disabled the timeout (fail_after(math.nan)returned instead of raisingTimeoutError);CancelScopenow rejects it on both backends (#1317; PR by @dylanpulver)FileReadStreamandFileWriteStreamleaving files open when cancelled during context manager exit, including unflushed writes (#1318; PR by @Kuang-xianxin)Condition.notify()andCondition.notify_all()failing when the underlying lock was acquired directly rather than through the condition (#1319; PR by @GruffElixir)__file__, such as PyOxidizer, raisingTypeErrorinstead of falling back to eager imports (#1322; PR by @skulitom)Semaphore(fast_acquire=True)losing its fast-acquire behavior when instantiated outside a running event loop (#1348; PR by @feiiiiii5)BlockingPortalProviderpermanently failing with anAttributeErroron every subsequent use if the first attempt to start its blocking portal failed (#1350; PR by @Yasser-Ameur)create_udp_socket()silently ignoring thelocal_portargument whenlocal_hostwas omitted, making the socket bind to a random ephemeral port instead of the requested one (#1351; PR by @januththedev)to_thread.run_sync()call was cancelled after it had been queued for the worker but before the worker thread had picked it up (#1352; PR by @Zac-HD)TypeErrorwhen subclassing an existingTypedAttributeSetsubclass, and this subclass contains type annotations (#1358; PR by @pasmud)Lock.locked()(andCondition.locked()) raisingNoEventLoopErrorwhen the lock was created outside a running event loop (#1362; PR by @00200200)connect_tcp()leaking a connected socket when an enclosing cancel scope was cancelled before the connection attempt task group exited (#1364; PR by @charan-rathore)create_connected_udp_socket()silently ignoringlocal_portwhenlocal_hostwas not given: the local address was left unset, so the OS picked an ephemeral port instead of the requested one (#1365; PR by @feiiiiii5)BlockingPortalProvidernot passing the exception raised in itswithblock on to thestart_blocking_portal()context manager it wraps (#1366; PR by @feiiiiii5)anyio.itertools.islice()not consuming the firststartitems whenstop <= start(#1372; PR by @Rodrigo-Palma)BufferedByteReceiveStream.receive_exactly()andreceive_until()returning buffered data after explicit closure instead of raisingClosedResourceError(#1378; PR by @kokotatan)send()lost an already-encrypted record; the stream now raisesBrokenResourceErroron further use instead (#1385; PR by @Kayvan-Zahiri)close()on memory object streams not waking up tasks blocked insend()orreceive()on the same stream (#1391)anyio.itertools.product()acquiring and consuming unused input iterables whenrepeat=0(#1394; PR by @sricharanreddycheruku)SpooledTemporaryFilerolling over to disk on writes whenmax_sizeis zero (the default) (#1397; PR by @fhgffy)SpooledTemporaryFile.rollover()losing buffered contents (#1404; PR by @adenzhou1350)TextSendStream.send()re-emitting the byte order mark on every item with BOM-emitting encodings (utf-16,utf-32,utf-8-sig), which made the peer decode a stray\ufeffin front of every message after the first (#1405; PR by @feiiiiii5)EndOfStream(#1409; PR by @00200200)BlockingPortalcrashing withInvalidStateErrorwhen a future it returned was cancelled just as the callable was completing (#1410; PR by @adenzhou1350)UNIXSocketStream.send_fds()silently truncating messages on short socket writes (#1422; PR by @AryanRG)CapacityLimiter.acquire_on_behalf_of()on asyncio releasing the wrong borrower when the acquiring task was cancelled during the cancel-shielded checkpoint that runs after a non-blocking acquisitionv4.15.1Compare Source
anyio.*submodules from the main package even when those submodules were not directly imported first (#1311)v4.15.0Compare Source
Added support for the newer keyword-only arguments on
anyio.Pathmethods to match the standard librarypathlib.Path:follow_symlinksonexists()(Python 3.12+)follow_symlinksonis_dir()(Python 3.13+)follow_symlinksonis_file()(Python 3.13+)follow_symlinksonowner()(Python 3.13+)follow_symlinksongroup()(Python 3.13+)newlineonread_text()(Python 3.13+)(#1286, #1293; PR by @jaideeppyne)
Added
amap,gather, andas_completedutility functions to simplify common patterns (#1173; PR by @Graeme22)Added
--anyio-modecommand-line option as an alternative to theanyio_modeini setting, and fix the pytest plugin's auto mode detection to recognize the mode when set via either mechanism(e.g:pytest_asyncio). (#1242; PR by @EmmanuelNiyonshuti)Added the
anyio.Futuresynchronization primitive which behaves similar toasyncio.Future, allowing tasks to wait for a value (or exception) from another task (#1146; PR by @Vizonex)Added guidance for managing multiple memory object stream producers and consumers with cloned streams (#330; PR by @nightcityblade)
Added
StapledObjectStream.send_nowait()that delegates to the underlyingObjectSendStream, if it implements it (#1241; PR by @davidbrochart)Added the
move_on_at()andfail_at()functions to complementmove_on_after()andfail_after()Changed the default name for a task spawned with
TaskGroup.create_task(func())to match the default task name for the analogous task spawned withTaskGroup.start_soon(func)orTaskGroup.start(func)in more situations. Previously, the default name of aTaskGroup.create_tasktask never included the module name. (The default name for a task spawned withTaskGroup.start_soonorTaskGroup.starttypically includes the module name.) (#1234; PR by @gschaffner)Changed the
anyioandanyio.abcmodules to lazily (much like810) import the necessary submodules. This is done by parsing the AST of the module and building a lookup table from theif TYPE_CHECKING:block. A fallback mode has been provided for installations where the source code is unavailable (e.g. PyInstaller). (#1169)Fixed free-threading compatibility issues arising from the fact that on Python 3.14 free-threading builds, newly created threads inherit the current context by default, causing AnyIO to behave erroneously in relation to
start_blocking_portal()andanyio.to_thread.run_sync()(#1224; PR by @EmmanuelNiyonshuti)Fixed
SpooledTemporaryFile.readinto()andreadinto1()reading twice before rollover, so the destination buffer was overwritten by the second read and the file position advanced twice, silently losing data (#1215; PR by @c-tonneslan)Added a
reasonparameter tofail_after(and the newfail_at) allowing for added exception context when raisingTimeoutError(#1227; PR by @Graeme22)Fixed the default
TaskHandle.namemissing part of the task name for tasks started withTaskGroup.starton Trio (#1231; PR by @gschaffner)Fixed
anyio.runleaking, or at least, delaying collection of loop and root_task due to the root task being cached in aRunVar. (#1203; PR by @tapetersen)Fixed
anyio.Path.with_stem()silently producing a wrong path (e.g.Path(".txt")) instead of raisingValueErrorwhen given an empty stem on a path with a non-empty suffix, unlikepathlib.PurePath.with_stem(#1200; PR by @Sanjays2402)Fixed
UNIXSocketStream.aclose()raisingasyncio.InvalidStateErrorwhen a concurrent receive or send operation had just been cancelled on the asyncio backend (#1267; PR by @alloutflo)Fixed the pytest plugin importing the deprecated
_pytest.python.CallSpec2alias, which triggersPytestRemovedIn10Warningonpytest>=9.2and crashes pytest at startup whenfilterwarnings = erroris configured (#1271; PR by @matthewfeickert)Fixed an asyncio worker thread race that could raise
RuntimeErrorwhen the event loop closed between checking its state and scheduling the worker result (#1265; PR by @hansu650)Fixed
CapacityLimiteron the asyncio backend over-granting tokens whentotal_tokenswas raised while the limiter was over-subscribed (#1223; PR by @zelinewang)Fixed asyncio task groups leaking unawaited coroutines when a custom task constructor fails; default task creation is unaffected (#1274; PR by @dsfaccini)
Fixed inconsistencies between Trio and asyncio when target
TaskGroupis cancelled before a task created with.start()callsTaskStatus.started()CancelledErroruntil the first checkpoint after thestarted()call.started()should be available on theTaskHandleand correctly passed back to the caller of start even if cancelled.TaskGroup.start()call to the calling task.(#1197; PR by @tapetersen)
Fixed
TemporaryDirectorynot cleaning up when the host task was cancelled while exiting the context manager, as the cleanup now runs in a shielded cancel scope (#1304; PR by @smurfix)long2ice/asyncmy (asyncmy)
v0.2.18Compare Source
connection_lost. Theyreference the transport, which references the protocol, so every dropped connection
(protocol, buffers and, for TLS, the SSL transport and its state) stayed alive until a full
gc pass. Idle processes that recycle pooled TLS connections grew steadily (#171).
BufferError: Existing exports of datawhen fetching a row larger than 256 KiB onWindows (
ProactorEventLoop). The receive buffer now grows into a replacement bufferinstead of resizing a bytearray the transport still holds (#170).
contiguous buffer instead of being split across copies.
v0.2.17Compare Source
timedeltavalues, including subsecond durations, when bindingtext-protocol parameters to
TIMEcolumns (#166).another command. Discard abandoned streaming connections during finalization without
creating unawaited cleanup coroutines (#165).
free-threaded 3.13t, so 3.13t wheels are dropped and pip builds asyncmy from the sdist there.
v0.2.16Compare Source
Connection.ensure_closed()tear the connection down locally instead of raisingOperationalError(2006)when the server already closed the stream, so pool invalidation of adead connection (e.g. SQLAlchemy
do_terminate) no longer fails.SSDictCursorreturning tuples instead of dictionaries, and honor customdict_typesubclasses when fetching unbuffered rows (#164).
v0.2.15Compare Source
read_timeoutlosing data, EOF, or error notifications when the transport callbackruns before the read waiter is registered, notably on Python 3.9/3.10 (#155).
Pool.wait_closed()is cancelled, and serializeconcurrent drainers so shutdown cannot report completion before connections close (#156).
OperationalErrorfor writes to closed transports (including uvloop) soSQLAlchemy's
pool_pre_pingcan recognize the disconnect and replace the connection (#158).Pool.wait_closed()blocking forever when the last connection was released while inside atransaction or after disconnecting, and notify pool waiters when a pool-filling
connect()raises (#154).
Pool.terminate()not notifyingwait_closed()waiters parked on the pool's condition, soa
wait_closed()call already in flight whenterminate()runs would hang forever even thoughthe pool was fully drained (#157).
jawah/charset_normalizer (charset-normalizer)
v3.5.2Compare Source
Changed
<3.4for native builds. The bound remains<3.3forabi3builds to preserve compatibility with the Python 3.7 Limited API.Fixed
for uncommon CJK characters. (#796)
declarations. (#800)
contourpy/contourpy (contourpy)
v1.4.0: Version 1.4.0Compare Source
ContourPy 1.4.0 introduces a new readonly property
ContourGenerator.namefor the algorithm name, adds support for CPython 3.15, and is the first release to uploadpyodidewheels to PyPI. Support forriscv64andiOSarchitectures is added but considered experimental, wheels are available from the Scientific Python Nightly Wheels service but not PyPI.Enhancements:
ContourGenerator.namereadonly property (#566)Compatibility:
Code improvements:
ntotalargument in mpl2005build_cntr_list_v2(#550)Documentation improvements:
Build, testing and CI improvements:
macos-13tomacos-15-intelgithub runners (#507)macos-15-intelrunner (#513)bokeh3.9.0 (#533)zizmortopre-commit(#546)pyca/cryptography (cryptography)
v50.0.2Compare Source
micheles/decorator (decorator)
v5.3.2Compare Source
Added official support for Python 3.15.
Preserved each layer of
__wrapped__when stacking decorators or wrappingan already decorated caller (contributed by Jake Wang).
Fixed
FunctionMaker.createraising aSyntaxErrorwhen the signaturestring contains a return annotation, e.g.
create("f(a) -> int", "return a")(contributed by Apoorv Darshan).Generator functions decorated with a generator caller now return the
value returned by the caller, instead of always returning
None(contributed by Huanyi Xie).
Fixed
dispatch_onraisingStopIterationwhen called with anunregistered
object()instance: now the default implementation iscalled (contributed by Muneeb Sheikh).
Corrected the return types of
getfullargspecandinspect_sigin thestub file (contributed by Huanyi Xie).
Added homepage and repository links to the package metadata (contributed
by the GitHub user Sinkleberg).
Fixed
dispatch_onraising aTypeErrorwhen an implementation isregistered for a virtual ancestor of a type that cannot be subclassed,
like
range,memoryvieworbool, or of an enum (reported byRajatendu Dey). Also fixed
dispatch_onraising aTypeErrorwhen aclass is passed as a dispatch argument.
Decorating a
functools.partialno longer alters the original partial(adding
__wrapped__and changing its signature), so decorating the samepartial twice no longer rejects valid calls (contributed by Gabriel
Demetrios Lafis).
FunctionMakernow preserves positional-only parameters, so functionsdecorated with
decoratorxor generated bydispatch_onrejectpositional-only arguments passed by name, and accept keyword arguments
with the same name in
**kwargs(contributed by Gabriel Demetrios Lafis).getfullargspec, now reimplemented on top ofinspect.signature, does notfollow
__wrapped__, likeinspect.getfullargspec, sodecoratorxanddispatch_onkeep working with functions decorated byfunctools.wraps(contributed by Tejesh Vaish).
In Python 3.14+
FunctionMakercopies the deferred annotations of theoriginal function without evaluating them, so
decoratorxanddispatch_onwork with annotations referring to names imported onlyunder
TYPE_CHECKING(issue #177, reported by the GitHub userbersbersbers and fixed by Mayank Dhingra).
alexmojaki/executing (executing)
v2.3.0Compare Source
horejsek/python-fastjsonschema (fastjsonschema)
v2.22.3Compare Source
fonttools/fonttools (fonttools)
v4.68.0Compare Source
"and\when writing names back out withasFea()inFeatureNameStatement,STATNameStatementandCVParametersNameStatement(#4321).MATHlengths that are notMathValueRecords (DelimitedSubFormulaMinHeight,DisplayOperatorMinHeight,MinConnectorOverlap, etc.) (#4327).vsindexfrom the Private DICT when decompiling, specializing and instancing charstrings, and fixprogramToCommandsmiscounting operands when severalblendoperators precede the first stem or moveto (#4337, #4339).