Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove support for python 3.8#24919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 9 commits intomatplotlib:mainfromksunden:rm_py38
Jan 11, 2023
Merged

Conversation

ksunden
Copy link
Member

PR Summary

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (andpytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a.. versionadded:: directive in the docstring and documented indoc/users/next_whats_new/
  • API changes are marked with a.. versionchanged:: directive in the docstring and documented indoc/api/next_api_changes/
  • Release notes conform with instructions innext_whats_new/README.rst ornext_api_changes/README.rst

@tacaswelltacaswell added this to thev3.8.0 milestoneJan 10, 2023
- os: ubuntu-20.04
python-version: 3.8
extra-requirements: '-r requirements/testing/extra.txt'
CFLAGS: "-fno-lto" # Ensure that disabling LTO works.
Copy link
Member

Choose a reason for hiding this comment

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

We probably want to keep the no LTO test case?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

added back (to 3.9)

@tacaswell
Copy link
Member

The minimum test is failing because we are building pillow from source with out webp, we probably should add a skip check on that test (I have a vague memory of someone else reporting the same failure, but not sure where).

@ksunden
Copy link
MemberAuthor

Alternatively, we could bump the minimum version of Pillow if we wanted to ensure wheels are available.

Looks like the first version to supply a 3.9 wheel is pillow 8.0.0 (released Oct 2020)

By NEP 29/SPEC 0 standards (24 months) would be pillow 8.1 or thereabouts (and later for expected mpl 3.8 release date)

@oscargus
Copy link
Member

oscargus commentedJan 10, 2023
edited
Loading

webp was here:#24711 (Py 3.12) so it may still make sense to have it fail gracefully (people may build on strange platforms etc).

Co-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>
@ksunden
Copy link
MemberAuthor

By Pillow'sdocs, they do not support pillow <8.0 on py3.9 so I think I'll start there. I don't disagree that a graceful fallback/skip/xfail is a better solution long term, just lean towards following upstream when it comes to python support.

If it still fails, I'll add the skips here, but if it passes, I think that can be done in an alternate PR (either on its own or in#24711)

@ksunden
Copy link
MemberAuthor

Other potential bump to minimum supported versions (picked out because the minimum version currently specified is not installable as a wheel on 3.9):

  • kiwisolver: bump from 1.0.1 (rel Oct 2017) to 1.3.1 (rel Nov 2020, 1.3.0 has py3.9 wheel, but was marked as yanked on pypi)
tacaswell reacted with thumbs up emoji

@ksunden
Copy link
MemberAuthor

Appveyor may need to be 3.10, waiting for the queue to see if the problems on 3.11 persist

@oscargus
Copy link
Member

Failure comes from GTK4-warnings:https://gitlab.gnome.org/GNOME/pygobject/-/issues/494

@oscargusoscargus added the CI: Run cibuildwheelRun wheel building tests on a PR labelJan 11, 2023
@tacaswell
Copy link
Member

It looks likes we already filter warnings on that test and just need to addImportWarning as well (which I am going to assume is the next step up from the DeprecationWarning that gtk4 was triggering?)

* `contourpy <https://pypi.org/project/contourpy/>`_ (>= 1.0.1)
* `cycler <https://matplotlib.org/cycler/>`_ (>= 0.10.0)
* `dateutil <https://pypi.org/project/python-dateutil/>`_ (>= 2.7)
* `fontTools <https://fonttools.readthedocs.io/en/latest/>`_ (>= 4.22.0)
* `kiwisolver <https://github.com/nucleic/kiwi>`_ (>= 1.0.1)
* `kiwisolver <https://github.com/nucleic/kiwi>`_ (>= 1.3.1)
* `NumPy <https://numpy.org>`_ (>= 1.20)
Copy link
Member

Choose a reason for hiding this comment

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

Bump to 1.21 while at it? (End of month)

Copy link
Member

@oscargusoscargus left a comment

Choose a reason for hiding this comment

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

Feel free to self merge if you do not want to bump numpy now.

@tacaswell
Copy link
Member

Lets do numpy in it's own PR.

@tacaswelltacaswell merged commiteab217f intomatplotlib:mainJan 11, 2023
@greglucasgreglucas mentioned this pull requestJan 14, 2023
@oscargus
Copy link
Member

Did the Azure tests stop working with this PR or was it just around this PR (or am I missing something)?

@oscargusoscargus mentioned this pull requestJan 15, 2023
6 tasks
@oscargusoscargus mentioned this pull requestJul 9, 2023
6 tasks
@EwoutH
Copy link

NEP 29 was superseded by the scientific python ecosystem coordination guidelineSPEC 0 — Minimum Supported Versions. Where NEP had a 42 month support windows (3.5 years) for each Python version, SPEC 0 recommends a 3 year support window.

If we were to follow SPEC 0, than Python 3.9 support can already be dropped, since it was released October 5th, 2020.

@QuLogic
Copy link
Member

3.8 is already released; we aren't going to change the supported Python version in it.

@EwoutH
Copy link

Not dropping Python 3.8 support for the existing Matplotlib 3.8.x releases of course, but it can be dropped on the current master branch (towards the 3.9.x releases).

(which coincidentally is very fitting, requiring Python 3.9 for Matplotlib 3.9)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@oscargusoscargusoscargus approved these changes

Assignees
No one assigned
Labels
CI: Run cibuildwheelRun wheel building tests on a PR
Projects
None yet
Milestone
v3.8.0
Development

Successfully merging this pull request may close these issues.

5 participants
@ksunden@tacaswell@oscargus@EwoutH@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp