Skip to content

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 16, 2024

Follow up on #5796

Requests 2.0.11 contains a number of PHP 8.4 related fixes, so an update is warranted.

Includes updated certificates bundle.

Note: I've done the update manually as the utils/install-requests.sh script doesn't work on Windows. Wouldn't be a bad idea if someone on *nix ran the script over this commit to verify that my manual update had the same result.

I'd also like to suggest maybe creating a GH Actions workflow which automates keeping Requests up to date by:
0. Running as a weekly cron job.

  1. Checking the latest released version via the GH API.
  2. If it doesn't match the version in utils/install-requests.sh, update the version nr in the script.
  3. Run the script.
  4. Commit the changes and create a pull request for the update.

The pull request can still be (manually) tweaked if needed and/or rejected, but at least it takes the "we need to remember to do this" out of the equation.

Refs:

@jrfnl jrfnl requested a review from a team as a code owner September 16, 2024 18:23
Follow up on 5796

Requests 2.0.11 contains a number of PHP 8.4 related fixes, so an update is warranted.

Includes updated certificates bundle.

Note: I've done the update manually as the `utils/install-requests.sh` script doesn't work on Windows. Wouldn't be a bad idea if someone on *nix ran the script over this commit to verify that my manual update had the same result.

I'd also like to suggest maybe creating a GH Actions workflow which automates keeping Requests up to date by:
0. Running as a weekly cron job.
1. Checking the latest released version via the GH API.
2. If it doesn't match the version in `utils/install-requests.sh`, update the version nr in the script.
3. Run the script.
4. Commit the changes and create a pull request for the update.

The pull request can still be (manually) tweaked if needed and/or rejected, but at least it takes the "we need to remember to do this" out of the equation.

Refs:
* https://github.com/WordPress/Requests/releases
@jrfnl jrfnl force-pushed the feature/update-requests branch from 79c245e to 887b0bb Compare September 17, 2024 15:54
@jrfnl
Copy link
Contributor Author

jrfnl commented Sep 17, 2024

Rebased without changes after the merge of #5982. This should allow to get a passing build.

@swissspidy swissspidy added this to the 2.12.0 milestone Sep 17, 2024
@swissspidy
Copy link
Member

Note: I've done the update manually as the utils/install-requests.sh script doesn't work on Windows. Wouldn't be a bad idea if someone on *nix ran the script over this commit to verify that my manual update had the same result.

Can confirm 👍 ✅

@swissspidy swissspidy merged commit af8eda0 into wp-cli:main Sep 20, 2024
42 checks passed
@jrfnl jrfnl deleted the feature/update-requests branch September 25, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants