Comments (8)
oh ok, that seems to be a bug indeed. Gonna take a further look and add it to my backlog
Thanks for reporting it! :)
from grayskull.
I am generating version 2.5.1 that should have this fix
from grayskull.
Thank you @marcelotrevisani !
from grayskull.
Hi all,
I am having the same error now. Is there any update so far? Thank you!
from grayskull.
Hey, I am in the process of fixing this and all of your suggested solutions are great!
I just don't have much time to do it all, but indeed it would be great.
Can I break down your issue into others please?
For instance, I would like to create two more issues for:
- A more descriptive error (mentioning what is required from the project metadata).
- Documentation covering the expected fields within pyproject.toml files (if this is where the error stems from).
So, at least, I can keep track of this. The last bit is related to the fix I am doing.
from grayskull.
This issue was fixed with #503 as well
I was able to generate
grayskull pypi https://github.com/d33bs/test-grayskull
{% set name = "test-grayskull" %}
{% set version = "0.0.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://github.com/d33bs/test-grayskull/archive/v{{ version }}.tar.gz
sha256: 98d81a0d5d0e2f5c47b113a4083fc5bdab358f0440568d3bd5dd3d6bd4bb2d9f
build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0
requirements:
host:
- python
- poetry-core
- pip
run:
- python >=3.9,<3.13
- pandas >=2.1.1,<3.0.0
- numpy >=1.26.0,<2.0.0
test:
commands:
- pip check
requires:
- pip
about:
license: Apache-2.0
license_file: LICENSE
extra:
recipe-maintainers:
- marcelotrevisani
from grayskull.
Thanks @marcelotrevisani ! Does the fix relate to a specific PR?
from grayskull.
yup, this one
#503
I fixed another bug and this one as they were simple
from grayskull.
Related Issues (20)
- [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
- [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] `optionaltrue` appended to entries from pyproject.toml HOT 11
- [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`
- [FEATURE] Generate recipe for local project HOT 2
- [FEATURE] Recipes for R-based packages from Github
- [BUG] There should not be any `direct_url.json` file in Python packages.
- [BUG] Incorrect parsing of `tool.poetry.dependencies` in `pyproject.toml` HOT 1
- [BUG] Failed to parse `tool.poetry.dependencies` with multiple constraints dependencies HOT 2
- [BUG] pypi.org vs pypi.io for source/url in meta.yaml
- [BUG] Grayskull incorrectly replaces dot "." with hyphen "-" in Conda package names
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.