pchomik / pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.
GNU General Public License v2.0
100 stars 19 forks source link

Conda Package Not Found #41

Closed ndanielsen closed 2 years ago

ndanielsen commented 3 years ago

Thank you for your work on this wonderful package.

I'm running into an issue when I'm installing this package via conda in CI. pytest-spec==3.0.4 is not found on conda-forge.

PackagesNotFoundError: The following packages are not available from current channels:

  - pytest-spec==3.0.4

Current channels:

  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/spyder-ide/linux-64
  - https://conda.anaconda.org/spyder-ide/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

I noticed that older versions were previously public on conda-forge.

https://anaconda.org/conda-forge/pytest-spec

Thanks for this package and you work on it.

pchomik commented 3 years ago

Hello,

I'm not sure who uploaded pytest-spec to anaconda environment. For sure not me.

Looks like process stopped when I switched from setup.py file to poetry. Issue is related to: https://github.com/python-poetry/poetry/issues/190

Do you know how to find contact person who uploaded pytest-spec to anaconda?

pchomik commented 3 years ago

@ndanielsen I can share information about poetry and help to build conda logic but I don't know this environment. Would you like to contribute and add conda build/push logic to project?

ndanielsen commented 3 years ago

@pchomik sure, happy to help package it for conda-forge.

I don't know who uploaded it before, I think following this guidance might allow pytest-spec to make it up on conda-forge:

https://conda-forge.org/docs/maintainer/adding_pkgs.html

pchomik commented 3 years ago

I successfully build pytest-spec but there is one problem. Package size increased from ~150kB to ~4MB because of poetry dependency. I'm not sure how to remove it from final package.

The changes are on conda branch and process how to build conda package was described on wiki: https://github.com/pchomik/pytest-spec/wiki/Build-conda-package

@ndanielsen could you look there?

pchomik commented 2 years ago

Closing - No response from author. I'm not using conda