Skip to content

Merge pull request #11533 from tacaswell/update_for_py37#11817

Merged
tacaswell merged 3 commits intomatplotlib:v2.2.xfrom
tacaswell:backport_py37_updates
Aug 8, 2018
Merged

Merge pull request #11533 from tacaswell/update_for_py37#11817
tacaswell merged 3 commits intomatplotlib:v2.2.xfrom
tacaswell:backport_py37_updates

Conversation

@tacaswell
Copy link
Copy Markdown
Member

MNT: updates for python 3.7
Conflicts:
.travis.yml
- mostly keep 2.2.x version, but add py37 section
INSTALL.rst
- kept v2.2.x wording
lib/matplotlib/tests/test_figure.py
- removed non-existent on 2.2.x test (feature tested
is only on master)

Intend to self-merge when CI passes. 🤞

MNT: updates for python 3.7
Conflicts:
	.travis.yml
          - mostly keep 2.2.x version, but add py37 section
	INSTALL.rst
          - kept v2.2.x wording
	lib/matplotlib/tests/test_figure.py
          - removed non-existent on 2.2.x test (feature tested
            is only on master)
@tacaswell tacaswell added this to the v2.2.3 milestone Aug 7, 2018
dopplershift
dopplershift previously approved these changes Aug 7, 2018
@tacaswell
Copy link
Copy Markdown
Member Author

Why is nothing easy....

@tacaswell
Copy link
Copy Markdown
Member Author

This is a super filtered diff, but change in the 6th digit of a translation which are part of a letter.

23:26 $ diff -u result_images/test_axes/contour_colorbar-expected.svg result_images/test_axes/contour_colorbar.svg | grep -v url | grep -v clipPath | grep ^[+-]
--- result_images/test_axes/contour_colorbar-expected.svg       2018-08-06 23:12:14.668132987 -0400
+++ result_images/test_axes/contour_colorbar.svg        2018-08-06 23:12:14.668132987 -0400
-      <g transform="translate(107.794688 401.918125)scale(0.12 -0.12)">
+      <g transform="translate(107.794687 401.918125)scale(0.12 -0.12)">
-      <g transform="translate(152.434688 401.918125)scale(0.12 -0.12)">
+      <g transform="translate(152.434687 401.918125)scale(0.12 -0.12)">

Pushed the minimal change, lets see if that passes....

tests against
multiple Python environments, including multiple versions of Python
(e.g., 2.7, 3.4, 3.5) and even different Python implementations
(e.g., 3.5, 3.6) and even different Python implementations
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The 2.2.x series still supports python 2, so I that maybe these bits should still have 2.7 in them.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I looked at this when I did the backport, decided it was just prose to illustrate what 'multiple versions of python' meant and left it (because I was feeling lazy.....)

@tacaswell tacaswell force-pushed the backport_py37_updates branch from 2e2f8db to 291041b Compare August 8, 2018 18:50
@tacaswell
Copy link
Copy Markdown
Member Author

ok, 2 approvals and CI passed, so self-merging.

@tacaswell tacaswell merged commit a10701f into matplotlib:v2.2.x Aug 8, 2018
@tacaswell tacaswell deleted the backport_py37_updates branch August 8, 2018 19:50
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