conda / grayskull

Grayskull :skull: - Recipe generator for Conda
https://conda.github.io/grayskull/
Apache License 2.0
319 stars 66 forks source link

[BUG] noarch is missed when upstream repo has a scripts directory even if it not used. #297

Closed beckermr closed 2 years ago

beckermr commented 2 years ago

Describe the bug I made a recipe for pyquil using the command line. It produced

$ cat pyquil/meta.yaml 
{% set name = "pyquil" %}
{% set version = "3.1.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

build:
  skip: true  # [py>=40 or py2k]
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyquil-{{ version }}.tar.gz
  sha256: 8ca8b67fe1cc4dcbee06a061edf876df1c2172edf21e979d4bf1e8c640616db3

requirements:
  host:
    - pip
    - python
  run:
    - importlib-metadata >=3.7.3,<4.0.0  # [py<38]
    - lark >=0.11.1,<0.12.0
    - networkx >=2.5,<3.0
    - numpy >=1.20,<2.0
    - python
    - qcs-api-client >=0.8.1,<0.21.0
    - retry >=0.9.2,<0.10.0
    - rpcq >=3.6.0,<4.0.0
    - scipy >=1.6.1,<2.0.0

test:
  imports:
    - pyquil
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/rigetti/pyquil.git
  summary: A Python library for creating Quantum Instruction Language (Quil) programs.
  license: Apache-2.0
  license_file: LICENSE

extra:
  recipe-maintainers:
    - AddYourGitHubIdHere

The upstream repo (https://github.com/rigetti/pyquil) has a scripts directory at its root, but when I downloaded the sdist, the setup.py there doesn't actually use the scripts kwarg AFAICT.

To Reproduce Steps to reproduce the behavior:

  1. run grayskul pypi pyquil

Expected behavior

It should be a noarch recipe.

Outputs If applicable, add the output to help explain your problem.

Environment:

$ conda list && grayskull --version
# packages in environment at /Users/beckermr/miniconda3/envs/bot-dev:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12                     py_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.2            py38h50d1736_2    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0           py38h96a0964_1    conda-forge
asciinet                  0.3.1                     dev_0    <develop>
asttokens                 2.0.5              pyhd8ed1ab_0    conda-forge
async_generator           1.10                       py_0    conda-forge
atk-1.0                   2.36.0               he69c4ee_4    conda-forge
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
babel                     2.9.1              pyh44b312d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backoff                   1.11.1             pyhd8ed1ab_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.10.0             pyha770c72_0    conda-forge
black                     21.12b0            pyhd8ed1ab_0    conda-forge
bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
blinker                   1.4                        py_1    conda-forge
boolean.py                3.7                        py_0    conda-forge
boto3                     1.20.46            pyhd8ed1ab_0    conda-forge
botocore                  1.23.46            pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                h0d85af4_6    conda-forge
brotli-bin                1.0.9                h0d85af4_6    conda-forge
brotlipy                  0.7.0           py38h96a0964_1003    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.18.1               h0d85af4_0    conda-forge
ca-certificates           2021.10.8            h033912b_0    conda-forge
cachecontrol              0.12.10            pyhd8ed1ab_0    conda-forge
cachetools                5.0.0              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            he01c77b_1009    conda-forge
certifi                   2021.10.8        py38h50d1736_1    conda-forge
cffi                      1.15.0           py38h1a44b6c_0    conda-forge
cfgv                      3.3.1              pyhd8ed1ab_0    conda-forge
chardet                   4.0.0            py38h50d1736_1    conda-forge
charset-normalizer        2.0.10             pyhd8ed1ab_0    conda-forge
click                     8.0.3            py38h50d1736_1    conda-forge
cloudpickle               2.0.0              pyhd8ed1ab_0    conda-forge
codecov                   2.1.11             pyhd3deb0d_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
conda                     4.11.0           py38h50d1736_0    conda-forge
conda-build               3.21.7           py38h50d1736_0    conda-forge
conda-forge-pinning       2022.01.29.15.10.18      hd8ed1ab_0    conda-forge
conda-forge-tick          0.0.1                     dev_0    <develop>
conda-package-handling    1.7.3            py38h96a0964_1    conda-forge
conda-smithy              3.16.2             pyhd8ed1ab_0    conda-forge
conda-souschef            2.1.1              pyhd8ed1ab_0    conda-forge
conda-suggest             0.1.1              pyh9f0ad1d_0    conda-forge
conda-suggest-conda-forge 2021.8.24            h694c41f_0    conda-forge
coverage                  6.3              py38h96a0964_0    conda-forge
cryptography              36.0.1           py38h56c4533_0    conda-forge
curl                      7.81.0               hf45b732_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cytoolz                   0.11.2           py38h96a0964_1    conda-forge
dask-core                 2021.11.2          pyhd8ed1ab_0    conda-forge
dataclasses               0.8                pyhc8e2a94_3    conda-forge
dbus                      1.13.6               h811a1a6_3    conda-forge
debugpy                   1.5.1            py38ha048514_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
depfinder                 2.7.1              pyhd8ed1ab_1    conda-forge
deprecated                1.2.13             pyh6c4a22f_0    conda-forge
distlib                   0.3.4              pyhd8ed1ab_0    conda-forge
distributed               2021.11.2        py38h50d1736_0    conda-forge
doctr                     1.9.0              pyhd8ed1ab_0    conda-forge
docutils                  0.17.1           py38h50d1736_1    conda-forge
editdistance              0.6.0            py38ha048514_1    conda-forge
editdistance-s            1.0.0            py38h12bbefe_2    conda-forge
entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
execnet                   1.9.0              pyhd8ed1ab_0    conda-forge
executing                 0.8.2              pyhd8ed1ab_0    conda-forge
expat                     2.4.3                he49afe7_0    conda-forge
feedparser                6.0.8              pyhd8ed1ab_0    conda-forge
filelock                  3.4.2              pyhd8ed1ab_1    conda-forge
flake8                    4.0.1              pyhd8ed1ab_0    conda-forge
flaky                     3.7.0              pyh9f0ad1d_0    conda-forge
flit-core                 3.6.0              pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.94              h10f422b_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.29.0           py38h96a0964_0    conda-forge
freetype                  2.10.4               h4cff582_1    conda-forge
fribidi                   1.0.10               hbcb3906_0    conda-forge
frozendict                2.2.1            py38h96a0964_0    conda-forge
fsspec                    2022.1.0           pyhd8ed1ab_0    conda-forge
gdk-pixbuf                2.42.6               h2e6141f_0    conda-forge
gettext                   0.19.8.1          hd1a6beb_1008    conda-forge
giflib                    5.2.1                hbcb3906_2    conda-forge
git                       2.35.0          pl5321h9a53687_0    conda-forge
gitdb                     4.0.7              pyhd3eb1b0_0    defaults
github3.py                3.0.0              pyhd8ed1ab_0    conda-forge
gitpython                 3.1.26             pyhd8ed1ab_0    conda-forge
glib                      2.70.2               hcf210ce_1    conda-forge
glib-tools                2.70.2               hcf210ce_1    conda-forge
glob2                     0.7                        py_0    conda-forge
graphite2                 1.3.13            h2e338ed_1001    conda-forge
graphviz                  2.50.0               h2b5222e_2    conda-forge
grayskull                 1.1.0              pyhd8ed1ab_0    conda-forge
gtk2                      2.24.33              h7c1209e_2    conda-forge
gts                       0.7.6                hccb3bdf_2    conda-forge
harfbuzz                  3.2.0                h447b35c_0    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
icu                       69.1                 he49afe7_0    conda-forge
identify                  2.4.6              pyhd8ed1ab_0    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
imagesize                 1.3.0              pyhd8ed1ab_0    conda-forge
importlib-metadata        4.10.1           py38h50d1736_0    conda-forge
importlib_metadata        4.10.1               hd8ed1ab_0    conda-forge
importlib_resources       5.4.0              pyhd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
ipykernel                 6.7.0            py38h5fd9f69_0    conda-forge
ipython                   8.0.1            py38h50d1736_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.5              pyhd8ed1ab_0    conda-forge
isodate                   0.6.1              pyhd8ed1ab_0    conda-forge
jbig                      2.1               h0d85af4_2003    conda-forge
jedi                      0.17.2           py38h50d1736_2    conda-forge
jinja2                    3.0.3              pyhd8ed1ab_0    conda-forge
jmespath                  0.10.0             pyh9f0ad1d_0    conda-forge
jpeg                      9e                   h0d85af4_0    conda-forge
jsonschema                4.4.0              pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0            py38h50d1736_7    conda-forge
jupyter_client            7.1.2              pyhd8ed1ab_0    conda-forge
jupyter_console           6.4.0              pyhd8ed1ab_0    conda-forge
jupyter_contrib_core      0.3.3                      py_2    conda-forge
jupyter_contrib_nbextensions 0.5.1              pyhd8ed1ab_2    conda-forge
jupyter_core              4.9.1            py38h50d1736_1    conda-forge
jupyter_highlight_selected_word 0.2.0           py38h50d1736_1005    conda-forge
jupyter_latex_envs        1.4.6           pyhd8ed1ab_1002    conda-forge
jupyter_nbextensions_configurator 0.4.1            py38h50d1736_2    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_widgets        1.0.2              pyhd8ed1ab_0    conda-forge
jupytext                  1.13.6             pyheef035f_0    conda-forge
jwcrypto                  1.0                pyhd8ed1ab_0    conda-forge
kiwisolver                1.3.2            py38h12bbefe_1    conda-forge
krb5                      1.19.2               hcfbf3a7_3    conda-forge
lazyasd                   0.1.4                      py_1    conda-forge
lcms2                     2.12                 h577c468_0    conda-forge
lerc                      3.0                  he49afe7_0    conda-forge
libarchive                3.5.2                h2b60450_1    conda-forge
libblas                   3.9.0           13_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h0d85af4_6    conda-forge
libbrotlidec              1.0.9                h0d85af4_6    conda-forge
libbrotlienc              1.0.9                h0d85af4_6    conda-forge
libcblas                  3.9.0           13_osx64_openblas    conda-forge
libcflib                  0.0.8                     dev_0    <develop>
libclang                  13.0.0          default_he082bbe_0    conda-forge
libcurl                   7.81.0               hf45b732_0    conda-forge
libcxx                    12.0.1               habf9029_1    conda-forge
libdeflate                1.8                  h0d85af4_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgd                     2.3.3                hb8742e1_1    conda-forge
libgfortran               5.0.0           9_3_0_h6c81a4c_23    conda-forge
libgfortran5              9.3.0               h6c81a4c_23    conda-forge
libglib                   2.70.2               hf1fb8c0_1    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
liblapack                 3.9.0           13_osx64_openblas    conda-forge
liblief                   0.11.5               he49afe7_1    conda-forge
libllvm10                 10.0.1               h009f743_3    conda-forge
libllvm11                 11.1.0               hd011deb_2    conda-forge
libllvm13                 13.0.0               hd011deb_0    conda-forge
libmamba                  0.20.0               h9ce2d19_0    conda-forge
libmambapy                0.20.0           py38h05805cc_0    conda-forge
libnghttp2                1.46.0               h6f36284_0    conda-forge
libopenblas               0.3.18          openmp_h3351f45_0    conda-forge
libpng                    1.6.37               h7cec526_2    conda-forge
libpq                     14.1                 hea3049e_1    conda-forge
librsvg                   2.52.5               h5e5d7d9_2    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libsolv                   0.7.19               hcf210ce_5    conda-forge
libssh2                   1.10.0               h52ee1ee_2    conda-forge
libtiff                   4.3.0                hd146c10_2    conda-forge
libtool                   2.4.6             he49afe7_1008    conda-forge
libwebp                   1.2.2                h28dabe5_0    conda-forge
libwebp-base              1.2.2                h0d85af4_1    conda-forge
libxml2                   2.9.12               h7e28ab6_1    conda-forge
libxslt                   1.1.33               h1acebb3_3    conda-forge
libzlib                   1.2.11            h9173be1_1013    conda-forge
license-expression        1.2                        py_0    conda-forge
llvm-openmp               12.0.1               hda6cdc1_1    conda-forge
locket                    0.2.0                      py_2    conda-forge
lockfile                  0.12.2                     py_1    conda-forge
lxml                      4.7.1            py38h6ea4786_0    conda-forge
lz4-c                     1.9.3                he49afe7_1    conda-forge
lzo                       2.10              haf1e3a3_1000    conda-forge
mamba                     0.20.0           py38h52b2510_0    conda-forge
markdown-it-py            1.1.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.0.1            py38h96a0964_1    conda-forge
matplotlib-base           3.5.1            py38hc7d2367_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mdit-py-plugins           0.3.0              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py38h96a0964_1005    conda-forge
more-itertools            8.12.0             pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.3            py38h12bbefe_0    conda-forge
msrest                    0.6.21             pyh44b312d_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mypy_extensions           0.4.3            py38h50d1736_4    conda-forge
mysql-common              8.0.28               h694c41f_0    conda-forge
mysql-libs                8.0.28               h115446f_0    conda-forge
natsort                   8.0.2              pyhd8ed1ab_0    conda-forge
nb_conda_kernels          2.3.1            py38h50d1736_1    conda-forge
nbclient                  0.5.10             pyhd8ed1ab_1    conda-forge
nbconvert                 6.4.1            py38h50d1736_0    conda-forge
nbformat                  5.1.3              pyhd8ed1ab_0    conda-forge
ncurses                   6.2                  h2e338ed_4    conda-forge
ndg-httpsclient           0.5.1                      py_1    conda-forge
nest-asyncio              1.5.4              pyhd8ed1ab_0    conda-forge
networkx                  2.6.3              pyhd8ed1ab_1    conda-forge
nodeenv                   1.6.0              pyhd8ed1ab_0    conda-forge
notebook                  6.4.8              pyha770c72_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.74                 h31e2bf1_0    conda-forge
numpy                     1.22.1           py38h9d72dae_0    conda-forge
oauthlib                  3.1.1              pyhd8ed1ab_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openjpeg                  2.4.0                h6e7aa92_1    conda-forge
openssl                   1.1.1l               h0d85af4_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.4.0            py38ha53d530_0    conda-forge
pandoc                    2.17.0.1             h694c41f_1    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
pango                     1.50.3               h7f27720_0    conda-forge
parso                     0.7.1              pyh9f0ad1d_0    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pathspec                  0.9.0              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
pcre2                     10.37                ha16e1b2_0    conda-forge
perl                      5.32.1          1_h0d85af4_perl5    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    8.4.0            py38hee640a0_0    conda-forge
pip                       21.3.1             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               hbcb3906_0    conda-forge
pkginfo                   1.8.2              pyhd8ed1ab_0    conda-forge
platformdirs              2.3.0              pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0            py38h50d1736_2    conda-forge
pre-commit                2.17.0           py38h50d1736_0    conda-forge
progressbar2              3.53.1             pyh9f0ad1d_0    conda-forge
prometheus_client         0.13.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.26             pyha770c72_0    conda-forge
prompt_toolkit            3.0.26               hd8ed1ab_0    conda-forge
psutil                    5.9.0            py38h96a0964_0    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
py                        1.11.0             pyh6c4a22f_0    conda-forge
py-lief                   0.11.5           py38ha048514_1    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycodestyle               2.8.0              pyhd8ed1ab_0    conda-forge
pycosat                   0.6.3           py38h96a0964_1009    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pycrypto                  2.6.1           py38h96a0964_1006    conda-forge
pyflakes                  2.4.0              pyhd8ed1ab_0    conda-forge
pygithub                  1.55               pyh6c4a22f_0    conda-forge
pygments                  2.11.2             pyhd8ed1ab_0    conda-forge
pyjwt                     2.3.0              pyhd8ed1ab_1    conda-forge
pynacl                    1.5.0            py38h96a0964_0    conda-forge
pynamodb                  5.2.0              pyhd8ed1ab_0    conda-forge
pyopenssl                 21.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.7              pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py38h50d1736_8    conda-forge
pyqt-impl                 5.12.3           py38hb240fba_8    conda-forge
pyqt5-sip                 4.19.18          py38h1d3b384_8    conda-forge
pyqtchart                 5.12             py38hb240fba_8    conda-forge
pyqtwebengine             5.12.1           py38hb240fba_8    conda-forge
pyrsistent                0.18.1           py38h96a0964_0    conda-forge
pysocks                   1.7.1            py38h50d1736_4    conda-forge
pytest                    6.2.5            py38h50d1736_2    conda-forge
pytest-forked             1.4.0              pyhd8ed1ab_0    conda-forge
pytest-xdist              2.5.0              pyhd8ed1ab_0    conda-forge
python                    3.8.12          h17280f6_2_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-graphviz           0.19.1             pyhaef67bd_0    conda-forge
python-libarchive-c       4.0              py38h50d1736_0    conda-forge
python-rapidjson          1.5              py38ha048514_1    conda-forge
python-utils              3.1.0              pyhd8ed1ab_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytz                      2021.3             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0              py38h96a0964_3    conda-forge
pyzmq                     22.3.0           py38hd3b92b6_1    conda-forge
qt                        5.12.9               h2a607e2_5    conda-forge
qtconsole                 5.2.2              pyhd8ed1ab_1    conda-forge
qtconsole-base            5.2.2              pyhd8ed1ab_1    conda-forge
qtpy                      2.0.0              pyhd8ed1ab_0    conda-forge
rapidfuzz                 1.9.1            py38ha53d530_0    conda-forge
readline                  8.1                  h05e3726_0    conda-forge
regex                     2022.1.18        py38h96a0964_0    conda-forge
reproc                    14.2.3               h0d85af4_0    conda-forge
reproc-cpp                14.2.3               he49afe7_0    conda-forge
requests                  2.27.1             pyhd8ed1ab_0    conda-forge
requests-mock             1.9.3              pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.0              pyh9f0ad1d_0    conda-forge
rever                     0.5.0              pyhd8ed1ab_0    conda-forge
ripgrep                   13.0.0               h80d2146_1    conda-forge
ruamel                    1.0              py38h50d1736_5    conda-forge
ruamel.yaml               0.17.19          py38h96a0964_0    conda-forge
ruamel.yaml.clib          0.2.6            py38h96a0964_0    conda-forge
ruamel.yaml.jinja2        0.2.4                      py_1    conda-forge
ruamel_yaml               0.15.80         py38h96a0964_1006    conda-forge
s3transfer                0.5.0              pyhd8ed1ab_0    conda-forge
scipy                     1.7.3            py38hd329d04_0    conda-forge
scrypt                    0.8.18           py38h05cbfbd_1    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setproctitle              1.2.2            py38h96a0964_1    conda-forge
setuptools                60.5.0           py38h50d1736_0    conda-forge
sgmllib3k                 1.0.0              pyh9f0ad1d_0    conda-forge
simplejson                3.17.6           py38h96a0964_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smmap                     5.0.0              pyhd8ed1ab_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.1              pyhd8ed1ab_0    conda-forge
sphinx                    4.4.0              pyh6c4a22f_1    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_1    conda-forge
sqlite                    3.37.0               h23a322b_0    conda-forge
stack_data                0.1.4              pyhd8ed1ab_0    conda-forge
stdlib-list               0.7.0                      py_2    conda-forge
stopit                    1.1.2                      py_0    conda-forge
streamz                   0.6.3              pyh6c4a22f_0    conda-forge
tar                       1.34                 hbb58dfb_0    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
terminado                 0.13.1           py38h50d1736_0    conda-forge
testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.11               h5dbffcc_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     1.2.2              pyhd8ed1ab_0    conda-forge
toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1              py38h96a0964_2    conda-forge
tqdm                      4.62.3             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
typed-ast                 1.5.2            py38h96a0964_0    conda-forge
typing-extensions         4.0.1                hd8ed1ab_0    conda-forge
typing_extensions         4.0.1              pyha770c72_0    conda-forge
ukkonen                   1.0.1            py38h12bbefe_1    conda-forge
unicodedata2              14.0.0           py38h96a0964_0    conda-forge
uritemplate               4.1.1              pyhd8ed1ab_0    conda-forge
uritemplate.py            3.0.2                      py_1    conda-forge
urllib3                   1.26.8             pyhd8ed1ab_1    conda-forge
virtualenv                20.13.0          py38h50d1736_0    conda-forge
vsts-python-api           0.1.22                     py_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
widgetsnbextension        3.5.2            py38h50d1736_1    conda-forge
wrapt                     1.13.3           py38h96a0964_1    conda-forge
wurlitzer                 3.0.2            py38h50d1736_1    conda-forge
xonsh                     0.9.24           py38h50d1736_0    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
yaml                      0.2.5                h0d85af4_2    conda-forge
yaml-cpp                  0.6.3                hb1e8313_4    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.7.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h9173be1_1013    conda-forge
zstd                      1.5.2                h582d3a0_0    conda-forge
1.1.0

Additional context Add any other context about the problem here.

marcelotrevisani commented 2 years ago

There is a selector in the requirements, that is why it didn't put this recipe as noarch.

Did conda-forge change this "policy"? if it is just py selectors could it be noarch?

beckermr commented 2 years ago

Ahhhhh. importlib-metadata is special-cased so that on later pythons it can be listed and do nothing.

beckermr commented 2 years ago

See here: https://github.com/conda-forge/pyquil-feedstock/blob/master/recipe/meta.yaml

beckermr commented 2 years ago

We did not change our policy which is a technical requirement in conda-build.

marcelotrevisani commented 2 years ago

indeed, but there is a few ways to get away with it, hahahah I was thinking that I missed some cep

marcelotrevisani commented 2 years ago

that is an improvement then, to not add python selectors for importlib-metadata

beckermr commented 2 years ago

I think this could be special-cased in grayskull maybe?

Also grayskull missed a host requirement on poetry here.

marcelotrevisani commented 2 years ago

poetry and flit are also another special case, there are issues for that on grayskull already https://github.com/conda-incubator/grayskull/issues/243

marcelotrevisani commented 2 years ago

it can be done as a special case indeed

beckermr commented 2 years ago

Awesome! Thank you!

BastianZim commented 2 years ago

Maybe this can be combined with https://github.com/conda-incubator/grayskull/issues/216 ?

Just one overall list of packages that don't need a selector. Maybe even replicated into the conda-forge docs?

marcelotrevisani commented 2 years ago

216

Indeed! I believe it would be better to concentrate the discussion just on the #216 as the problem is the same If you don't mind @beckermr I will close this issue in favour of #216 as they are the same thing But if you think that is better to have this issue open please feel free to reopen