Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Merge branch v3.9.x into main #28711

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 66 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
5ea9a7f
Backport PR #28517: DOC: better cross referencing for animations
story645 Jul 7, 2024
af6cc66
Backport PR #28517: DOC: better cross referencing for animations
story645 Jul 7, 2024
c9ce645
Merge pull request #28520 from meeseeksmachine/auto-backport-of-pr-28…
rcomer Jul 7, 2024
5bd9252
Merge pull request #28519 from meeseeksmachine/auto-backport-of-pr-28…
rcomer Jul 7, 2024
b7afb01
Backport PR #28523: Fix value error when set widget size to zero whil…
ksunden Jul 8, 2024
80c96ef
Merge pull request #28524 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Jul 8, 2024
3d1b29b
Backport PR #28541: MNT: be more careful about disk I/O failures when…
tacaswell Jul 12, 2024
a2bfc9e
Merge pull request #28552 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Jul 12, 2024
8ede65d
Backport PR #28526: Bump pypa/cibuildwheel from 2.19.1 to 2.19.2 in t…
ksunden Jul 13, 2024
fadfe84
Backport PR #28534: [BLD] Fix WSL build warning
QuLogic Jul 13, 2024
ab1fd69
Merge pull request #28563 from meeseeksmachine/auto-backport-of-pr-28…
ksunden Jul 13, 2024
d0444ef
Merge pull request #28564 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Jul 13, 2024
73df132
Backport PR #28571: DOC: Add version directive to hatch parameter in …
timhoffm Jul 14, 2024
1317f5c
Merge pull request #28572 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Jul 14, 2024
26ca2f6
Backport PR #28582: FIX: make sticky edge tolerance relative to data …
jklymak Jul 17, 2024
d9a6361
Merge pull request #28586 from meeseeksmachine/auto-backport-of-pr-28…
oscargus Jul 17, 2024
2f12c03
Backport PR #28580: Bump actions/attest-build-provenance from 1.3.2 t…
ksunden Jul 18, 2024
7b73bf3
Merge pull request #28591 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Jul 19, 2024
c37449c
Backport PR #28518: [TYP] Fix overload of `pyplot.subplots`
timhoffm Jul 19, 2024
99eaf72
Pin PyQt6 back on Ubuntu 20.04
QuLogic Jul 19, 2024
f5b325e
Merge pull request #28596 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Jul 20, 2024
6e6c11a
Merge pull request #28598 from QuLogic/pin-pyqt6-v39x
rcomer Jul 20, 2024
b8be220
Backport PR #28604: cycler signature update.
timhoffm Jul 23, 2024
dce3346
Merge pull request #28605 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Jul 24, 2024
4bedccf
Backport PR #28621: TYP: Fix a typo in animation.pyi
timhoffm Jul 29, 2024
143d369
Merge pull request #28622 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Jul 29, 2024
7457ba4
Backport PR #28625: added typing_extensions.Self to _AxesBase.twinx
ksunden Aug 1, 2024
eb4b608
Merge pull request #28636 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Aug 1, 2024
6ed77f6
Backport PR #28634: Closed open div tag in color.ColorMap._repr_html_
QuLogic Aug 1, 2024
fd966bb
Merge pull request #28640 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Aug 2, 2024
105533f
Backport PR #28644: DOC: Fix matching for version switcher
QuLogic Aug 2, 2024
ab258b7
Backport PR #28644: DOC: Fix matching for version switcher
QuLogic Aug 2, 2024
486e1e2
Merge pull request #28645 from meeseeksmachine/auto-backport-of-pr-28…
tacaswell Aug 2, 2024
0373818
Merge pull request #28646 from meeseeksmachine/auto-backport-of-pr-28…
tacaswell Aug 2, 2024
e7aba70
Backport PR #28649: FIX: improve formatting of image values in cases …
QuLogic Aug 3, 2024
e68bfdb
Backport PR #28546: DOC: Clarify/simplify example of multiple images …
timhoffm Jul 31, 2024
ecb6098
Merge pull request #28665 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Aug 5, 2024
6c7dbc0
Backport PR #28546: DOC: Clarify/simplify example of multiple images …
timhoffm Jul 31, 2024
9f0a60e
Merge pull request #28666 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Aug 5, 2024
2896fc1
Merge pull request #28656 from meeseeksmachine/auto-backport-of-pr-28…
QuLogic Aug 6, 2024
2a8d1fc
Backport PR #28650: remove out of date todos on animation.py
timhoffm Aug 7, 2024
3a1c655
Merge pull request #28674 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Aug 7, 2024
1bb9c02
Backport PR #28577: Copy all internals from initial Tick to lazy ones
ksunden Aug 7, 2024
2811043
Merge pull request #28676 from meeseeksmachine/auto-backport-of-pr-28…
oscargus Aug 8, 2024
c57960c
Backport PR #28682: Fix warnings from mingw compilers
ksunden Aug 8, 2024
8a8fe61
Merge pull request #28686 from meeseeksmachine/auto-backport-of-pr-28…
greglucas Aug 8, 2024
e40125a
Backport PR #28293 and #28668: Enable 3.13 wheels and bump cibuildwheel
tacaswell Jul 25, 2024
465401e
Backport PR #28632: DOC: Tell sphinx-gallery to link mpl_toolkits fro…
timhoffm Aug 9, 2024
e3159ba
Merge pull request #28692 from meeseeksmachine/auto-backport-of-pr-28…
timhoffm Aug 9, 2024
d88a582
Backport PR #27797: DOC: Use video files for saving animations
ksunden Aug 9, 2024
81be26f
Merge pull request #28688 from QuLogic/auto-backport-of-pr-28668-on-v…
ksunden Aug 9, 2024
8a62afa
BLD: Include MSVCP140 runtime statically
QuLogic Aug 8, 2024
3ed3d7b
Merge pull request #28695 from meeseeksmachine/auto-backport-of-pr-27…
ksunden Aug 9, 2024
7be8675
Merge pull request #28687 from QuLogic/static-msvc
ksunden Aug 12, 2024
8d867ce
Merge branch 'v3.9.1-doc' into v3.9.x
QuLogic Aug 12, 2024
056f307
DOC: Create release notes for 3.9.2
QuLogic Aug 12, 2024
a254b68
REL: 3.9.2
QuLogic Aug 12, 2024
4b30b1d
BLD: bump branch away from tag
QuLogic Aug 12, 2024
3aea791
DOC: Add Zenodo DOI for 3.9.2
QuLogic Aug 13, 2024
d04b2f6
DOC: Fix a typo in GitHub stats
QuLogic Aug 13, 2024
16af8c0
Merge branch 'v3.9.x' into merge-v39x
QuLogic Aug 13, 2024
b7fc61e
DOC: Mark 3.9.2 as the stable version
QuLogic Aug 13, 2024
7ac8eee
ci: Skip GTK4 on macOS 12 temporarily
QuLogic Aug 14, 2024
9c88d13
TST: Guard against PyGObject existing, but not gobject-introspection
QuLogic Aug 14, 2024
4047b5e
ci: Disable eager upgrades from Homebrew
QuLogic Aug 14, 2024
36c04a4
BLD: Avoid pybind11 2.13.3 due to Windows quoting bug
QuLogic Aug 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,15 @@ jobs:
CIBW_AFTER_BUILD: >-
twine check {wheel} &&
python {package}/ci/check_wheel_licenses.py {wheel}
CIBW_CONFIG_SETTINGS: setup-args="--vsenv"
# On Windows, we explicitly request MSVC compilers (as GitHub Action runners have
# MinGW on PATH that would be picked otherwise), switch to a static build for
# runtimes, but use dynamic linking for `VCRUNTIME140.dll`, `VCRUNTIME140_1.dll`,
# and the UCRT. This avoids requiring specific versions of `MSVCP140.dll`, while
# keeping shared state with the rest of the Python process/extensions.
CIBW_CONFIG_SETTINGS_WINDOWS: >-
setup-args="--vsenv"
setup-args="-Db_vscrt=mt"
setup-args="-Dcpp_link_args=['ucrt.lib','vcruntime.lib','/nodefaultlib:libucrt.lib','/nodefaultlib:libvcruntime.lib']"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_SKIP: "*-musllinux_aarch64"
CIBW_TEST_COMMAND: >-
Expand Down Expand Up @@ -144,7 +152,6 @@ jobs:
CIBW_SKIP: "cp313t-win_amd64 *-musllinux_aarch64"
CIBW_BUILD_FRONTEND:
"pip; args: --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
CIBW_PRERELEASE_PYTHONS: true
CIBW_FREE_THREADED_SUPPORT: true
# No free-threading wheels available for aarch64 on Pillow.
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,13 @@ jobs:
;;
macOS)
brew update
brew install ccache ghostscript gobject-introspection gtk4 ninja
export HOMEBREW_NO_INSTALL_UPGRADE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
brew install ccache ghostscript ninja
# The macOS 12 images have an older Python, and this causes homebrew to generate conflicts.
# We'll just skip GTK for now, to not pull in Python updates.
if [[ "${{ matrix.os }}" = macos-14 ]]; then
brew install gobject-introspection gtk4
fi
brew install --cask font-noto-sans-cjk inkscape
;;
esac
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ stages:
;;
Darwin)
brew update
export HOMEBREW_NO_INSTALL_UPGRADE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
brew install --cask xquartz
brew install ccache ffmpeg imagemagick mplayer ninja pkg-config
brew install --cask font-noto-sans-cjk-sc
Expand Down
2 changes: 1 addition & 1 deletion doc/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"name": "3.9 (stable)",
"version": "3.9.1",
"version": "3.9.2",
"url": "https://matplotlib.org/stable/",
"preferred": true
},
Expand Down
35 changes: 35 additions & 0 deletions doc/_static/zenodo_cache/13308876.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions doc/api/prev_api_changes/api_changes_3.9.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
API Changes for 3.9.2
=====================

Development
-----------

Windows wheel runtime bundling made static
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In 3.7.0, the MSVC runtime DLL was bundled in wheels to enable importing Matplotlib on
systems that do not have it installed. However, this could cause inconsistencies with
other wheels that did the same, and trigger random crashes depending on import order. See
`this issue <https://github.com/matplotlib/matplotlib/issues/28551>`_ for further
details.

Since 3.9.2, wheels now bundle the MSVC runtime DLL statically to avoid such issues.
3 changes: 3 additions & 0 deletions doc/project/citing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ By version
.. START OF AUTOGENERATED


v3.9.2
.. image:: ../_static/zenodo_cache/13308876.svg
:target: https://doi.org/10.5281/zenodo.13308876
v3.9.1
.. image:: ../_static/zenodo_cache/12652732.svg
:target: https://doi.org/10.5281/zenodo.12652732
Expand Down
Loading
Loading