-
Notifications
You must be signed in to change notification settings - Fork 87
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
enable SLiM on Windows #1342
base: main
Are you sure you want to change the base?
enable SLiM on Windows #1342
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1342 +/- ##
==========================================
- Coverage 99.85% 99.77% -0.08%
==========================================
Files 117 117
Lines 4032 4037 +5
Branches 566 565 -1
==========================================
+ Hits 4026 4028 +2
- Misses 3 5 +2
- Partials 3 4 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
89c161b
to
ba2aac0
Compare
There seems to be some issues with TemporaryDirectory in python 3.7 on Windows: https://bugs.python.org/issue26660 ... so, perhaps we will not support that combination? |
68f3571
to
c0fd3b6
Compare
Hmph, I'm getting inscrutible
errors. Maybe someone can have a go at this on an actual windows box? |
Looks like to get this totally working we'll need to fix MesserLab/SLiM#349 and build SLiM from source until a release happens. |
Ben has commited a fix to MesserLab/SLiM#349; so we can now either build SLiM from source to run these tests or (this is my vote) wait for a release to enable this testing. |
Tagging @andrewkern |
However, @bhaller says it'd be nice to test SLiM on windows this way, so perhaps we should get this going? |
Mostly it'd be good to make sure no further Windows problems will bite stdpopsim after SLiM 4.0.1 rolls. It's infinitely easier to fix issues before rolling than to do a new roll just to fix an issue found post-roll. :-> I don't want to do a 4.0.2 unless the sky is falling. :-> |
i think we can build slim on windows simply enough like we do over on |
Yeah, we used to build SLiM from sources in CI so this should be easy enough. |
SLiM builds itself on Windows in its GitHub Actions workflow, so you can look there if you hit any bumps in the road: https://github.com/MesserLab/SLiM/blob/master/.github/workflows/tests.yml |
I've restarted the tests because SLiM 4.0.1 is released, so that should fix the logflie problem. |
Still failed; looks like slim 4.0 might be hard-coded somewhere, @petrelharp?
4.0.1 is available on conda and should fix this problem. |
Once #1343 is in this should be fixed ? |
c0fd3b6
to
35880b5
Compare
Hopefully I rebased this correctly - need to double-check some of those tests that maybe got removed. |
d30116d
to
5dc0c4f
Compare
use tempdir, closes popsim-consortium#427 . temp file names better context handling extra level of escaping in eidos escape logfile cache bump .
5dc0c4f
to
222f0a8
Compare
Well, darn, I was hoping this was All Fixed, but it appears to not be fixed yet. I can't jump on this just now, but if anyone else is itching to do it, go for it (or remind me in a few weeks?) |
For future reference, we're getting errors on Windows like:
... but also
|
I'm having a start at #1305 here.