[FEATURE] Handling extras
See original GitHub issueHi,
Would it please be possible to handle extras (like in pip install pettingzoo[atari]
) when generating the recipe?
Ideally, doing grayskull pypi pettingzoo[atari]
would fetch the extras and add them to the recipe.
Thanks,
Cyprien
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Feature Handling in Machine Learning | Analytics Vidhya
Feature Handling in Machine Learning ... Also, extra features make a model complex, time-consuming, and harder to implement in production.
Read more >Help packaging optional application features, using extras?
The functionality of handling extras was tied to setuptools' model of managing 'egg' packages, but newer tools such as pip and virtualenv ...
Read more >Handling of extras and deleted scenes in 'Series' - Emby
I make a big effort to store all 'Extra' material with each of my rips. Even though I create a 'deleted scenes' and...
Read more >How To Make a Living as an Extra in Movies or TV | Backstage
Wondering how much extras get paid? Here's everything you need to know about how to become an extra—including how much background actors ...
Read more >How to add extras / special features to Movies and TV : r/PleX
In the same folder as your movie itself, add the extras and append one of the following keywords to the title of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Apologies for the delay. I finally got some time to study the code today and want to jot down some notes in case someone else wants to look into this issue, since my bandwidth will be fairly limited through the end of the year.
As it stands today, the code is already capturing information about extra dependencies. To see this, we can place a breakpoint right after the following section and inspect
pypi_metadata
,sdist_metadata
, andmetadata
. https://github.com/conda-incubator/grayskull/blob/34d93e0ed57f68061cd6f23b967c3aee60a3fe81/grayskull/pypi/pypi.py#L555-L559Using dask as an example (link to required dependencies, link to extra dependencies), I noticed the following
PyPI metadata contains info about extra dependencies as well as their categories
sdist metadata contains info about just the categories
After merging the two, the only info that's preserved is the categories
In order to build the feature described in this issue, we need to achieve at least the following, possibly more
grayskull pypi pettingzoo[atari]
can be properly parsedDuplicate of https://github.com/conda-incubator/grayskull/issues/150