[wp-trac] [WordPress Trac] #54504: Update Requests library to version 2.0.0

WordPress Trac noreply at wordpress.org
Mon Dec 6 22:30:45 UTC 2021

#54504: Update Requests library to version 2.0.0
 Reporter:  jrf                                  |       Owner:
                                                 |  SergeyBiryukov
     Type:  task (blessed)                       |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.0
Component:  External Libraries                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php80 php81 has-patch has-unit-      |     Focuses:
  tests early early-like-actually-early          |

Comment (by SergeyBiryukov):

 Replying to [comment:29 TobiasBg]:
 > The original merge changeset [52244] mentioned "PHP 8.1 compatibility".
 > Should relevant changes (if it's not too many?) maybe be backported to
 the reverted-to Requests version, to achieve (as much as possible) PHP 8.1
 compatibility in WP 5.9 (released two months after PHP 8.1, after all)?

 Replying to [comment:31 azaozz]:
 > Changing a file's name is a back-compat issue and should never happen
 unless completely unavoidable. That may be fixed in core in 6.0 but will
 remain a problem "forever" in other places :(
 > So my suggestion is to revert these file name changes and release a new
 version of Requests before updating it in core.

 Both of these suggestions seem worth considering to me.

Ticket URL: <https://core.trac.wordpress.org/ticket/54504#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list