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

CI fails right after a Pandas release #550

Open
2 tasks done
maresb opened this issue Nov 10, 2023 · 0 comments
Open
2 tasks done

CI fails right after a Pandas release #550

maresb opened this issue Nov 10, 2023 · 0 comments

Comments

@maresb
Copy link
Contributor

maresb commented Nov 10, 2023

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

#549 (comment)

Maybe because PyPI doesn't exist yet for conda-forge?

_____ test_run_lock_with_pip_environment_different_names_same_deps[mamba] ______
[gw1] linux -- Python 3.8.18 /home/runner/micromamba/envs/conda-lock-dev/bin/python3.8

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd76cfbdf40>
pip_environment_different_names_same_deps = PosixPath('/home/runner/work/_temp/pytest-of-runner/pytest-0/popen-gw1/test_run_lock_with_pip_environ0/environment.yml')
conda_exe = PosixPath('/home/runner/micromamba/envs/conda-lock-dev/bin/mamba')

    def test_run_lock_with_pip_environment_different_names_same_deps(
        monkeypatch: "pytest.MonkeyPatch",
        pip_environment_different_names_same_deps: Path,
        conda_exe: str,
    ):
        monkeypatch.chdir(pip_environment_different_names_same_deps.parent)
        if is_micromamba(conda_exe):
            monkeypatch.setenv("CONDA_FLAGS", "-v")
>       run_lock([pip_environment_different_names_same_deps], conda_exe=conda_exe)

/home/runner/work/_temp/tests/test_conda_lock.py:1443: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/home/runner/work/conda-lock/conda-lock/conda_lock/conda_lock.py:1092: in run_lock
    make_lock_files(
/home/runner/work/conda-lock/conda-lock/conda_lock/conda_lock.py:394: in make_lock_files
    fresh_lock_content = create_lockfile_from_spec(
/home/runner/work/conda-lock/conda-lock/conda_lock/conda_lock.py:821: in create_lockfile_from_spec
    deps = _solve_for_arch(
/home/runner/work/conda-lock/conda-lock/conda_lock/conda_lock.py:752: in _solve_for_arch
    pip_deps = solve_pypi(
/home/runner/work/conda-lock/conda-lock/conda_lock/pypi_solver.py:355: in solve_pypi
    requirements = get_requirements(
/home/runner/work/conda-lock/conda-lock/conda_lock/pypi_solver.py:229: in get_requirements
    link = chooser.choose_for(op.package)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <conda_lock._vendor.poetry.installation.chooser.Chooser object at 0x7fd76ae8ba30>
package = Package('pandas', '2.1.3')

    def choose_for(self, package):  # type: (Package) -> Link
        """
        Return the url of the selected archive for a given package.
        """
        links = []
        for link in self._get_links(package):
            if link.is_wheel and not Wheel(link.filename).is_supported_by_environment(
                self._env
            ):
                continue
    
            if link.ext in {".egg", ".exe", ".msi", ".rpm", ".srpm"}:
                continue
    
            links.append(link)
    
        if not links:
>           raise RuntimeError(
                "Unable to find installation candidates for {}".format(package)
            )
E           RuntimeError: Unable to find installation candidates for pandas (2.1.3)

/home/runner/work/conda-lock/conda-lock/conda_lock/_vendor/poetry/installation/chooser.py:72: RuntimeError
----------------------------- Captured stderr call -----------------------------
Locking dependencies for ['linux-64', 'osx-64', 'osx-arm64', 'win-64']...
------------------------------ Captured log call -------------------------------
INFO     conda_lock.conda_solver:conda_solver.py:352 linux-64 using specs ['python 3.9.*', 'dask-core', 'pip *']

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

No response

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

No branches or pull requests

1 participant