# Adding a default extra\_require environment

**URL:** <https://discuss.python.org/t/adding-a-default-extra-require-environment/4898>\
**Category:** Packaging\
**Created:** [August 3, 2020, 6:51pm UTC](https://discuss.python.org/t/adding-a-default-extra-require-environment/4898 "2020-08-03T18:51:56Z")\
**Posts on this page:** 1\
**Showing post:** 174

<div class="post-metadata">

**Author:** ![pradyunsg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/pradyunsg/32/206_2.png) [@pradyunsg](https://discuss.python.org/u/pradyunsg)\
**Post date:** [December 30, 2024, 5:55am UTC](https://discuss.python.org/t/adding-a-default-extra-require-environment/4898/174 "2024-12-30T05:55:42Z")

</div>

> [@frostming](#):
>
> . It looks like it should support `package_a ; extra != "lite"` correclty.

Such a requirement will match against `whatever[lite, other]` which is arguably suboptimal behaviour.

FWIW, there is a PEP being drafted for this with a concrete proposal (it’s been blocked on my review for a few weeks, whoops).

---

_[View the full topic](https://discuss.python.org/t/adding-a-default-extra-require-environment/4898)._
