[BUG] meta.yaml order is not in correct order sometimes
See original GitHub issueDescribe 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.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:17 (14 by maintainers)
Top Results From Across the Web
Order of deployers doesn't match order listed in `skaffold.yaml`
Expected Behavior I have a skaffold.yaml file that contains the lines: apiVersion: skaffold/v2alpha3 kind: Config metadata: name: discover ...
Read more >r - Why does the order of outputs change in YAML when the ...
I mostly use the nb.html, but sometimes I want to knit a PDF. As soon as I knit a PDF: I have to...
Read more >Defining metadata (meta.yaml) - Conda
It represents packages that need to be specific to the target platform when the target platform is not necessarily the same as the...
Read more >"Unable to parse YAML file" error - Unity Forum
I sometimes get the error "Unable to parse YAML file: [could not find expected ':'] at line 2". Is there a way I...
Read more >10 YAML tips for people who hate YAML | Enable Sysadmin
Of these, YAML sometimes gets cited as a particularly difficult one to ... You may or may not understand what error it's talking...
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
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
source
andbuild
is wrong in recipes where thebuild
section has askip: true
line.