Medical-Event-Data-Standard / Medical-Event-Data-Standard/MEDS-DEV

Native Windows dataset builds fail because virtualenv and command execution assume POSIX paths

Open
#316 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
43
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Summary

Running a MEDS-DEV dataset integration test from native Windows PowerShell
fails during the demo dataset fixture, before the dataset test itself executes.

There appear to be at least two independent Windows incompatibilities:

  1. The generated virtual environment Python is checked without the .exe
    extension.
  2. Dataset commands are always written to a Bash script and invoked using a
    native Windows path that Bash cannot interpret.

I'm fine with the idea of native Windows (without WSL) being not supported, in that case we should just mention it somewhere.

Environment

  • MEDS-DEV branch: dev
  • MEDS-DEV commit: b9c09e7
  • Operating system: Windows, native PowerShell
  • Python: CPython 3.12.13
  • Test dataset: MIMIC-IV demo

Reproduction

uv run pytest -v -s -m integration `
  --test_dataset=MIMIC-IV `
  tests/test_0_datasets.py

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reproduced PowerShell command for tests/test_0_datasets.py and trace the demo dataset fixture before the dataset test executes. Inspect how the generated virtual environment Python and dataset commands are checked or invoked; done means the integration test reaches the dataset test on native Windows, or native Windows support is explicitly documented as unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.