Skip to content

Investigate replacements for Python.net on Windows #4204

Description

@freakboy3742

What is the problem or limitation you are having?

5 months after the release of Python 3.14, we don't have a Python.net release that supports that version. This is an annual concern; Python.net releases always lag Python releases by up to months.

Python.net is used because it gives access to Winforms; however the Winforms API has a number of notable gaps - adding icons to Tables has proven complicated (#4164); multi-column Trees and DetailLists are equally complicated.

It's not clear if Winforms is the right API with which to build a modern Windows GUI library.

Describe the solution you'd like

We need to find either:

  1. A viable way to resource/assist with Python.net so that support for new Python releases doesn't lag
  2. A path to making the Win32 backend viable (including, but not limited to, finding sources of information on how to build widgets, and how to simplify the developer experience). We have historically published a win32 backend - we may need to resurrect it.
  3. A path to using some other GUI layer, such as WinUI3 layer (Add a WinUI3 backend #2574).

At this stage, an investigation of options is required.

Describe alternatives you've considered

Stick with Winforms and Python.net. For all the flaws, it works...

Additional context

#884 was a past manifestation of this problem. At the time, we decided to keep with Python.net; but the distribution lag and the edge cases in widget development haven't improved with time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.windowsThe issue relates to Microsoft Windows support.

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions