Comments (11)
Ahh was looking in smithy – thank you!
In the bot or grayskull?
Yes, I just wanted to see if there is an obvious difference between CLI and bot.
from grayskull.
Ok if I run recipe, _ = create_python_recipe(pkg_name="aws-lambda-powertools", version="2.31.0", download=False, is_strict_cf=True)
and save that, I am getting
requirements:
host:
- python <4.0
- poetry-core >=1.3.2
- pip
run:
- python >=3.7.4,<4.0.0
- typing-extensions >=4.6.2,<5.0.0
run_constrained:
- aws-xray-sdk >=2.8.0,<3.0.0
- python-fastjsonschema >=2.14.5,<3.0.0
- pydantic >=1.8.2,<2.0.0
- boto3 >=1.20.32,<2.0.0
- datadog-lambda >=4.77,<6.0
I'm not sure if it is 100% Grayskull related, it might be the matching later. But first I would need to investigate if the Python version can have the same argument as the CLI with --extras-require-all
.
from grayskull.
Hmm, I'm not able to reproduce the problem with a local grayskull
so maybe it's an issue with conda's bot.
from grayskull.
Reopening because @beckermr thinks this is a grayskull bug, see:
regro/cf-scripts#1980 (comment)
from grayskull.
I also got it in this case: conda-forge/aws-lambda-powertools-feedstock#99
from grayskull.
Thanks @BastianZim. Have you been able to reproduce it locally with some version of grayskull
? That would be a lot more helpful in tracking down and fixing the issue.
from grayskull.
No, using it locally works for me as well. For the bot, I think it is not using the CLI but a python module instead, so maybe something is converted incorrectly. The logs locally show "optional" as well but it is not in the meta.yaml:
Build requirements:
<none>
Host requirements:
- python <4.0
- poetry-core >=1.3.2
- pip
Run requirements:
- python >=3.7.4,<4.0.0
- typing-extensions >=4.6.2,<5.0.0
All requirements (optional):
- aws-xray-sdk >=2.8.0,<3.0.0
- python-fastjsonschema >=2.14.5,<3.0.0
- pydantic >=1.8.2,<2.0.0
Aws-sdk requirements (optional):
- boto3 >=1.20.32,<2.0.0
Datadog requirements (optional):
- datadog-lambda >=4.77,<6.0
Datamasking-aws-sdk requirements (optional):
- aws-encryption-sdk >=3.1.1,<4.0.0
Parser requirements (optional):
- pydantic >=1.8.2,<2.0.0
Tracer requirements (optional):
- aws-xray-sdk >=2.8.0,<3.0.0
Validation requirements (optional):
- python-fastjsonschema >=2.14.5,<3.0.0
RED: Missing packages
GREEN: Packages available on conda-forge
from grayskull.
Thanks @BastianZim. That's helpful. I hadn't had time to look into the details yet.
from grayskull.
Just cannot remember anymore where that code lives... 😅
from grayskull.
In the bot or grayskull? In the bot it is here https://github.com/regro/cf-scripts/blob/master/conda_forge_tick/update_deps.py#L333. You'll have to extract a test case by hand since the current code paths use bot data structures.
from grayskull.
This function might be easier: https://github.com/regro/cf-scripts/blob/master/conda_forge_tick/update_deps.py#L282
from grayskull.
Related Issues (20)
- [BUG] lists in pyproject.toml dependencies not handled HOT 15
- [BUG] KeyError: 'version' for library that uses poetry HOT 1
- Specify destination folder for the generated meta.yml file HOT 6
- [BUG] Issue with Generating Recipe for Flask-Minify Package on Grayskull Online Version HOT 1
- [BUG] Grayskull fails to guess correctly the name of the executable when it differs from the package name HOT 1
- [BUG] `grayskull` fails to recognise `poetry` entrypoints? HOT 2
- [BUG] Grayskull removes comma from version HOT 4
- [FEATURE] Request for automating run_exports in meta.yaml HOT 2
- [FEATURE] Add support for new output format HOT 9
- Improve tests
- [BUG] `*` version not correctly handled HOT 2
- [BUG] Using PyPI with GitHub repository Poetry pyproject.toml results in `'NoneType' object` error for `format_dependencies` HOT 8
- [FEATURE] SSL certificate verification failure HOT 1
- [BUG] `--extras-require-all` option doesn't work with `pyproject.toml`-based projects
- [BUG] IndexError in match_license() HOT 4
- Can't include info from [tool.poetry.group.dev.dependencies] in the resulting meta.yml.
- [BUG] Grayskull doesn't detect AGPL-3.0-or-later HOT 2
- [BUG] Missing `license_file` in CRAN recipes
- [BUG] `flit_core` not being mapped correctly to `flit-core`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grayskull.