Skip to content

Conversation

@cclauss
Copy link

@cclauss cclauss commented Oct 27, 2025

% uvx --with=pypiwin32 python3.14t

A GitHub Action to demonstrate pip install pypiwin32 on Windows on free-threaded Python 3.14t.

Test results: https://github.com/cclauss/pypiwin32/actions

run_setup
      exec(code, locals())
      ~~~~^^^^^^^^^^^^^^^^
    File "<string>", line 121
      print "Building pywin32", pywin32_version
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

setup.py

- print(("Building pywin32", pywin32_version))
+ print("Building pywin32", pywin32_version)

-             print(("Failed to open '%s': %s" % (ver_fname, why)))
+             print("Failed to open '%s': %s" % (ver_fname, why))

-             print(("Can't find an installed VC for the MFC DLLs:", exc))
+             print("Can't find an installed VC for the MFC DLLs:", exc)

-         print(('Installing data files to %s' % self.install_dir))
+         print('Installing data files to %s' % self.install_dir)

@cclauss cclauss changed the title python3.14t -m pip install pypiwin32 fails python3.14t -m pip install pypiwin32 fails Oct 27, 2025
A GitHub Action to demonstrate pip install pypiwin32 on Windows on free-threaded Python 3.14t.
* https://pypi.org/project/pypiwin32
@Googulator
Copy link
Owner

This version is basically obsolete, since the regular pywin32 can now be installed using pip.

I'm not the maintainer for the "pypiwin32" fork, and have no clue who it is, if any. This repository was created originally to host a bugfixed version we needed at my old employer.

@cclauss
Copy link
Author

cclauss commented Oct 28, 2025

the regular pywin32 can now be installed using pip.

Unfortunately, python3.14t -m pip install pywin32 fails.

@Avasam
Copy link

Avasam commented Oct 28, 2025

Unfortunately, python3.14t -m pip install pywin32 fails.

That's because pywin32 does not support free-threaded Python. See pinned issue there: mhammond/pywin32#2303 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants