Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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 a515872b1a.

# 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
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
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
Adam Johnson
378ffbb940
[python3] Add vcpkg-cmake-wrapper. (#15221)
* [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>
2021-01-05 13:39:53 -08:00
Adam Johnson
bdb225bc68
[python3] Build interpreter (#14891) 2020-12-18 12:00:45 -08:00
Adam Johnson
46068e8a37
[python3] Upgrade to 3.9.0 (#14510)
* [python3] Bump to 3.8.6.

* [python3] Bump to 3.9.0.

* [itk] Correct python artifact names.

* [pybind11] Update python artifact names.

* [vcpkg_find_acquire_program] Bump PYTHON3 to 3.9.0.
2020-11-20 09:44:51 -08:00
Jack·Boos·Yu
ae562b7841
[python3] Fix installation on OpenSUSE (#13274) 2020-09-04 22:23:57 -07:00
Adam Johnson
e1783c68c4
[python3] Update to Python 3.8 (#11708)
* [python3] Update to Python 3.8.3.

[vtk] Update to Python 3.8 and fix improper Python3 artifact
specification.

* [python3] Fix static linking, broken in 121faf2.

* [hyperscan] Add missing build dependency (fixes CI on macOS).
2020-06-11 22:23:26 -07:00
NancyLi1013
4c1db6840f
[python3] Fix dynamic build error on Linux (#11489)
* [python3] Fix dynamic build error on Linux

* Update baseline to resolve the regression
2020-05-21 11:39:48 -07:00
Stefano Sinigardi
614ac279da
[python3] fix build on macOS and linux (#10841)
* [python3] fix build on macOS and linux

* update ci baseline
2020-04-16 11:57:59 -07:00
MACHIZAUD Andréa
e48fe56787
[python3] Modernize port + added --enable-shared (#9978) 2020-03-10 12:25:18 -07:00
xabbudm
e3dfd4a9fa [VCPKG] WinHTTPOption for company Proxy not correctly taken into account (#9372)
* fixes to get vcpkg up and running when behind corporate proxy

* clean up of code to check if HTTP_PROXY environment variable is set

*  fixed compiler errors for non win32 systems

* [vcpkg] Simplify HTTPS_PROXY code for WinHTTP

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-16 13:56:28 -08:00
heydojo
d02bfe065d Prevent python3 build failure (#9014)
* Prevent python3 build failure

If VCPKG_BUILD_TYPE release is set inside a
triplet, then the build will fail because
the port file attempts to deal with debug
files which will never exist. The changes
in this patch allow the build to succeed
if VCPKG_BUILD_TYPE release is stipulated
using a triplet before a build of the
python3 port is initiated.

* python3 version bump

Port clean up and version number
bump.

* libxslt release triplet build fix

This patch fixes a condition where
if a debug build is disabled via
triplet, the build fails and an
empty directory error message
is sent to the console.
2019-11-18 14:04:25 -08:00
Long Huan
fe3e544fa5 [python3]make python3 support unix (#8055)
* support unix

* Update portfile.cmake

call vcpkg_execute_build_process instead of vcpkg_execute_required_process
2019-09-29 18:58:00 -07:00
yurybura
121faf2ee2 [python3] Update to v3.7.3 2019-03-26 16:09:04 +03:00
Bobby Martin
aa09555991 [hyperscan] New port (#5285)
* add support for building hyperscan

* patch hyperscan to work with latest boost

* correct hyperscan source dir name

* speed the build by depending on only the parts of boost we actually need

* make python3 support release-only builds

* upgrade to hyperscan 5.1.0

* remove redundant disambiguate patch

* Add comments about how to build

* restore original x64-windows-static.cmake

* [hyperscan] Check linkage

* [python3] Allow DLLs without LIBs

* [hyperscan] Only static library

* [python3] Revert changes that cause regression in boost-python

* [python3] Revert changes that cause regression in boost-python
2019-02-06 17:21:23 -08:00
Robert Schumacher
660745956a [boost][python3] Fix building with VS 2019 2019-01-30 14:27:10 -08:00
Miodrag Milanović
1459dbfa51 Fix for python3 compile, fixes issue 3715 (#3827)
* Fix for python3 compile, fixes issue 3715

* [python3] Use PATCHES of vcpkg_from_github
2018-07-03 00:59:02 -07:00
Alexander Karatarakis
5ab4a6f673 [python3] Fix folder handling 2018-04-26 18:17:01 -07:00
Daniel Strommen
56560864e9 Include windows.h before including consoleapi.h (#3050)
* Include windows.h before including consoleapi.h

Issue: cpython fails to build against Windows Insider Preview SDK 17115

Root Cause: Failure to include windows.h before other Windows headers (consoleapi.h)

Solution: Include windows.h before consoleapi.h

If you don't include Windows.h before other Windows headers, then your code
is likely to break with new versions of the Windows Platform SDK, as headers
move around or new intraheader dependencies are added.  That is what happened
here.

* Remove redundant consoleapi.h

The documented header for all the console API's is windows.h,
which includes wincon.h which includes consoleapi.h.  Consoleapi.h
used to also include windows.h, but this caused a circular dependency.
So, adjusting this to only include windows.h and omit the consoleapi.h
which is redundant.

* [python3] formatting
2018-03-18 04:31:30 -07:00
Albert Ziegenhagel
23962328a4 [python3] Update to 3.6.4 2018-01-04 17:55:01 +01:00
Martin Müller
683d8a8820 Add warning for unsupported linkage combination
Don't remove source directories
Install Python's standard library
2017-05-20 10:58:30 +02:00
Martin Müller
aea0653a8b Add port for Python 3 2017-05-19 23:31:04 +02:00