Skip to content

Install Windows CI dependencies with pip instead of conda, test 3.12 too - #1344

Merged
jeromekelleher merged 2 commits into
sgkit-dev:mainfrom
Billyzhang1229:ci-windows-pip
Sep 4, 2026
Merged

jeromekelleher merged 2 commits into
sgkit-dev:mainfrom
Billyzhang1229:ci-windows-pip

Conversation

@Billyzhang1229

@Billyzhang1229 Billyzhang1229 commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

The Windows workflow started failing in test_genee with warnings treated as errors:

RuntimeWarning:
Found Intel OpenMP ('libiomp') and LLVM OpenMP ('libomp') loaded at
the same time. Both libraries are known to be incompatible ...

conda install msprime on conda-forge now resolves to MKL (libiomp) plus llvm-openmp (libomp), while the pip-installed scientific stack brings its own OpenMP, so threadpoolctl sees both runtimes. I confirmed the failure is independent of the setup-miniconda version by running the same job with v2 and v4.

conda was only used on Windows because msprime had no Windows wheels at the time. It now publishes them for Python 3.11 through 3.14, so this switches the job to setup-python + pip like the other workflows and drops the miniconda step entirely.

Second commit adds Python 3.12 to the matrix so Windows covers the same versions as the Build workflow.

Verified green on my fork

conda was only used on Windows because msprime had no Windows wheels;
it now ships them for Python 3.11 through 3.14. The conda-forge solve
recently started pulling in both MKL (libiomp) and llvm-openmp (libomp),
which makes threadpoolctl raise a RuntimeWarning in test_genee and fails
the run because warnings are errors. Using pip for everything avoids the
mixed OpenMP runtimes and removes the setup-miniconda step.
This was referenced Sep 3, 2026
Matches the Build workflow, which already covers 3.11 and 3.12.
@Billyzhang1229 Billyzhang1229 changed the title Install Windows CI dependencies with pip instead of conda Install Windows CI dependencies with pip instead of conda, test 3.12 too Sep 3, 2026
@Billyzhang1229
Billyzhang1229 marked this pull request as ready for review September 3, 2026 16:21
@jeromekelleher

Copy link
Copy Markdown
Member

This seems like a straightforward win, merging

@jeromekelleher
jeromekelleher merged commit a8e4166 into sgkit-dev:main Sep 4, 2026
7 of 10 checks passed
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