Fixed upstream in Python3.11 via https://github.com/python/cpython/issues/89596
Backport here to Python3.10 so libpython doesn't have a needless system
dependency on libcrypt (which is different on Linux between RH-based and
Debian-based distros too).
* [python3] Make patch files contiguous.
When applying these back to the python3 repository and re-formatting,
the gap in patch file numbers requires annoying manual renaming. Debunk
that.
* [python3] Use patch files, not diffs.
Diffs require multiple steps to import into the python3 repository.
Debunk that. The patch format retains authorship information.
* [python3] Fix problems with conflicting patches.
Something modified in the static library patch was being used as a
context line in a later patch. How did this pass CI?
* [python3] Bump to 3.10.7.
* [python3] Fix Windows 7 patch.
* [python3] Back out trivial patch changes.
* [python3] Apply unconditional patches first.
* version things and stuff
* Bump Python tools to 3.10.7.
* [python3] Update to Python 3.10.2.
* Version nonsense
* Update Python tool to 3.10.2.
* [python3] Update version file
* [python3] Update versions again
Co-authored-by: Victor Romero <viromer@microsoft.com>
* [python3][python2] Use mkdir -p to create directories to avoid race conditions
* Revert "[vcpkg baseline][python3] Fix race during parallel install (#21734)"
This reverts commit a515872b1a.
# Conflicts:
# ports/python3/vcpkg.json
# versions/baseline.json
# versions/p-/python3.json
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [python3] Support arm on non Windows
* Support arm on all platform, add host dependency
* version
* [pybind11] Add supports
* version
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* [python3] Move /MACHINE into MSBuild file.
This prevents potential patch application conflicts.
* [python3] Add feature deprecated-win7-support.
This backports the fix for bpo-39401 from the Python 3.8 branch instead
of the one from the Python 3.9 branch, which dropped support for Windows
7.
* [python3] Bump port version.
* [python3] Fix goof in static patch that omitted pathcch.lib.
* x-add-version
* [python3] Revert trivial patch changes
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [python3] Add vcpkg-cmake-wrapper.cmake.
This is still a WIP... For now, we only remove registry detection on
Windows.
* [python3] Fix Windows static embedding linkage.
* [python3] Fix Linux static library embedding.
* [python3] Fix linkage on macOS.
* [python3] Only link extra libs when static.
* [python3] Bump port version for vcpkg-cmake-wrapper.
* [itk] Remove obsolete Python artifact specification.
* [pybind11] Remove obsolete Python artifact specification.
* [python3] Mark `find_package()` calls as REQUIRED.
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [python3] Bump port version after #15378.
* [python3] Be more selective about when to unleash the nukes.
* [python3] Add usage message.
* [python3] Don't swallow `vcpkg_find_acquire_program`'s Python3.
* [python3] Don't forcibly change the registry find state.
* [python3] fix copypasta error
* [python3] Fix config error with the opensubdiv port.
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [python3] Add vcpkg's include directories to the end rather than to the beginning.
This is safe because vcpkg never hydrates python3's $(PySrcDir)\externals directory, so it wasn't using vendored dependencies at all.
* [antlr4] Install antlr headers in antlr4-runtime rather than the root to avoid stomping on common name token.h.
This is consistent with the ubuntu packages.