39 Commits

Author SHA1 Message Date
jim wang
0a3bc3d255
[python3] Fix distutils path (#30822)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-26 11:51:50 -07:00
Robert Coup
d2b8d93276
python3: libcrypt doesn't need to be a dependency of libpython (#28887)
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).
2023-01-18 12:32:55 -08:00
autoantwort
4f43c4dfca
[python3] force disable curses (#28751) 2023-01-08 21:41:19 -08:00
autoantwort
94780282ac
[Python3] Revert "Python3 cross build support" (#28468)
This reverts commit 1937b15.
2022-12-27 00:57:08 -08:00
rinechran
1937b15357
[Python3] cross build support (#27830)
* [python3] Python3 cross support

* [python3] update python3 port versions

* [python3] : add option when cross build

* [python3] port-verionsing

* python3 : port-version to change 1

* [python3] versioning

* [python3] change baseline update

* [python3] git tree change

* [python3] port-version change

* [python] version 2
2022-12-15 11:49:36 -08:00
xiaozhuai, Weihang Ding
cb76ac9e92
[expat] Fix expat msvc link static crt (#27948)
* Fix expat msvc link static crt

* update port version
2022-11-23 10:12:44 -08:00
Adam Johnson
5599ae4ccf
[python3] Bump to 3.10.7 (#27558)
* [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.
2022-11-18 11:53:08 -08:00
Christoph Neuhauser
cd4fcc1a22
[python3] Fix compilation of built-in modules on older versions of GCC (#27201) 2022-10-14 16:14:12 -07:00
sssooonnnggg
bc582aaa6f
[python3] build python3.dll for stable ABI (#26935) 2022-09-28 09:39:59 -07:00
Osyotr
e2213266cd
[python3] x64-linux-dynamic fixes (#25995)
* [python3] x64-linux-dynamic fixes

* Fix custom post-build checks

* Clarify comment.

Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-08-04 13:49:06 -07:00
Kai Pastor
4e7bcf7a99
[python3] Fix wrapper, mark mingw unsupported (#25699)
* Fix python3 wrapper

* python3 is unsupported on mingw

* Update versions
2022-07-12 11:08:50 -07:00
Adam Johnson
c266859544
[python3] Update to 3.10.5. (#25105)
* [python3] Update to current

* update versions to current

* [vfap] update python3 to current

* update vcpkgTools.xml
2022-06-17 14:15:56 -07:00
Robert Schumacher
f78f4440df
[python3] Do not ensurepip. Provide venv instructions. (#24906)
* [python3] Bootstrap pip with ${CURRENT_INSTALLED_DIR}

* [python3] Disable ensurepip -- add venv usage instructions

Co-authored-by: Max Khon <fjoe@samodelkin.net>
2022-05-31 16:20:33 -07:00
Alexander Neumann
965961552d
[baseline] [python3] fix bz2(d) search on linux (#23525)
* fix python3 ci?

* add bz2d patch

* fix extra spaces

* version stuff
2022-03-14 01:09:48 -07:00
Adam Johnson
89ed56ebab
[python3] Update to Python 3.10.2. (#23156)
* [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>
2022-03-11 11:36:11 -08:00
Jack·Boos·Yu
293faeebb1
[python3] Remove static libraries belonging to python3 executable (#23318)
* [python3] Remove static libraries belonging to python3 executable

* version

* Apply suggestions

* version
2022-03-02 15:00:38 -08:00
Kai Pastor
0707a17ecf
[liblzma] No debug postfix. Rewrite wrapper. (#22856)
* Restore upstream's DLL name

* Don't add debug postfix

* Decouple wrapper from config

* Don't inject Find module stuff into config

* Cleanup

* [skip actions] Trim lzmad and LibLZMA patching

* [skip actions] Fix CMAKE_DISABLE_FIND_PACKAGE_LibLZMA

* [skip actions] CI

* Update manifests

* Update versions

* Backfill LibLZMA::LibLZMA to CMake < 3.14

* Update versions

* Update versions
2022-02-28 10:25:31 -08:00
Max Khon
19712ff43a
[python3] Fix pkgconfig for debug Linux builds (#22529) 2022-02-07 21:58:30 -08:00
Robert Schumacher
c0d667ad6b
[python3][python2] Use MKDIR_P to create directories to avoid race conditions (#22902)
* [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 a515872b1abf58b639bf8b15ab5fe23b62f25ac3.

# Conflicts:
#	ports/python3/vcpkg.json
#	versions/baseline.json
#	versions/p-/python3.json

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-02-04 01:17:37 -08:00
Max Khon
c662463c24
[python3] Install pkg-config files on Windows platforms (#22198) 2022-01-03 14:24:11 -08:00
Adam Johnson
6dbe00f6c4
[python3] Fix feature deprecated-win7-support. (#22090)
* [python3] Fix deprecated-win7-support patch.

* x-add-version
2021-12-20 11:33:29 -05:00
NancyLi1013
4b35e71e92
[python3] Support arm (#21528)
* [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>
2021-12-16 22:20:11 -08:00
David Federman
48bba4f9c3
[python3] Fix SHA512 hash for v3.10.1 (#21979) 2021-12-10 20:48:52 -08:00
David Federman
ec316f8fac
[python3] Update to 3.10.1 (#21927) 2021-12-10 13:58:11 -08:00
Christoph Neuhauser
df9052e29f
[python3] Restrict string replacement to used build type (#21799) 2021-12-02 19:51:47 -08:00
Kai Pastor
a515872b1a
[vcpkg baseline][python3] Fix race during parallel install (#21734)
* Fix race in parallel install

* Update versions
2021-11-29 10:05:12 -08:00
Christian Rendina
56136f5f02
Python 3.10: fix deprecated win7 support patch (#21236)
* [PYTHON] Update windows7 patch

* [VCPKG] Updated version
2021-11-12 16:39:48 -08:00
autoantwort
d9b47f3626
[python3] no absolute paths (#21144) 2021-11-09 11:45:15 -08:00
Adam Johnson
15dab6a762
[python3] Upgrade to Python 3.10.0 (#20519)
* [python3] Update to Python 3.10.0rc2 (for testing).

* [python3] Revert trivial patch changes.

* [python3] Bump to 3.10.0 final.

* x-add-version

* update python tools to 3.10.0

* [ecm] Add patch from upstream for Python 3.10.

Remove this on the next release.

* x-add-version

* [python3] Add patch to fix static interpreter.

* x-add-version
2021-10-06 12:53:06 -07:00
Kai Pastor
2ed5383f7b
[vcpkg_configure_make] Standardize OPTIONS list item handling (#19540)
* Remove unused EXTRA_QUOTES

* Uniformly invoke 'configure'

* [libtasn1] Fix mingw build

* Unify prefix handling

* Revise install dir processing

* x-add-version

* Force libdir to lib (adopted from #19666)

* [skip actions] CI rebuild

* CR request: Put backslash before shell var

* CR request: Use vcpkg_list

* Update versions

* Fix python3 options

* Update versions

* Bump python port-version.

* CR request: Add comment about backslashes before prefix

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-30 23:58:36 -07:00
Adam Johnson
f819f66b4c
[python3] Add patch to fix Windows 11 SDK build failure. (#20292)
* [python3] Remove spurious dependencies.

* [python3] Add workaround for SDK 10.0.22000.0

* x-add-version
2021-09-29 09:00:21 -07:00
JonLiu1993
35312384e7
[Python3] update to 3.9.7 (#19851)
* [Python3] update to 3.9.7

* update version

* update vcpkg tool python3 to 3.9.7

* update hash to lowercase

* update portifile.cmake

* update version
2021-09-13 20:00:44 -07:00
Adam Johnson
a66098ad1a
[python3] Update to 3.9.6 (#18754)
* [python3] Bump to 3.9.6

* x-add-version

* Update all tools to Python 3.9.6.
2021-07-13 13:13:06 -07:00
Ankur Verma
bb002cdd1a
[python3] Fix python3:x64-linux builds (#18405)
* Fix build

* Update vcpkg.json

* Fix build

Co-authored-by: Ankur Verma <ankurv@microsoft.com>
Co-authored-by: Ankur Verma <ankurv@nuc.hogwarts>
2021-06-25 14:46:56 -07:00
Christian Rendina
9d7244f2f6
[python3] Update to 3.9.5 (#17773)
* [python3] update to 3.9.5

* [vcpkg] update baseline

* [scripts] update to py 3.9.5
2021-05-26 15:09:28 -07:00
Robert Schumacher
4f942e1b11
[python3] Disable registry access to determine WinSDK (#17579)
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-04-29 13:30:24 -07:00
Adam Johnson
aaa6a031ce
[python3] Add feature deprecated-win7-support. (#16420)
* [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>
2021-03-29 10:09:14 -07:00
Adam Johnson
0daf0111b2
[python3] upgrade to 3.9.2 (#16315)
* [python3] Update to 3.9.2.

* x-add-version
2021-02-24 14:01:02 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00