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

WordPress Trac noreply at wordpress.org
Tue Jan 10 00:33:09 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   |
-------------------------------------------------+-------------------------

Comment (by danielbachhuber):

 I haven't had a chance to look into it fully yet, but I'm seeing
 [https://github.com/wp-cli/extension-
 command/actions/runs/3870018258/jobs/6596600398 this failure] in WP-CLI's
 tests:

 {{{
  002 Scenario: Installing respects WP_PROXY_HOST and WP_PROXY_PORT #
 features/plugin-install.feature:86
       Then STDERR should contain:                                 #
 features/plugin-install.feature:96
         $ wp --require=invalid-proxy-details.php plugin install edit-flow

         PHP Fatal error:  Class 'WpOrg\Requests\Proxy\HTTP' not found in
 /tmp/wp-cli-test-run--63bb77003f5099.33183249/wp-includes/class-wp-
 http.php on line 382
         Fatal error: Class 'WpOrg\Requests\Proxy\HTTP' not found in /tmp
 /wp-cli-test-run--63bb77003f5099.33183249/wp-includes/class-wp-http.php on
 line 382
         Error: There has been a critical error on this website.Learn more
 about troubleshooting WordPress. There has been a critical error on this
 website.
         cwd: /tmp/wp-cli-test-run--63bb77003f5099.33183249/
         run time: 0.55791783332825
         exit status: 255 (Exception)
 }}}

 Maybe [https://github.com/WordPress/wordpress-
 develop/blob/bacd0f00787a3b923c4ff4b1d88297d000802e28/src/wp-includes
 /class-wp-http.php#L382 this class reference] needs to be updated to
 `WpOrg\Requests\Proxy\Http`?

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


More information about the wp-trac mailing list