Giter Club home page Giter Club logo

Comments (13)

DRMacIver avatar DRMacIver commented on August 27, 2024

No, we can't. fake-factory is not API stable between minor versions and the same code does not work on both 0.4.x and 0.5.x. Additionally, 0.5.0 is basically a broken release as far as I'm concerned and won't be supported.

I'm pretty sure 0.5.1 fixes the problems with 0.5.0 though, and it's been on my TODO list to release a version compatible with it. I'll try to do so in the next few days.

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

(0.5.1 hasn't been out for very long, and I've been busy since its release, which is why this isn't already done)

from hypothesis.

skorokithakis avatar skorokithakis commented on August 27, 2024

Hmm, I'm using 0.5.2 right now without any problems, but I'm not really taxing it significantly. Are there any workarounds, perhaps?

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

Oh I hadn't even noticed they'd also released a 0.5.2. That will definitely be supported too! The plan is to do a release with a new release of hypothesis-fakefactory with a dependency requirement of >= 0.5.1 < 0.5.99. It's only the 0.5.0 release that had problems.

What do you mean you're using it without any problems? With Hypothesis or on its own?

from hypothesis.

skorokithakis avatar skorokithakis commented on August 27, 2024

Sorry, on its own (well, with factory boy). I want to use hypothesis for unit tests and factory boy for integration tests, so it'd be good if I could have both working together.

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

Yeah, I'll try to have a fix for you tomorrow. It depends how much breaks in the new version.

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

Looks like it's easy. I've got what I think is a working update to hypothesis-{fakefactory,django}. I don't want to release and then go to sleep, so I'll release in the morning.

from hypothesis.

skorokithakis avatar skorokithakis commented on August 27, 2024

Thank you for the quick response!

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

OK I've shipped new versions of hypothesis-fakefactory and hypothesis-django that should be compatible with the latest fake factory. Let me know if you have any further problems.

from hypothesis.

skorokithakis avatar skorokithakis commented on August 27, 2024

Thank you!

from hypothesis.

Mishail avatar Mishail commented on August 27, 2024

https://github.com/DRMacIver/hypothesis/blob/master/hypothesis-extra/hypothesis-fakefactory/setup.py#L55 still requires "fake-factory==0.4.2", and fails with

E   VersionConflict: (fake-factory 0.5.2 (/usr/local/lib/python2.7/site-packages), Requirement.parse('fake-factory==0.4.2'))

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

Argh. Thanks for the catch. I did fix this but somehow undid the fix in the latest version release. On it.

from hypothesis.

DRMacIver avatar DRMacIver commented on August 27, 2024

Now fixed. Sorry about that.

from hypothesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.