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

Remove faiss-cpu from run reqs #37

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

dlqqq
Copy link
Member

@dlqqq dlqqq commented Jul 15, 2024

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Context

Installing jupyter-ai==2.19.0 via conda still results in the following error due to faiss-cpu being listed as a run requirement:

 % mmi jupyter-ai
conda-forge/osx-64                                          Using cache
  1 {% set name = "jupyter-ai" %}
conda-forge/noarch                                          Using cache
pkgs/main/noarch                                              No change
pkgs/main/osx-64                                              No change
pkgs/r/osx-64                                                 No change
pkgs/r/noarch                                                 No change

Pinned packages:
  - python 3.12.*

error    libmamba Could not solve for environment specs
    The following packages are incompatible
    ├─ jupyter-ai is installable with the potential options
    │  ├─ jupyter-ai 2.2.0 would require
    │  │  ├─ langchain 0.0.277 , which requires
    │  │  │  └─ tiktoken >=0.3.2,<0.4.0 , which can be installed;
    │  │  └─ tiktoken with the potential options
    │  │     ├─ tiktoken [0.3.1|0.3.2|...|0.7.0] would require
    │  │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
    │  │     ├─ tiktoken [0.3.1|0.3.2|...|0.7.0] would require
    │  │     │  └─ python >=3.11,<3.12.0a0 , which can be installed;
    │  │     ├─ tiktoken [0.3.1|0.3.2|...|0.7.0] would require
    │  │     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
    │  │     ├─ tiktoken [0.3.1|0.3.2|...|0.7.0] would require
    │  │     │  └─ python >=3.9,<3.10.0a0 , which can be installed;
    │  │     └─ tiktoken [0.5.1|0.5.2|0.6.0|0.7.0] conflicts with any installable versions previously reported;
    │  └─ jupyter-ai [2.10.0|2.11.0|...|2.9.1] would require
    │     ├─ faiss-cpu with the potential options
    │     │  ├─ faiss-cpu 1.6.3 would require
    │     │  │  └─ python_abi 3.6.* *_cp36m, which requires
    │     │  │     └─ python 3.6.* , which can be installed;
    │     │  ├─ faiss-cpu 1.6.3 would require
    │     │  │  └─ python_abi 3.7.* *_cp37m with the potential options
    │     │  │     ├─ python_abi 3.7 would require
    │     │  │     │  └─ python 3.7.* , which can be installed;
    │     │  │     └─ python_abi 3.7 would require
    │     │  │        └─ python 3.7.* *_cpython, which can be installed;
    │     │  ├─ faiss-cpu 1.6.3 would require
    │     │  │  └─ python_abi 3.8.* *_cp38 with the potential options
    │     │  │     ├─ python_abi 3.8 would require
    │     │  │     │  └─ python 3.8.* , which can be installed;
    │     │  │     └─ python_abi 3.8 would require
    │     │  │        └─ python 3.8.* *_cpython, which can be installed;
    │     │  ├─ faiss-cpu [1.6.4|1.6.5|1.7.0] would require
    │     │  │  └─ faiss [1.6.4 *_cpu|1.6.5 *_cpu|1.7.0 *_cpu] with the potential options
    │     │  │     ├─ faiss [1.6.4|1.6.5|1.7.0|1.7.1|1.7.2] would require
    │     │  │     │  └─ python >=3.7,<3.8.0a0 , which can be installed;
    │     │  │     ├─ faiss [1.6.4|1.6.5|...|1.7.4] would require
    │     │  │     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
    │     │  │     ├─ faiss [1.6.4|1.6.5|...|1.7.4] would require
    │     │  │     │  └─ python >=3.9,<3.10.0a0 , which can be installed;
    │     │  │     └─ faiss [1.6.4|1.6.5|1.7.0] would require
    │     │  │        └─ python >=3.6,<3.7.0a0 , which can be installed;
    │     │  ├─ faiss-cpu 1.7.1 would require
    │     │  │  └─ faiss 1.7.1 *_cpu with the potential options
    │     │  │     ├─ faiss [1.7.1|1.7.2|1.7.3|1.7.4] would require
    │     │  │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
    │     │  │     ├─ faiss [1.6.4|1.6.5|1.7.0|1.7.1|1.7.2], which can be installed (as previously explained);
    │     │  │     ├─ faiss [1.6.4|1.6.5|...|1.7.4], which can be installed (as previously explained);
    │     │  │     └─ faiss [1.6.4|1.6.5|...|1.7.4], which can be installed (as previously explained);
    │     │  ├─ faiss-cpu 1.7.2 would require
    │     │  │  └─ faiss 1.7.2 *_cpu with the potential options
    │     │  │     ├─ faiss [1.7.1|1.7.2|1.7.3|1.7.4], which can be installed (as previously explained);
    │     │  │     ├─ faiss [1.6.4|1.6.5|1.7.0|1.7.1|1.7.2], which can be installed (as previously explained);
    │     │  │     ├─ faiss [1.6.4|1.6.5|...|1.7.4], which can be installed (as previously explained);
    │     │  │     ├─ faiss [1.6.4|1.6.5|...|1.7.4], which can be installed (as previously explained);
    │     │  │     └─ faiss [1.7.2|1.7.3|1.7.4] would require
    │     │  │        └─ python >=3.11,<3.12.0a0 , which can be installed;
    │     │  └─ faiss-cpu [1.7.3|1.7.4] would require
    │     │     └─ faiss [1.7.3 *_cpu|1.7.4 *_cpu], which can be installed (as previously explained);
    │     └─ python >=3.8  with the potential options
    │        ├─ python [3.12.0|3.12.1|3.12.2|3.12.3|3.12.4] conflicts with any installable versions previously reported;
    │        ├─ python [3.10.0|3.10.1|...|3.10.9], which can be installed;
    │        ├─ python [3.11.0|3.11.1|...|3.11.9], which can be installed;
    │        ├─ python [3.8.0|3.8.1|...|3.8.8], which can be installed;
    │        ├─ python [3.9.0|3.9.1|...|3.9.9], which can be installed;
    │        └─ python 3.12.0rc3 would require
    │           └─ _python_rc, which does not exist (perhaps a missing channel);
    └─ pin-1 is not installable because it requires
       └─ python 3.12.* , which conflicts with any installable versions previously reported.
critical libmamba Could not solve for environment specs

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@dlqqq dlqqq merged commit 9197b2d into conda-forge:main Jul 15, 2024
3 checks passed
@dlqqq dlqqq deleted the faiss-py312-build2 branch July 15, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant