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

Skip to content

Merge pull request #11533 from tacaswell/update_for_py37 #11817

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 3 commits into from
Aug 8, 2018

Conversation

tacaswell
Copy link
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
Member Author

Why is nothing easy....

@tacaswell
Copy link
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....

@@ -264,10 +264,10 @@ Using tox
`Tox <https://tox.readthedocs.io/en/latest/>`_ is a tool for running
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
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
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
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