grayskull: [BUG] meta.yaml order is not in correct order sometimes
Describe the bug A clear and concise description of what the bug is.
Ran grayskull on awswrangler and the order is not correct.
To Reproduce Steps to reproduce the behavior:
- Run grayksull on
awswrangler
Expected behavior A clear and concise description of what you expected to happen.
Source should be after package and before build.
Outputs If applicable, add the output to help explain your problem.
Example output:
{% set name = "requests" %}
{% set version = "2.27.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
build:
skip: true # [py==30 or py==31 or py==32 or py==33 or py==34 or py==35]
script: {{ PYTHON }} -m pip install . -vv
number: 0
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/requests-{{ version }}.tar.gz
sha256: 68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61
requirements:
host:
- pip
- pytest
- python
run:
- certifi >=2017.4.17
- chardet >=3.0.2,<5 # [py<3]
- charset-normalizer >=2.0.0 # [py>=3],==2.0.*
- idna >=2.5,<3 # [py<3]
- python
- urllib3 >=1.21.1,<1.27
test:
imports:
- requests
commands:
- pip check
requires:
- pip
about:
home: https://requests.readthedocs.io
summary: Python HTTP for Humans.
dev_url: https://github.com/psf/requests
license: Apache-2.0
license_file: LICENSE
extra:
recipe-maintainers:
- ADD_YOUR_GITHUB_ID_HERE
Environment:
https://www.marcelotrevisani.com/grayskull
Additional context Add any other context about the problem here.
- This only started happening recently.
- I’m not sure if this is really an urgent issue but to maintain readability it might be nice to use the original sorting.
- This doesn’t always happen.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 17 (17 by maintainers)
Yeah, that needs to be addressed at conda-souschef, indeed
Sorry for my delay, I was off for the past 2 weeks because of some personal matters. But I am back now 😃
I tried the packages @BastianZim mentioned. This was the result;
awswrangler: correct ordergaleodes: correct orderdrm4g: wrong orderdeepface: wrong orderrequests: wrong orderI notice the order of
sourceandbuildis wrong in recipes where thebuildsection has askip: trueline.I think I know what is happening but if you have more packages as examples to test it would be really nice, thanks! 😃
To be honest, that’s probably better addressed at @marcelotrevisani I don‘t know this codebase at all so I was just hoping that you maybe have a solution. 😃
Just starting a list here and will update when I notice packages:
Wow. This is weird.