-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Using PyPI with GitHub repository Poetry pyproject.toml results in 'NoneType' object
error for format_dependencies
#500
Comments
oh ok, that seems to be a bug indeed. Gonna take a further look and add it to my backlog |
Thank you @marcelotrevisani ! |
Hi all, |
Hey, I am in the process of fixing this and all of your suggested solutions are great! Can I break down your issue into others please?
So, at least, I can keep track of this. The last bit is related to the fix I am doing. |
This issue was fixed with #503 as well 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 |
I am generating version 2.5.1 that should have this fix |
Thanks @marcelotrevisani ! Does the fix relate to a specific PR? |
yup, this one |
Describe the bug
Thank you for the great efforts with this project! I noticed a bug which appears to be reoccurring or occurring similarly to #455 and #461. The error occurs when attempting to use Grayskull from a GitHub repository which leverages
pyproject.toml
files. Specifically (and maybe differently from the earlier issues) I'm seeing this occur withpyproject.toml
files of the Poetry variety.Please don't hesitate to let me know if I've done something out of alignment with what Grayskull expects or supports (I may just be doing things completely wrong!).
To Reproduce
Steps to reproduce the behavior:
I created a simple demonstration repository which may be found here and is referenced below: https://github.com/d33bs/test-grayskull .
grayskull pypi https://github.com/d33bs/test-grayskull
Expected behavior
I'd suggest some combination of the following possible solutions:
pyproject.toml
files (if this is where the error stems from).pyproject.toml
files.Environment:
The text was updated successfully, but these errors were encountered: