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.

Using the MSYS2 tools to build conda packages

See original GitHub issue

@mingwandroid has done an amazing job of packaging MSYS2 so that is works within conda. See his channel here. Also, see his comment about the work he has done and what still remains for more details.

Given how this greatly reduces the gap between Windows and the *NIXes, this makes Windows packaging very accessible to *NIX devs. This should not be undervalued as it has the potential to really increase our bandwidth on Windows by basically the size of our community. Packages that couldn’t be built due to CMake files missing or other problems also dissolve away. This has the potential to substantially reduce the effort required to get a package working on all platforms, which makes us more likely to do exactly that.

Also, it has the potential to free this quite painful constraint of compiler and CPython version. That has raised such issues as making custom patched versions of CPython ( https://github.com/conda-forge/conda-forge.github.io/issues/64 ) just to have C++11 features when using Python 2.7. Further this can free us from thinking about VC features entirely, which have had various issues.

It is honestly making me seriously considering switching to MSYS2 with everything.

Would be very curious to hear perspectives from a wide range of people on this. Please feel free to share your thoughts and also bring other people over that I have missed. I have put this on our docket for next weeks meeting.

cc @ocefpaf @pelson @ChrisBarker-NOAA @patricksnape @gillins @msarahan @mcg1969 @isuruf @ngoldbaum @ukoethe @jasongrout @SylvainCorlay

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:51 (30 by maintainers)

github_iconTop GitHub Comments

2reactions
ukoethecommented, Apr 28, 2016

@njsmith

unfortunately, a Python distribution for Windows that can neither build nor use pypi wheels is unlikely to see much uptake

I don’t think so. If you want to do serious scientific computing in Windows, pypi is just not good enough, and I’m skeptical that its design can be fixed. conda is the only package manager on Windows whose approach is sufficiently powerful to make this work (although it’s still quite a way to go). If conda lives up to our expectations, I believe it will replace pypi on Windows entirely. So, let’s make conda and conda-forge as good as possible and not constrain ourselves by upstream’s prejudice.

2reactions
mingwandroidcommented, Apr 19, 2016

I expect to add all of the build tools as a matter of priority. So far only those needed for R have been added.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating Packages - MSYS2
Creating Packages. The MSYS2 software distribution uses a port of Pacman (known from Arch Linux) to safely install, remove and update binary packages...
Read more >
Anaconda compiler tools — conda-build 3.21.7+0.gb98d7ec0 ...
This page describes how to use these tools and enable these benefits. Compiler packages¶. Before Anaconda 5.0, compilers were installed using system tools...
Read more >
Package repository for msys2 - :: Anaconda.org
Package Name Access Updated m2w64‑libxml2 public 2020‑04‑17 m2‑base public 2019‑04‑01 m2w64‑ca‑certificates public 2019‑03‑01
Read more >
msys2 - Anaconda repo
Package Latest Version License win‑64 autoconf 2.69 GPL, X binutils 2.25.1 GPL X bwidget 1.9.10 BSD X
Read more >
conda/conda-build - Gitter
@mingwandroid Do you know if the msys2 conda packages will sync with the msys2 project again anytime soon? Also general question for the...
Read more >

github_iconTop Related Medium Post

No results found

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