FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

unit tests should compare pyplot.py with output from boilerplate.py · Issue #3701 · matplotlib/matplotlib · GitHub

Repository navigation

unit tests should compare pyplot.py with output from boilerplate.py #3701

Closed

Description

I think adding a simple test that would compare the two (somehow) would be a great way to flag that a particular PR needs to have boilerplate.py executed.

Activity

  1. tacaswell commented on Oct 22, 2014

    Member

    This is kludging a kludge. I think it should be run as part of setup.py (less good) or just gotten rid of all together (see #3587 or #2736).

  2. WeatherGod commented on Oct 23, 2014

    MemberAuthor

    Having it run during the setup.py! Why didn't I think of that back in v1.1?!

    Oh, right... setup.py gives me migraines

    Still, I see no reason why the unit test couldn't still be used to verify
    that the installation was correct.

    On Wed, Oct 22, 2014 at 3:50 PM, Thomas A Caswell notifications@github.com
    wrote:

    This is kludging a kludge. I think it should be run as part of setup.py
    (less good) or just gotten rid of all together (see #3587
    #3587 or #2736
    #2736).

    —
    Reply to this email directly or view it on GitHub
    #3701 (comment)
    .

  3. tacaswell commented on Oct 23, 2014

    Member

    @WeatherGod I have a hard time reading your level of sarcasm....

  4. pelson commented on Oct 23, 2014

    Member

    👍 - https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_coding_standards.py is the perfect place for such a test.

    I also agree with @tacaswell - it would be nice if it weren't necessary, but right now, it is...

  5. WeatherGod commented on Oct 23, 2014

    MemberAuthor

    @tacaswell , the sarcasm was hard to detect because there was none. I was
    perfectly serious.

    On Thu, Oct 23, 2014 at 4:51 AM, Phil Elson notifications@github.com
    wrote:

    [image: 👍] -
    https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_coding_standards.py
    is the perfect place for such a test.

    I also agree with @tacaswell https://github.com/tacaswell - it would be
    nice if it weren't necessary, but right now, it is...

    —
    Reply to this email directly or view it on GitHub
    #3701 (comment)
    .

  6. modified the milestone: v1.4.x on Nov 25, 2014
  7. modified the milestones: , v1.4.x on Feb 7, 2015
  8. modified the milestones: , on Aug 9, 2015
  9. tacaswell commented on Aug 9, 2015

    Member

    If this gets done it can go in for 1.5, but this is not a blocker

  10. pelson commented on Aug 27, 2015

    Member

    Incidentally, I did try to put it in setup.py many years ago in #928... truth is though, I'd be a bit more reluctant to do it now... we should just make use of the functionality that a non-crufty version of python brings (the original reason that pyplot wasn't just a runtime wrapper module). I know that is where you are hoping to take it currently @tacaswell, and I just wanted to say that I agree with that direction.

  11. QuLogic commented on Dec 3, 2015

    Member

    Is the current direction to make a runtime wrapper? Reading the previous discussions, @jkseppan had implemented something along those lines, but didn't commit it. The branch seems to have disappeared, but maybe he still has something hidden somewhere.

  12. mdboom commented on Dec 3, 2015

    Member

    Is the current direction to make a runtime wrapper?

    Yes. That's my understanding -- i.e. to not use code generation at all, though probably some dynamic creation of objects at import time (I say hand-waving away the details).

  13. tacaswell commented on Dec 3, 2015

    Member

    Now that we have dropped 2.6 we can vendor the backport of signature (it is
    currently conditionally imported from IPython) and probably do the run-time
    wrapping. The major hold up on this is to not present to the users
    f(*args, **kwargs) api in pyplot.

    On Thu, Dec 3, 2015, 08:05 Michael Droettboom notifications@github.com
    wrote:

    Is the current direction to make a runtime wrapper?

    Yes. That's my understanding -- i.e. to not use code generation at all,
    though probably some dynamic creation of objects at import time (I say
    hand-waving away the details).

    —
    Reply to this email directly or view it on GitHub
    #3701 (comment)
    .

  14. modified the milestones: , on Oct 3, 2017
  15. modified the milestones: , on May 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL