Skip to content

python3.14t -m pip install pypiwin32 fails - #1

Open
cclauss wants to merge 1 commit into
Googulator:masterfrom
cclauss:patch-2
Open

python3.14t -m pip install pypiwin32 fails#1
cclauss wants to merge 1 commit into
Googulator:masterfrom
cclauss:patch-2

Conversation

@cclauss

@cclauss cclauss commented Oct 27, 2025

Copy link
Copy Markdown

% 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
Copy Markdown
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

cclauss commented Oct 28, 2025

Copy link
Copy Markdown
Author

the regular pywin32 can now be installed using pip.

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

@Avasam

Avasam commented Oct 28, 2025

Copy link
Copy Markdown

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)

@cclauss

cclauss commented Nov 5, 2025

Copy link
Copy Markdown
Author

@Googulator can we please merge the Python syntax error changes to setup.py or archive this repository?

@glyph Can we please archive or update https://pypi.org/project/pypiwin32 ?

@glyph

glyph commented Nov 6, 2025

Copy link
Copy Markdown

@glyph Can we please archive or update https://pypi.org/project/pypiwin32 ?

@cclauss I'd love to, but I'd like to follow the recommended steps for archiving (doing a new release that makes it clear that no new versions are coming) before doing that. Given that there's not actually a repo for it that is a bit more tricky and annoying than usual.

@cclauss

cclauss commented Nov 6, 2025

Copy link
Copy Markdown
Author

Would it be possible to point to a https://github.com/mhammond/pywin32/releases and then archive?

@glyph

glyph commented Nov 6, 2025

Copy link
Copy Markdown

Would it be possible to point to a https://github.com/mhammond/pywin32/releases and then archive?

Sure. A simple matter of programming. If you have time for this right now I could add you as a maintainer on PyPI to do the upload?

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.

4 participants