Skip to content

Fix outdated freetype URL causing intermittent 502 error#31341

Open
ShubhamS2005 wants to merge 2 commits intomatplotlib:mainfrom
ShubhamS2005:fix/freetype-url
Open

Fix outdated freetype URL causing intermittent 502 error#31341
ShubhamS2005 wants to merge 2 commits intomatplotlib:mainfrom
ShubhamS2005:fix/freetype-url

Conversation

@ShubhamS2005
Copy link

PR summary

Why is this change necessary?

The existing FreeType download URL is outdated and returns a 502 error, which breaks the build/setup process.

What problem does it solve?

This fix ensures that the FreeType dependency can be downloaded successfully, preventing setup failures for contributors and CI pipelines.

What is the reasoning for this implementation?

The outdated URL was replaced with a valid and accessible source to restore the expected behavior without altering any existing logic.

Fixes build failure caused by outdated FreeType URL.


AI Disclosure

This PR description was improved with the assistance of an AI tool for clarity. The code changes were implemented and verified manually.


PR checklist

  • "closes [Bug]: outdated savannah URL in subprojects/freetype-2.6.1.wrap #31340 " is in the body of the PR description
  • [N/A] new and changed code is tested
  • [N/A] Plotting related features are demonstrated in an example
  • [N/A] New Features and API Changes are noted with a directive and release note
  • [N/A] Documentation complies with general and docstring guidelines

@github-actions
Copy link

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks. We also ask that you please finish addressing any review comments on this PR and wait for it to be merged (or closed) before opening a new one, as it can be a valuable learning experience to go through the review process.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide.
Please let us know if (and how) you use AI, it will help us give you better feedback on your PR.

We strive to be a welcoming and open project. Please follow our Code of Conduct.

@ShubhamS2005
Copy link
Author

Updated the URL to use download-mirror.savannah.gnu.org as suggested.

@ShubhamS2005
Copy link
Author

It looks like the CI failure is on macOS with Python 3.14. Since this PR only updates the FreeType download URL, I believe the failure may be unrelated.
I also noticed some warnings about Node.js 20 deprecation in the workflow, which might need a separate update, but they seem unrelated to this change.
Please let me know if you'd like me to investigate further.

@melissawm melissawm moved this to Needs review in First Time Contributors Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

[Bug]: outdated savannah URL in subprojects/freetype-2.6.1.wrap

2 participants