Skip to content
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] prospector[with_pyroma] not appearing to install pyroma when creating conda environments #661

Open
mo-gill opened this issue May 9, 2024 · 0 comments

Comments

@mo-gill
Copy link

mo-gill commented May 9, 2024

Describe the bug
Creating conda environments that include both prospector and pyroma usingprospector[with_pyroma] doesn't appear to be working for me.

If they are installed separately that seems to work, so i think the problem may be a result of the [with_pyroma] command not functioning as expected.

To Reproduce

% conda create --name test-prospector prospector[with_pyroma]
Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /miniconda3/envs/test-prospector

  added / updated specs:
    - prospector


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |      conda_forge           3 KB  conda-forge
    _openmp_mutex-4.5          |            2_gnu          23 KB  conda-forge
    asgiref-3.8.1              |     pyhd8ed1ab_0          26 KB  conda-forge
    astroid-2.15.8             |  py312h7900ff3_0         493 KB  conda-forge
    backports.zoneinfo-0.2.1   |  py312h7900ff3_8           7 KB  conda-forge
    bzip2-1.0.8                |       hd590300_5         248 KB  conda-forge
    ca-certificates-2024.2.2   |       hbcca054_0         152 KB  conda-forge
    colorama-0.4.6             |     pyhd8ed1ab_0          25 KB  conda-forge
    dill-0.3.8                 |     pyhd8ed1ab_0          86 KB  conda-forge
    django-5.0.4               |     pyhd8ed1ab_0         3.6 MB  conda-forge
    dodgy-0.2.1                |             py_0           8 KB  conda-forge
    flake8-5.0.4               |     pyhd8ed1ab_0          82 KB  conda-forge
    flake8-polyfill-1.0.2      |             py_0           8 KB  conda-forge
    gitdb-4.0.11               |     pyhd8ed1ab_0          52 KB  conda-forge
    gitpython-3.1.43           |     pyhd8ed1ab_0         153 KB  conda-forge
    importlib-metadata-7.1.0   |     pyha770c72_0          26 KB  conda-forge
    isort-5.13.2               |     pyhd8ed1ab_0          72 KB  conda-forge
    lazy-object-proxy-1.10.0   |  py312h98912ed_0          40 KB  conda-forge
    ld_impl_linux-64-2.40      |       h55db66e_0         697 KB  conda-forge
    libexpat-2.6.2             |       h59595ed_0          72 KB  conda-forge
    libffi-3.4.2               |       h7f98852_5          57 KB  conda-forge
    libgcc-ng-13.2.0           |       h77fa898_7         758 KB  conda-forge
    libgomp-13.2.0             |       h77fa898_7         412 KB  conda-forge
    libnsl-2.0.1               |       hd590300_0          33 KB  conda-forge
    libsqlite-3.45.3           |       h2797004_0         840 KB  conda-forge
    libuuid-2.38.1             |       h0b41bf4_0          33 KB  conda-forge
    libxcrypt-4.4.36           |       hd590300_1          98 KB  conda-forge
    libzlib-1.2.13             |       hd590300_5          60 KB  conda-forge
    logilab-common-1.7.3       |             py_0         118 KB  conda-forge
    mccabe-0.7.0               |     pyhd8ed1ab_0          11 KB  conda-forge
    mypy_extensions-1.0.0      |     pyha770c72_0          10 KB  conda-forge
    ncurses-6.4.20240210       |       h59595ed_0         875 KB  conda-forge
    openssl-3.3.0              |       hd590300_0         2.8 MB  conda-forge
    packaging-24.0             |     pyhd8ed1ab_0          49 KB  conda-forge
    pep8-naming-0.10.0         |     pyh9f0ad1d_0          11 KB  conda-forge
    pip-24.0                   |     pyhd8ed1ab_0         1.3 MB  conda-forge
    platformdirs-4.2.1         |     pyhd8ed1ab_0          20 KB  conda-forge
    prospector-1.10.3          |     pyhd8ed1ab_0          61 KB  conda-forge
    pycodestyle-2.9.1          |     pyhd8ed1ab_0          39 KB  conda-forge
    pydocstyle-6.3.0           |     pyhd8ed1ab_0          39 KB  conda-forge
    pyflakes-2.5.0             |     pyhd8ed1ab_0          56 KB  conda-forge
    pylint-2.17.7              |     pyhd8ed1ab_0         349 KB  conda-forge
    pylint-celery-0.3          |             py_1           4 KB  conda-forge
    pylint-django-2.5.3        |     pyhd8ed1ab_0          56 KB  conda-forge
    pylint-flask-0.6           |             py_0          13 KB  conda-forge
    pylint-plugin-utils-0.7    |     pyhd8ed1ab_0          15 KB  conda-forge
    python-3.12.3              |hab00c5b_0_cpython        30.5 MB  conda-forge
    python_abi-3.12            |          4_cp312           6 KB  conda-forge
    pyyaml-6.0.1               |  py312h98912ed_1         192 KB  conda-forge
    readline-8.2               |       h8228510_1         275 KB  conda-forge
    requirements-detector-1.2.2|     pyhd8ed1ab_0          22 KB  conda-forge
    semver-3.0.2               |     pyhd8ed1ab_0          20 KB  conda-forge
    setoptconf-tmp-0.3.1       |     pyhd8ed1ab_0          14 KB  conda-forge
    setuptools-69.5.1          |     pyhd8ed1ab_0         490 KB  conda-forge
    smmap-5.0.0                |     pyhd8ed1ab_0          22 KB  conda-forge
    snowballstemmer-2.2.0      |     pyhd8ed1ab_0          57 KB  conda-forge
    sqlparse-0.5.0             |     pyhd8ed1ab_0          39 KB  conda-forge
    tk-8.6.13                  |noxft_h4845f30_101         3.2 MB  conda-forge
    toml-0.10.2                |     pyhd8ed1ab_0          18 KB  conda-forge
    tomli-2.0.1                |     pyhd8ed1ab_0          16 KB  conda-forge
    tomlkit-0.12.4             |     pyha770c72_0          36 KB  conda-forge
    typing_extensions-4.11.0   |     pyha770c72_0          37 KB  conda-forge
    tzdata-2024a               |       h0c530f3_0         117 KB  conda-forge
    wheel-0.43.0               |     pyhd8ed1ab_1          57 KB  conda-forge
    wrapt-1.16.0               |  py312h98912ed_0          61 KB  conda-forge
    xz-5.2.6                   |       h166bdaf_0         409 KB  conda-forge
    yaml-0.2.5                 |       h7f98852_2          87 KB  conda-forge
    zipp-3.17.0                |     pyhd8ed1ab_0          19 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        49.5 MB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge 
  _openmp_mutex      conda-forge/linux-64::_openmp_mutex-4.5-2_gnu 
  asgiref            conda-forge/noarch::asgiref-3.8.1-pyhd8ed1ab_0 
  astroid            conda-forge/linux-64::astroid-2.15.8-py312h7900ff3_0 
  backports.zoneinfo conda-forge/linux-64::backports.zoneinfo-0.2.1-py312h7900ff3_8 
  bzip2              conda-forge/linux-64::bzip2-1.0.8-hd590300_5 
  ca-certificates    conda-forge/linux-64::ca-certificates-2024.2.2-hbcca054_0 
  colorama           conda-forge/noarch::colorama-0.4.6-pyhd8ed1ab_0 
  dill               conda-forge/noarch::dill-0.3.8-pyhd8ed1ab_0 
  django             conda-forge/noarch::django-5.0.4-pyhd8ed1ab_0 
  dodgy              conda-forge/noarch::dodgy-0.2.1-py_0 
  flake8             conda-forge/noarch::flake8-5.0.4-pyhd8ed1ab_0 
  flake8-polyfill    conda-forge/noarch::flake8-polyfill-1.0.2-py_0 
  gitdb              conda-forge/noarch::gitdb-4.0.11-pyhd8ed1ab_0 
  gitpython          conda-forge/noarch::gitpython-3.1.43-pyhd8ed1ab_0 
  importlib-metadata conda-forge/noarch::importlib-metadata-7.1.0-pyha770c72_0 
  isort              conda-forge/noarch::isort-5.13.2-pyhd8ed1ab_0 
  lazy-object-proxy  conda-forge/linux-64::lazy-object-proxy-1.10.0-py312h98912ed_0 
  ld_impl_linux-64   conda-forge/linux-64::ld_impl_linux-64-2.40-h55db66e_0 
  libexpat           conda-forge/linux-64::libexpat-2.6.2-h59595ed_0 
  libffi             conda-forge/linux-64::libffi-3.4.2-h7f98852_5 
  libgcc-ng          conda-forge/linux-64::libgcc-ng-13.2.0-h77fa898_7 
  libgomp            conda-forge/linux-64::libgomp-13.2.0-h77fa898_7 
  libnsl             conda-forge/linux-64::libnsl-2.0.1-hd590300_0 
  libsqlite          conda-forge/linux-64::libsqlite-3.45.3-h2797004_0 
  libuuid            conda-forge/linux-64::libuuid-2.38.1-h0b41bf4_0 
  libxcrypt          conda-forge/linux-64::libxcrypt-4.4.36-hd590300_1 
  libzlib            conda-forge/linux-64::libzlib-1.2.13-hd590300_5 
  logilab-common     conda-forge/noarch::logilab-common-1.7.3-py_0 
  mccabe             conda-forge/noarch::mccabe-0.7.0-pyhd8ed1ab_0 
  mypy_extensions    conda-forge/noarch::mypy_extensions-1.0.0-pyha770c72_0 
  ncurses            conda-forge/linux-64::ncurses-6.4.20240210-h59595ed_0 
  openssl            conda-forge/linux-64::openssl-3.3.0-hd590300_0 
  packaging          conda-forge/noarch::packaging-24.0-pyhd8ed1ab_0 
  pep8-naming        conda-forge/noarch::pep8-naming-0.10.0-pyh9f0ad1d_0 
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 
  platformdirs       conda-forge/noarch::platformdirs-4.2.1-pyhd8ed1ab_0 
  prospector         conda-forge/noarch::prospector-1.10.3-pyhd8ed1ab_0 
  pycodestyle        conda-forge/noarch::pycodestyle-2.9.1-pyhd8ed1ab_0 
  pydocstyle         conda-forge/noarch::pydocstyle-6.3.0-pyhd8ed1ab_0 
  pyflakes           conda-forge/noarch::pyflakes-2.5.0-pyhd8ed1ab_0 
  pylint             conda-forge/noarch::pylint-2.17.7-pyhd8ed1ab_0 
  pylint-celery      conda-forge/noarch::pylint-celery-0.3-py_1 
  pylint-django      conda-forge/noarch::pylint-django-2.5.3-pyhd8ed1ab_0 
  pylint-flask       conda-forge/noarch::pylint-flask-0.6-py_0 
  pylint-plugin-uti~ conda-forge/noarch::pylint-plugin-utils-0.7-pyhd8ed1ab_0 
  python             conda-forge/linux-64::python-3.12.3-hab00c5b_0_cpython 
  python_abi         conda-forge/linux-64::python_abi-3.12-4_cp312 
  pyyaml             conda-forge/linux-64::pyyaml-6.0.1-py312h98912ed_1 
  readline           conda-forge/linux-64::readline-8.2-h8228510_1 
  requirements-dete~ conda-forge/noarch::requirements-detector-1.2.2-pyhd8ed1ab_0 
  semver             conda-forge/noarch::semver-3.0.2-pyhd8ed1ab_0 
  setoptconf-tmp     conda-forge/noarch::setoptconf-tmp-0.3.1-pyhd8ed1ab_0 
  setuptools         conda-forge/noarch::setuptools-69.5.1-pyhd8ed1ab_0 
  smmap              conda-forge/noarch::smmap-5.0.0-pyhd8ed1ab_0 
  snowballstemmer    conda-forge/noarch::snowballstemmer-2.2.0-pyhd8ed1ab_0 
  sqlparse           conda-forge/noarch::sqlparse-0.5.0-pyhd8ed1ab_0 
  tk                 conda-forge/linux-64::tk-8.6.13-noxft_h4845f30_101 
  toml               conda-forge/noarch::toml-0.10.2-pyhd8ed1ab_0 
  tomli              conda-forge/noarch::tomli-2.0.1-pyhd8ed1ab_0 
  tomlkit            conda-forge/noarch::tomlkit-0.12.4-pyha770c72_0 
  typing_extensions  conda-forge/noarch::typing_extensions-4.11.0-pyha770c72_0 
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0 
  wheel              conda-forge/noarch::wheel-0.43.0-pyhd8ed1ab_1 
  wrapt              conda-forge/linux-64::wrapt-1.16.0-py312h98912ed_0 
  xz                 conda-forge/linux-64::xz-5.2.6-h166bdaf_0 
  yaml               conda-forge/linux-64::yaml-0.2.5-h7f98852_2 
  zipp               conda-forge/noarch::zipp-3.17.0-pyhd8ed1ab_0 


Proceed ([y]/n)? n


CondaSystemExit: Exiting.

Expected behavior
pyroma to be installed alongside prospector when using the [with_pyroma] command as per the instructions

Environment :

  • OS: Linux
  • Tool: prospector and pyroma
  • Prospector version 1.10.3
  • Python version 3.12.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant