Skip to content

Work around broken conda 26.5.3 _1 rebuild breaking the conda package CI build#2982

Open
antonwolfy wants to merge 1 commit into
masterfrom
pin-conda-to-avoid-installing-faulty-build
Open

Work around broken conda 26.5.3 _1 rebuild breaking the conda package CI build#2982
antonwolfy wants to merge 1 commit into
masterfrom
pin-conda-to-avoid-installing-faulty-build

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The "Conda package" CI job started failing with:

File ".../envs/build/bin/conda", line 12, in <module>
    from conda.cli import main
ModuleNotFoundError: No module named 'conda'
...
BuildScriptException: Command '[..., 'conda_build.sh']' returned non-zero exit status 1.

conda-forge rebuilt conda 26.5.3 as build _1. The _1 package ships the bin/conda entry point with a #!/usr/bin/env python shebang instead of the previous prefix-relocated #!<env>/bin/python.

The conda-recipe/build.sh calls conda list '^sysroot_linux-64$' (to derive the glibc version for the manylinux wheel tag). That runs inside conda-build's host sandbox, where the sandbox's python — which does not contain the conda module — is first on PATH. With the old shebang this was fine (conda used its own env's python); with the _1 shebang it resolves to the sandbox
python and fails with ModuleNotFoundError: No module named 'conda'.

Reported upstream:
conda-forge/conda-feedstock#304.

This PR pins conda to the known-good build _0 in the build environment spec.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.21.0 release milestone Jul 1, 2026
@antonwolfy antonwolfy self-assigned this Jul 1, 2026
@antonwolfy antonwolfy removed this from the 0.21.0 release milestone Jul 1, 2026
@antonwolfy antonwolfy marked this pull request as ready for review July 1, 2026 11:42
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2982/index.html

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 78.073%. remained the same — pin-conda-to-avoid-installing-faulty-build into master

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev2=py313h509198e_7 ran successfully.
Passed: 1370
Failed: 3
Skipped: 7

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.

2 participants