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

WordPress Trac noreply at wordpress.org
Tue Nov 29 22:29:43 UTC 2022


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

 * owner:  SergeyBiryukov => hellofromTonya
 * status:  reopened => assigned


Comment:

 Spoke with @jrf @azaozz @SergeyBiryukov today. Here's status:

 * Blockers are now unblocked:

   * Namespace: consensus is to move forward without change to the external
 library.

   * #54582: Juliette and I discussed a workaround by:
      * Retaining the original files with redirect code (i.e. the strategy
 @SergeyBiryukov did with other files, such as renaming `wp-db.php` to
 `class-wpdb.php` #56268 / [53749], [53750], [53755], [53756]).
      * Using Requests 2.x folder structure by loading the new library into
 `src/wp-includes/Requests/src/`.

    * #54562 Fatal errors from old code not loaded into memory before
 upgrading. This is solvable by preloading the old files into memory.

 The plan:

 * Juliette and I will work together to get the PR ready (per above).
 * Then @ironprogrammer and I will (and anyone else) will test and submit
 test reports.
 * Goal: commit by the end of next week.

 Any issues can be iterated on during the 6.2 alpha cycle.

 I'm reassigning ownership to me.

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


More information about the wp-trac mailing list