#default extras

1 messages · Page 1 of 1 (latest)

manic dome
#
agile condor
manic dome
#

the default extras proposed by @analog lily seem superior for the definition, i'll link it

that thread is quite a few bikes turned dust

agile condor
#

well, it's easy to toss ideas around but very few people wanna go through the PEP process 😛

#

(as a general observation, didn't mean Pradyun specifically)

manic dome
#

so whats needed is a pep for default extras which adds the metadata, pyproject toml mapping, requirement specifiers extension and some coordination with pradyun as it seems like life has been unkind to his intent to do the pep

analog lily
#

I have a draft PEP somewhere for this.

analog lily
#

And, if someone wants to write a PEP for this, I'd be more than happy to co-author or sponsor it (whichever works best!).

manic dome
manic dome
manic dome
#

@analog lily I'd like to see your draft for reference if feasible

analog lily
#

Am away from my personal keyboard

manic dome
#

in that case, i suppose its best to wish you fun while away from the box of creation and despair ^^

analog lily
#

Looks like I only titled the PEP (Default optional dependencies for Python Packages) and wrote a rough draft of an abstract.

Many Python packages provide optional functionality that is conditionally available, based on what dependencies are installed. This is enabled by having optional dependencies (via extras) get installed using package[extra1, extra2] syntax from :pep:508.

This PEP provides the ability for packages to specify certain extras to get selected for installation by default, through a new Default-Extras key in Core Metadata. It also extends the dependency specification syntax to enable un-selecting a selected-by-default extra (via a new package[-extra1] syntax).

Feel free to use that with whatever level of attribution you want (including none), if you build off of that. If you wanna co-author this, or need a sponsor, lemme know. :)

#

default extras

#

I'll hold off on touching this until @manic dome says something, or it's Aug 2023. :)

manic dome
#

Coincidentally My paternity leave ends on the 8th of August

manic dome
#

@analog lily I'm most vexed with the topic,

No matter how I roll it around, having recommend/default Extras separate is a backwards compatibility pain and having them merged and splitting in updated resolvers is a unhinged complexity trap