GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Can't build with .NET Framework 4.6.1 support on Windows x86-64 · Issue #2715 · pythonnet/pythonnet

Can't build with .NET Framework 4.6.1 support on Windows x86-64 #2715

New issue
Copy link
New issue
Copy link
Closed
Closed
Can't build with .NET Framework 4.6.1 support on Windows x86-64#2715
Copy link

Description

@Metadorius
Metadorius
opened on May 5, 2026
Issue body actions

followup on #2701: after @filmor's changes to ship .NET Framework 4.6.1 only on Windows, I am now getting this when trying to build:

      Built pythonnet @ git+https://github.com/pythonnet/pythonnet@023838701dae2a24a5c39e4594eb76c7cd8ba365
  × Failed to download and build `pythonnet @
  │ git+https://github.com/pythonnet/pythonnet@023838701dae2a24a5c39e4594eb76c7cd8ba365`
  ╰─▶ The built wheel `pythonnet-3.1.0rc0-py3-none-win32.whl` is not compatible with the current Python 3.13 on
      windows x86_64

Relevant parts of pyproject.toml:

[project]
requires-python = ">= 3.13"
dependencies = [
    "clr-loader; sys_platform == 'win32'",
    "pythonnet; sys_platform == 'win32'",
]

[tool.uv]
# TODO: remove this once pythonnet/clr-loader are switched back to wheels, or caching is set up properly for the packages
reinstall-package = ["clr-loader", "pythonnet"]
# net46-support build flag required for pythonnet's .NET 4.6.1 target (mirrors: uv build --wheel -C="--global-option=--net46-support")
config-settings-package = {pythonnet = {"--global-option" = "--net46-support"}}

[tool.uv.sources]
# TODO: remove those two from [tool.uv] when switched back to wheels
pythonnet = { git = "https://github.com/pythonnet/pythonnet", rev = "023838701dae2a24a5c39e4594eb76c7cd8ba365" }
clr-loader = { git = "https://github.com/pythonnet/clr-loader", rev = "b9497f6bf2544ae103caae3b8d4a8786c53ba4e4" }

I am on Windows x86-64. I wasn't getting this issue when the support was added unconditionally.

Activity

  1. Metadorius
    changed the title [-]Can't build with .NET Framework 4.6.1 support[/-] [+]Can't build with .NET Framework 4.6.1 support on Windows x86-64[/+] on May 5, 2026
  2. filmor commented on May 6, 2026

    @filmor
    filmor
    on May 6, 2026
    Member
    More actions

    #2716 should fix this, could you try? The Python docs where a bit unclear about this.

    Reacted by Kerbiter
  3. Metadorius commented on May 6, 2026

    @Metadorius
    Metadorius
    on May 6, 2026
    ContributorAuthor
    More actions

    fixed by 4e61c18

  4. Metadorius
    closed this as completedon May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.