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

Conda Package Not Found #41

Closed
ndanielsen opened this issue Feb 19, 2021 · 5 comments
Closed

Conda Package Not Found #41

ndanielsen opened this issue Feb 19, 2021 · 5 comments
Assignees

Comments

@ndanielsen
Copy link

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
Copy link
Owner

pchomik commented Mar 23, 2021

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: python-poetry/poetry#190

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

@pchomik pchomik self-assigned this Mar 23, 2021
@pchomik
Copy link
Owner

pchomik commented May 4, 2021

@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
Copy link
Author

@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
Copy link
Owner

pchomik commented May 16, 2021

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
Copy link
Owner

pchomik commented Dec 12, 2021

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

@pchomik pchomik closed this as completed Dec 12, 2021
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

2 participants