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

Update recipe to attempt to fix local build failure #339

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package:
name: "conda-libmamba-solver"
version: "{{ GIT_DESCRIBE_TAG }}.{{ GIT_BUILD_STR }}"

source:
# git_url is nice in that it won't capture devenv stuff. However, it only
# captures committed code, so pay attention.
git_url: ../
folder: src/

build:
number: 0
skip: true # [py<38]
script_env:
- SETUPTOOLS_SCM_PRETEND_VERSION={{ GIT_DESCRIBE_TAG }}.{{ GIT_BUILD_STR }}
script: {{ PYTHON }} -m pip install src/ -vv --no-deps --no-build-isolation

requirements:
host:
- python
- pip
- hatchling
- hatch-vcs
run:
- python
- conda >=23.7.4
- libmambapy >=1.5.1
- boltons >=23.0.0

test:
imports:
- conda_libmamba_solver
commands:
- CONDA_SOLVER=libmamba conda create -n test --dry-run scipy # [not win] Not crosss platform.
- conda create --solver libmamba -n test --dry-run scipy

about:
home: https://github.com/conda/conda-libmamba-solver
license: BSD-3-Clause
license_family: BSD
license_file: src/LICENSE
summary: 'The fast mamba solver, now in conda!'
description: |
The conda-libmamba-solver is a new solver for the conda package manager
which uses the solver from the mamba project behind the scenes,
while carefully implementing conda's functionality and expected behaviors on top.
The library used by mamba to do the heavy-lifting is called libsolv.
dev_url: https://github.com/conda/conda-libmamba-solver
doc_url: https://conda.github.io/conda-libmamba-solver/

extra:
recipe-maintainers:
- jaimergp
- jezdez
- wolfv
skip-lints:
- missing_pip_check