classification
Title: Unable to compile with message compiler due to source order
Type: Stage: resolved
Components: Distutils Versions: Python 3.10, Python 3.9
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: chrisburr, dstufft, eric.araujo, steve.dower
Priority: normal Keywords:

Created on 2020-10-12 06:25 by chrisburr, last changed 2021-02-03 18:05 by steve.dower. This issue is now closed.

Messages (2)
msg378471 - (view) Author: Chris Burr (chrisburr) * Date: 2020-10-12 06:25
Since bpo-36302 was implemented, extension sources are now sorted for reproducibility. This is causing an issue in pywin32 as the *.mc files must be processed first to ensure the *.h files are generated before trying to compile the actual sources. I'm not very familiar with Windows but there are more details in: https://github.com/mhammond/pywin32/issues/1590

As suggested in the issue, the solution is probably to modify msvccompiler.py to process the .rc and .mc files before any C/C++ sources.
msg386249 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:05
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date User Action Args
2021-02-03 18:05:50steve.dowersetstatus: open -> closed

nosy: + steve.dower
messages: + msg386249

resolution: out of date
stage: resolved
2020-10-12 06:25:42chrisburrcreate