spacetelescope / stpipe

https://stpipe.readthedocs.io
Other
3 stars 25 forks source link

Use of `os.uname` causes failures on windows #162

Closed braingram closed 2 months ago

braingram commented 2 months ago

os.uname does not exist on windows. It's usage in this package: https://github.com/spacetelescope/stpipe/blob/915a8326432254bd5d03ee67586bc94c79d74327/src/stpipe/cmdline.py#L350-L351 causes failures on windows: https://github.com/spacetelescope/stpipe/actions/runs/9637434273/job/26576657996#step:10:400

Some clarification on if we support windows (romancal and jwst do not) would be helpful. If we do support windows we'll need a replacement for os.uname. If we do not support windows we could disable the windows tests.