fudge-py / fudge

Python module for replacing real objects with fakes (mocks, stubs, etc) while testing
MIT License
15 stars 9 forks source link

Modernize #12

Open jayvdb opened 4 years ago

jayvdb commented 4 years ago

I ran python-modernize -nw, and ran nose tests on Python 2 and 3. All green.

jayvdb commented 3 years ago

ping @jsatt

jsatt commented 3 years ago

Sorry, I don't currently have the bandwidth to review, test and release at the moment. In the last several years I've migrated entirely to stdlib mock and don't know when (or if) I'll have time to put any work into this project.

jayvdb commented 3 years ago

Using python-modernize (as in this patch), and a subset of #11, where used to keep fudge alive on openSUSE https://build.opensuse.org/request/show/864188

This is because some apps still use fudge, e.g. django-tables2

Current top dependents according to Github (c.f. https://github.com/isaacs/github/issues/1537):

Dependent star count
https://github.com/fabric/fabric 12692
https://github.com/Miserlou/SoundScrape 1268
https://github.com/mozilla/zamboni 480
https://github.com/prestodb/presto-admin 164
https://github.com/DakotaNelson/sneaky-creeper 125
https://github.com/jay-johnson/sci-pype 97
https://github.com/psobot/foreverfm 97
https://github.com/marcelnicolay/torneira 71
https://github.com/Tivix/django-braintree 61
https://github.com/marcelnicolay/mongotor 58
https://github.com/whamcloud/integrated-manager-for-lustre 55
https://github.com/mozilla/affiliates 43
https://github.com/soundcloud/soundcloud-python 42
https://github.com/ploxiln/fab-classic 41
https://github.com/mozilla/webpay 41
https://github.com/nickpwhite/Beatnik 40
... ...

fabric has already removed fudge.

I suspect SoundScrape & sci-pype & Beatnik dont use it any more, so https://github.com/Miserlou/SoundScrape/pull/252 & https://github.com/jay-johnson/sci-pype/pull/10 & https://github.com/nickpwhite/Beatnik/pull/19 , nor https://github.com/DakotaNelson/sneaky-creeper/pull/105

https://github.com/whamcloud/integrated-manager-for-lustre probably doesnt use fudge any more, but I havent sent a PR that way yet.

The mozilla repos are archived. Many of the others are not actively developed/maintained.

Active projects:

Probably many more active projects with <40 stars.

Mte90 commented 2 years ago

any hope for this?

RussNelson commented 1 year ago

@jsatt I understand that you have no time, but ... you could at least transfer the project to someone who has the time, like maybe Jay? Or for that matter, me, because it's probably quicker for me to keep fudge active than remove it from both my company's major projects.

jsatt commented 1 year ago

I'm fine with this, but I'd like to defer to @kumar303 since it was originally his project and I simply joined in order to provide help that I was never able to get around to.

jsatt commented 1 year ago

@RussNelson I went ahead and made you an Owner on the project, feel free to collaborate and add other folks. If you can provide me with your PyPI username I can get you access to the package on there.

RussNelson commented 1 year ago

Thanks! PyPI username is russnelson.

kumar303 commented 1 year ago

Thanks, @jsatt and @RussNelson . I don't maintain fudge anymore but I empower anyone else to do so, as needed. Let us know if you need additional access.