Visitar URL original
Support for pre 2.7.1 freetype savannah versions by ryahern · Pull Request #21397 · matplotlib/matplotlib · GitHub
The Wayback Machine - https://web.archive.org/web/20260106145152/https://github.com/matplotlib/matplotlib/pull/21397
Skip to content

Conversation

@ryahern
Copy link
Contributor

@ryahern ryahern commented Oct 20, 2021 •

Versions prior to 2.7.1 cannot be accessed without indexing the 'freetype-old' folder on the savannah site. Pypi installs for Matplotlib can request earlier versions (e.g. 2.6.1) and thus cause some builds to fail where sourceforge access is blocked.

PR Summary

PR Checklist

  • [N/A] Has pytest style unit tests (and pytest passes).
  • [N/A] Is Flake 8 compliant (run flake8 on changed files to check).
  • [N/A] New features are documented, with examples if plot related.
  • [N/A] Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • [N/A] Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • [N/A] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [N/A] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

Versions earlier than 2.7.1 are indexed on /freetype/freetype-old/ on the savannah site. Pypi installs for Matplotlib can request early versions (e.g. 2.6.1) which can cause build failure if sourceforge access is unavailable
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping @matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

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

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

@tacaswell tacaswell added this to the v3.5.0 milestone Oct 20, 2021
@tacaswell
Copy link
Member

Ah, great! We have been seeing this failure intermittently on CI and I do not think anyone has had a chance to look into it yet!

We need to revive the work to de-couple our testing from a blessed version of the images, but this is a good stop gap!

f'/freetype2/{LOCAL_FREETYPE_VERSION}/{tarball}'),
(f'https://download.savannah.gnu.org/releases/freetype'
f'/{tarball}')
f'/{tarball}'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this URL no longer resolves, should it be removed?

Copy link
Member

@QuLogic QuLogic Oct 20, 2021 •

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it works for newer versions, maybe keep it with a comment that we will need it later?

@QuLogic
Copy link
Member

QuLogic commented Nov 2, 2021

@ryahern ping?

@ryahern
Copy link
Contributor Author

ryahern commented Nov 3, 2021 •

@QuLogic Makes sense to keep all the links there:

  • Sourceforge caused issues for me due to organisation firewalls, but may still be okay for others
  • The non 'freetype-old' path is still required to access newer versions on the savannah site

I don't have write access to merge the PR, but feel free to do so if it makes sense :)

@tacaswell tacaswell merged commit a0a04bc into matplotlib:v3.5.x Nov 11, 2021
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.

3 participants