[wp-trac] [WordPress Trac] #54504: Update Requests library to version 2.0.0
WordPress Trac
noreply at wordpress.org
Sun Feb 5 00:18:49 UTC 2023
#54504: Update Requests library to version 2.0.0
-------------------------------------------------+-------------------------
Reporter: jrf | Owner:
| hellofromTonya
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.2
Component: External Libraries | Version:
Severity: normal | Resolution: fixed
Keywords: php80 php81 has-patch has-unit- | Focuses:
tests early early-like-actually-early commit |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"55225" 55225]:
{{{
#!CommitTicketReference repository="" revision="55225"
Upgrade/Install: Silence Requests deprecations before preloading.
Intentional preloading of Requests 2.x classes and interfaces using their
old (Requests 1.x) names should not produce deprecation notices.
This commit defines `REQUESTS_SILENCE_PSR0_DEPRECATIONS` as `true` in
`_preload_old_requests_classes_and_interfaces()`.
Follow-up to [54997], [55007], [55046].
Props costdev, afragen, jrf.
Fixes #54504.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54504#comment:126>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list