pytest-asyncio v0.20.2 addresses some deprecation warnings raised by pytest v7.2.
Thanks to @zopatista the release fixes an issue that caused "self" to reference a different object in asyncio fixtures of class-based tests.
https://t.co/AGlf55XiOT
pytest-asyncio v0.20 is out 🎉
It's a maintenance release that removes legacy mode and deprecates the use of old pytest versions.
Changelog:
https://t.co/y8RHzN9Vxl
#deployfriday :)
@Raj_Viratian I agree! I was previously using Spring as well. It *is* great, but forces you very much into a DDD style separation of layers. That's what I was referring to. With FastAPI I can take shortcuts, where I see fit :)
Hello Python Twitter friends,
Looking for Python community contacts in Latvia.
Wondering if anyone from @pythonlatvia is around?
If you know anyone from there could you please tag them here?
RT for reach <3
@tiangolo@FastAPI Incidentally, when I showed some FastAPI code to a team of Java devs they responded: "this looks like Spring". Me thinking: "yes, without the boilerplate" :)
pytest-asyncio v0.19.0 is out 🎉
The new version defaults to strict mode, instead of legacy mode.
Changelog:
https://t.co/hHkX1GqYfk
Thanks to @graingert for driving this!
@mediumnok Thanks! AFAIU the data is more or less uniformly distributed and "larger" data types (e.g int) recieve more "attention" by the RNG than shorter types (e.g. bool). @DRMacIver and https://t.co/seGvLAsU8r are probably the experts on Hypothesis internals.
Happy to finally be in Dublin for #EuroPython2022! My flight got cancelled so I almost didn't make it in time to my #bulletproofpython workshop tomorrow. Glad it worked out :)
@mathsppblog@europython@tw_lgiordani Thanks for the kind words. Based on the code you showed me it seemed like you didn't really "need" the workshop that much ;)
Glad to hear it was fun anyways!
@Mokkapps This reminds me of the "left-pad" incident a few years back that broke a huge number of packages. Fingers crossed that faker.js doesn't wipe out as many developer hours as left-pad🤞
I decided I should write more in 2022. If you're interested in property-based testing, you'll probably find Metamorphic Testing interesting as well :)
https://t.co/4XAGG4Ts0f
Includes code examples in #Python using #pytest, #hypothesis, and #FastAPI#PBT
@ChristianHeimes So… Can I finally replace JavaScript with Python in browser applications? I've been waiting for that since I saw a working emscripten build of CPython. It just seems Python in the browser never really took off… ;)