← Back to DAGDA | Support | Source: https://github.com/testing-cabal/mock/issues/453
Skip to content

drop jython support in 3.0.0? #453

Closed

Description

@cjw296

@rbtcollins / @mfoord / @voidspace - thoughts?

We have no CI for it, so it's likely to have bit-rotted...

Activity

  1. voidspace commented on Apr 30, 2019

    @voidspace
    Contributor

    Without CI we can't guarantee it. As far as I recall it was no extra work, but unless someone will test/maintain it I'm happy to drop official support. (No idea how I ended up with two GitHub users.)

  2. cjw296 commented on Apr 30, 2019

    @cjw296
    CollaboratorAuthor

    Yeah, I can't find any official or support docker images for Jython, so...

  3. berkerpeksag commented on Apr 30, 2019

    @berkerpeksag
    Contributor

    +1 for dropping it. I've never run mock's test suite on Jython before, so I guess it may have already been broken.

  4. tirkarthi commented on Apr 30, 2019

    @tirkarthi
    Contributor

    There is no straightforward to run tests in Jython from Travis like pypy as far as I have searched around. The only example was astroid that downloaded and built it themselves. They also removed it from their CI later. Jython also doesn't support Python 3 yet so I am not sure if it's worth the effort given Python 2 EoL.

    pylint-dev/astroid@3591182

  5. cjw296 commented on Apr 30, 2019

    @cjw296
    CollaboratorAuthor

    Well, I'm planning to move the backport to CircleCI for various reasons, so if we had a stable, publicly maintainer docker image, that would do it.

    But, as you say, if they have no Py3, then I think we're safe to drop it.

  6. cjw296 commented on May 1, 2019

    @cjw296
    CollaboratorAuthor

    Okay, 'tis done, ed3bc8b.

  7. rbtcollins commented on May 1, 2019

    @rbtcollins
    Member

    I don't think we should drop the Jython glue; it is platform checked to not affect other interpreters and has approx 0 maintenance overhead for us. The whole point of the backport is to make current mock features more widely available.

  8. cjw296 commented on May 1, 2019

    @cjw296
    CollaboratorAuthor

    Anyone who needs this can use 2.0.0 though, right?

    I guess my point in saying that is that we're offering a backport that is maintained; I have no idea whether the current master of the backport will blow up when used with Jython or not, and it makes me uncomfortable keeping untested code around that's an indication it might be an expectation.

  9. rbtcollins commented on May 1, 2019

    @rbtcollins
    Member
  10. cjw296 commented on May 1, 2019

    @cjw296
    CollaboratorAuthor

    Totally agree, and if we see evidence of Jython users or Jython users complaining that things no longer work, we can very easily revert the one commit above and bring it back :-)

  11. rbtcollins commented on May 1, 2019

    @rbtcollins
    Member

    Sure, I'll leave it with you; my bias is to not remove it in the first place, because then there's no interrupt to run around and un-break, but if you're up for that, all good.

  12. tirkarthi commented on May 1, 2019

    @tirkarthi
    Contributor

    Not sure if this is the issue to discuss this but is it agreed upon to remove it in upstream unittest.mock too? I feel upstream CPython has a larger userbase. Though there are no signs of Python 3 support for Jython or CI in CPython for Jython I think removal could at the least have a NEWS entry/whatsnew/porting section entry.

  13. tirkarthi commented on May 1, 2019

    @tirkarthi
    Contributor

    Sorry forgot to paste the merged PR link : python/cpython#13033

  14. rbtcollins commented on May 1, 2019

    @rbtcollins
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions