Comments (13)
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.
(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.
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.
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.
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.
Yeah, I'll try to have a fix for you tomorrow. It depends how much breaks in the new version.
from hypothesis.
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.
Thank you for the quick response!
from hypothesis.
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.
Thank you!
from hypothesis.
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.
Argh. Thanks for the catch. I did fix this but somehow undid the fix in the latest version release. On it.
from hypothesis.
Now fixed. Sorry about that.
from hypothesis.
Related Issues (20)
- Improve error message when a package only has submodules for ghostwriter HOT 3
- Improve support for new and user-defined Numpy dtypes (e.g. `np.dtypes.StringDType`)
- Change Flaky to be an ExceptionGroup
- Error while patching time.perf_counter HOT 4
- Thread safety when usage with Pytest, and Coverage cause unexpected hang at exit HOT 3
- Falsifying examples not being printed HOT 8
- System.AccessViolationException with Hypothesis 6.108.x HOT 3
- Improve pretty-printer for overly long integers and signalling NaN
- Support `fuzz_one_input` on instance methods
- test.ghostwriter.py:test_obj_name fails because of tmp dir HOT 3
- Investigate `Examples` performance
- Python 3.14: StructuralCoverageTag.__init__() takes 1 positional argument but 2 were given HOT 9
- Improve support of `TypedDict`
- Support `LiteralString`
- Question: Write strategies to fuzz docstrings matching different styles (google, numpydoc, sphinx) HOT 3
- Support `TypeIs`
- Support `TypeVar` default
- Limit the maximum number of values reuse in `consume` HOT 2
- Filtering examples based on previous examples? HOT 2
- Add a new `dialect=` argument to `st.from_regex()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypothesis.