beartype / pytest-beartype

A pytest plugin to automatically run `beartype` on your test cases.
MIT License
9 stars 0 forks source link

[Feature Request] `conda-forge`-hosted Anaconda package #4

Open leycec opened 7 months ago

leycec commented 7 months ago

Hi, @tusharsadhwani! I'm baaaaaaaack. It's like a horror movie – only less unsettling and more awkward.

I have a new feature request, which you are (of course) welcome to ignore or refuse. I just realized, though... an Anaconda package for pytest-beartype would be the chef's kiss. Do you have any experience with conda-forge? If not, wonderful! This is your lucky Thursday. @beartype offers many novel experiences, including joining conda-forge and submitting your first conda-forge package. Excitement! Thrills! Code!

Let me know if you'd like any assistance here. I currently maintain @beartype's official conda-forge feedstack. This is a bureaucratic workflow I know all too much about. If this is your first time around the bend, here's my tl;dr:

  1. Follow the official instructions at the conda-forge/staged-recipes repo. Pretty simple stuff, really. Fork the repo blah blah. Boring!
  2. Create a new conda-forge recipe for pytest-beartype in your staged-recipes fork. The easiest ways are probably to either:
    • Copy-and-paste @beartype's official conda-forge recipe into your staged-recipes fork. Hack on it a lot little bit. Viola! Recipe hopefully works.
    • Use Greyskull to auto-generate a pytest-beartype recipe from your existing PyPI package. Never tried this, honestly – but it's bound to magically work great, right? Devtooling is fun. :yum:

Oh – and thanks again for all your sumptuous efforts here. You are the hero of QA.

tusharsadhwani commented 7 months ago

Sounds legit. I'll hack on this, perhaps on the weekend, since I'm traveling back home as of now.

leycec commented 6 months ago

Legit. Gods, how I've missed hearing that word. Sounds great! Take your time. No rush whatsoever. It's all fun and hacking, here. Oh – and have a great trip, especially if you're travelling by train...

Gods, how I miss trains. Riding the Shinkansen (bullet train) in Japan was a peak experience I shall always treasure. :bullettrain_front: :train: :dash:

tusharsadhwani commented 6 months ago

Oh yes, Shinkansen is nuts. I hear they're making an even faster one to go between Tokyo and Osaka in about an hour.

leycec commented 6 months ago

Oh. Oh. Oh. As if Japan couldn't get any more peak. Someday, Canada may catch up to where Japan was in the 60's. I cry while laughing. :rofl:

Hope you had a great trip! Bengaluru looks so gorgeous. I had no idea. I'm genuinely shocked. I'm a huge sucker for botanical gardens. They're literally everywhere in that city. It's like one big giant sprawling garden where people incidentally live. Props for choosing Teh Coolest City Evah.

tusharsadhwani commented 6 months ago

Bangalore would be pretty cool if most of the lakes were kept clean (they often reek especially during rain season) and they was better public transport (it has the 2nd worst traffic times, just next to London).

I'm sure Indian megacities will get there in a decade or so. Gardens always greener on the other side kinda thing.

tusharsadhwani commented 1 month ago

I'm looking into pixi, which is supposed to make the packaging and uploading to conda as seamless as something like poetry is for pip today. I think I'll give that a shot.

tusharsadhwani commented 1 month ago

I'll probably be going the smithy route, pixi seems much more to be a very helpful conda installation tool than a very helpful conda publishing tool. #5

leycec commented 1 month ago

Gah! I feel sorrow for not replying sooner. This summer has been a Canadian hothouse madhouse. Our fridge broke in a heatwave and now the freezer-burned scallops are all rotting in buckets. Uhm... I've said too much. What I meant to say was:

"I recall conda being super easy. Just go the conda-forge route unless you hate yourself, in which case please carry on with Smithy. Actually, learning Smithy could be super-fun. No idea! Never bothered. But perhaps bothering is worthwhile if you're deep into the tooling side? Frankly, conda-forge is the only reason I published @beartype to conda. Without conda-forge automation (...which I only barely and dimly comprehend), conda would be too utterly painful to support.

conda-forge. conda-forge is what I'm saying while I sweat in this heatwave to the smell of rotting scallops. :joy:

Specifically, either:

Hope you're having an awesome summer in Bengaluru. Rotting smelly lakes sounds... not so great, admittedly. But it could be worse! Like, Bengaluru could be out of water entirely. Wait. Didn't that happen? Wait. How could Bengaluru be out of water when it's surrounded by rotting smelly lakes? Hmmmmmm. Ok. I get it. I wouldn't want to drink from a rotting smelly lake, either. :sweat: