question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Thanks for open sourcing this library. I was quite excited to take it for a spin, only to get an error “no module named ‘fcntl’”, and learning through #10, #23 and #46 that Windows is not supported, and there are no active plans for Windows support.

That is of course fine, but I have a few related questions.

  • I see #10 has a wontfix and #46 has a help wanted label. That begs the question; would you be open to accepting contributions that add Windows support?

  • Do you know what the major technical obstacles to Windows support are?

  • Just now I see on the Installing Metaflow page “Metaflow is available as a Python package for MacOS and Linux.” Perhaps if it was followed by a more explicit “Windows is not supported.”, fewer people would miss this.

  • Would it be suitable to place this on the roadmap, perhaps stating that there are no Netflix plans but outside contributions are welcome?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:13
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
savingoyalcommented, Dec 16, 2019

@visr, thanks for opening the issue -

  • Windows support would be a complex undertaking (given our liberal use of multiprocessing for starters). We are definitely open to contributions and a good way to kick start the conversation would be to do a POC.
  • We are updating our contributing guidelines to reflect this. Expect some progress on that front in the next couple of days.
3reactions
pombredannecommented, Jan 28, 2020

@savingoyal re:

Windows support would be a complex undertaking (given our liberal use of multiprocessing for starters). We are definitely open to contributions and a good way to kick start the conversation would be to do a POC.

FWIW, all data scientists may not be running a *nix Linux or mac. Having official support for Windows would be a big plus. I wish I could coerce them though but that’s a dream. (And FWIW, WSL or Cygwin are their own can of frankenstein worms)

Multiprocessing may not be the main issue IMHO but rather:

  1. keeping Python 2 and 3 compatibility is going to be a major pain on Windows

  2. using signals such as here https://github.com/Netflix/metaflow/blob/c2f70c73782549fdce6c418410ecd9b305199b28/metaflow/plugins/timeout_decorator.py

  3. possibly some assumptions about calling some functions and file system semantics that do not apply or are not available on Windows

For 2. Windows is a pain but I have some POSIX/windows utilities that have been battle tested for timeouts here https://github.com/nexB/scancode-toolkit/blob/develop/src/scancode/interrupt.py

For 1. we did that in https://github.com/nexB/scancode-toolkit and I would never do it again which would mean to support Python 3 for Windows. Anything else is a sure way to destroy grey matter very quickly 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft Support
Microsoft support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft 365, Windows, Surface, and more....
Read more >
Contact - Microsoft Support
Contact Microsoft Support. Find solutions to common problems, or get help from a support agent.
Read more >
Microsoft Community
Welcome to the Microsoft Support Community. Need help? We've got answers! Search, browse, or ask a question. Choose where you want to search...
Read more >
End of support for Windows 7 and Windows 8.1 - Microsoft
After January 10, 2023, Microsoft will no longer provide security updates or technical support for Windows 8.1. You might be able to upgrade...
Read more >
Windows 10 Home and Pro - Microsoft Lifecycle
Microsoft will continue to support at least one Windows 10 release until October 14, 2025. Support dates are shown in the Pacific Time...
Read more >

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found