Commit Graph

698 Commits

Author SHA1 Message Date
Benjamin Peterson e73b93ab3e
[2.7] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16408)
Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes..
(cherry picked from commit 52b9408038)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2019-09-25 21:49:04 -07:00
Steve Dower d8903416d2
bpo-38117: Updates bundled OpenSSL to 1.0.2t (GH-16178) 2019-09-16 13:07:40 +01:00
Victor Stinner 49032fa7e1
bpo-37396, PCbuild: Include "_d" in "Killing any running ..." message (GH-14370)
Add $(PyDebugExt) in "Killing any running python$(PyDebugExt).exe
instances...".
2019-06-25 13:37:16 +02:00
animalize 0fc14b3733 bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14182) 2019-06-24 16:27:03 -07:00
Steve Dower d8e3a8af77
bpo-34631: Updated OpenSSL to 1.0.2s in Windows installer (GH-14161) 2019-06-17 09:33:11 -07:00
Steve Dower bb89aa24cf
bpo-36245: Avoid problems when building in a directory containing spaces. (GH-12241) 2019-03-27 16:28:33 -07:00
Steve Dower 3c8bd22b8f
bpo-35401: Updates Windows build to OpenSSL 1.0.2q (GH-11089) 2018-12-10 20:26:33 -08:00
Victor Stinner 49cedc51a6
bpo-35359: Add _CRT_SECURE_NO_WARNINGS to pythoncore project (GH-10819)
Define _CRT_SECURE_NO_WARNINGS in the Visual Studio pythoncore
project to make quiet security warnings when building zlib C files
(Modules\zlib\ subdirectory).
2018-12-06 11:56:00 +01:00
Steve Dower e351fe241c [2.7] bpo-34405: Updated to OpenSSL 1.0.2p for Windows builds. (GH-8776) (GH-9202)
https://bugs.python.org/issue34405
2018-09-11 18:02:40 -07:00
Steve Dower bba2ba180d bpo-33148: Update Windows build to use OpenSSL 1.0.2o
closes https://github.com/python/cpython/pull/6474
2018-04-14 15:04:21 -07:00
Zachary Ware 4be7420d7c
[2.7] Add missing backslashes in PCbuild bat files (GH-5056) (GH-5058)
(cherry picked from commit fe90efdc07)
2017-12-30 18:34:46 -06:00
Zachary Ware be1faabeef
bpo-30855: Bump Tcl/Tk to 8.5.19 on Windows (GH-4550) 2017-11-26 11:55:46 -06:00
native-api c02307e963 bpo-31691: Specify how to build installer in Windows (#4430) 2017-11-16 16:28:42 -08:00
Zachary Ware 1911cf3dd2 [2.7] bpo-30450: Fall back on the old env.bat (GH-3443) 2017-09-08 11:21:06 -07:00
Zachary Ware 8905fb831c bpo-30450: Don't use where, XP doesn't have it (GH-3348)
Really this time!
2017-09-05 13:02:03 -07:00
Zachary Ware aa23144d15 Don't use `where`, it doesn't exist on XP (GH-3330) 2017-09-05 09:34:54 -07:00
Zachary Ware 986b7ffc65 [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN (GH-1783) (GH-3306)
The Windows build now depends on Python 3.6 to fetch externals, but it
will be downloaded via NuGet (which is downloaded via PowerShell) if it
is not available via `py -3.6`.  This means the only thing that must be
installed on a modern Windows box to do a full build of CPython with all
extensions is Visual Studio.

Cherry-picked from 51599e2bdd, parts of 40a23e8899, parts of 68d663cf85, d5cd21d75a, and possibly others that I've missed.

Also:

* Rename db -> bsddb for disambiguity

* Update sqlite3 to 3.14.2.0 since it's the version we use on 3.x, and it's simpler to just use it than to also upload the old version to cpython-source-deps

* Add PCbuild/*.ilk to .gitignore
2017-09-04 16:05:33 -07:00
Victor Stinner ec4ab09b7c bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3145)
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3

* Add NEWS entry

* Add new loadlibrary.c

* expat_external.h: restore include "pyexpatns.h"

* PCbuild: add expat/loadlibrary.c

* Define XML_POOR_ENTROPY to compile expat

Python 2.7 backport: add expat/loadlibrary.c to PC/VS9.0/ project
files (_elementtree and pyexpat).

(cherry picked from commit 93d0cb58b4)
2017-08-19 01:06:45 +02:00
Victor Stinner 693790817a PCbuild: downgrade pcbuild.sln to support VS 2010 (#3031)
bpo-31133: Downgrade PCbuild/pcbuild.sln from format version 12.00 to
11.00 to support Visual Studio 2010 and newer, not only VS 2013 and
newer.
2017-08-10 16:11:29 +02:00
Segev Finer d0ae4be443 bpo-30726: Add _CRT_SECURE_NO_WARNINGS to _elementtree and pyexpat projects (#2572) 2017-07-04 20:40:04 +02:00
Jeremy Kloth ab3b0ade50 bpo-29591: Update VS project files (#2310)
* Silence warnings caused by duplicated defines from Modules\expat\winconfig.h
* Add WIN32 define to VS9.0 project files to match MSBuild project files.
2017-06-21 21:14:53 +02:00
Jeremy Kloth ebbccea997 bpo-30368: Update build_ssl.py to restore Perl-less building (#1805)
* bpo-30368: Update build_ssl.py to restore Perl-less building

OpenSSL 1.0.2 releases changed how files are copied in the makefile,
thus causing Perl to be required even for Python's "prepared" OpenSSL.
Now build_ssl.py does the requisite copies before running nmake.

* bpo-30368: Update build_ssl.py to use prepared OpenSSL

* Updates SSL-linking projects to use the new include{suffix} directory
* build_ssl.py now only copies those files not handled by prepare_ssl.py

* * bpo-30368: Update build_ssl.py to use prepared OpenSSL

* Update SSL-linking projects to use the new include{suffix} directory

* Move comment to following line
2017-06-20 22:53:39 +02:00
Zachary Ware 5fe8ac69f9 [2.7] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2086)
Also updates checked-in line endings in several files.
2017-06-11 14:19:39 -05:00
Victor Stinner fd6c8bb89e bpo-27593: Revise git SCM build info. (#744) (#746) (#1392)
Use --short form of git hash.  Use output from "git describe" for tag.

Expected outputs:
1. previous hg
2. previous git
3. updated git

Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...

Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...

"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626ada7)
(cherry picked from commit ed512cba78)
2017-05-02 21:50:09 +02:00
INADA Naoki 6c6186da42 PCbuild: Add -q option to svn export (GH-539)
Without this option, AppVeyor log is too unreadable.
(cherry picked from commit 8886d5f392)
2017-03-07 17:29:29 +09:00
Steve Dower 6120484e46 bpo-27593: Updates Windows build to use information from git (#262) (#448)
* bpo-27593: Updates Windows build to use information from git (#262)

* bpo-27593: Updates Windows build to use information from git

* Fixes git command (#451)
2017-03-04 10:08:09 -08:00
Zachary Ware f9a6516117 bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-444) 2017-03-03 16:28:39 -06:00
Zachary Ware 8fb09ada55 Issue #28248: Update Windows build to use OpenSSL 1.0.2j 2016-10-10 21:57:04 -05:00
Steve Dower 527dc8af86 Issue #26132: Only adds manifest to executables and main DLL. 2016-09-09 11:05:46 -07:00
Zachary Ware 118eb656ab Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible 2016-09-05 12:54:08 -05:00
Zachary Ware 91a9c78c43 Issue #27407: Add prepare_ssl.py to 2.7 2016-09-05 11:55:42 -05:00
Zachary Ware c59a92b6f9 Issue #26930: Update Windows build to OpenSSL 1.0.2h 2016-06-15 17:12:38 -05:00
Steve Dower 2bf60cb020 Issue #19450: Update Windows builds to use SQLite 3.8.11.0. 2016-03-17 14:41:36 -07:00
Steve Dower b3fbbf4b35 Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. 2016-03-08 10:26:39 -08:00
Zachary Ware c46a2ebaff Issue #26268: Update Windows builds to use OpenSSL 1.0.2f 2016-02-22 04:08:30 -06:00
Zachary Ware dc63e9c676 Issue #25934: Default to /fp:strict for ICC builds 2016-01-29 19:06:00 -06:00
Steve Dower 4ffee6157a Issue #25824: Fixes sys.winver to not include any architecture suffix. 2016-01-16 13:41:48 -08:00
Zachary Ware a8dbd93619 Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat 2016-01-12 01:20:33 -06:00
Zachary Ware 5eaf58bfb4 Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Zachary Ware bc071655e8 Update PCbuild/readme.txt
It now better matches 3.5+ and the new reality of 2.7's PCbuild dir.
2015-09-08 01:04:01 -05:00
Zachary Ware eb49ccfdb7 Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
2015-09-04 01:08:07 -05:00
Zachary Ware 1db43f98d5 Issue #24986: Allow building Python without external libraries on Windows
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.

Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
2015-09-03 23:27:05 -05:00
Zachary Ware 7ab6cb44e4 Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 7 tests by name through
Tools\buildbot\test.bat
2015-09-03 23:37:18 -05:00
Zachary Ware a4ce943902 Turn 'rem' comments into a real usage message in PCbuild/build.bat
Also fixes quoting to match 3.5+
2015-09-02 13:21:19 -05:00
Zachary Ware 62a23383dd Set a default BasePlatformToolset to allow the ICC buildbot to build. 2015-07-28 00:00:47 -05:00
Zachary Ware 68773f3100 Issue #24603: Update Windows build to use OpenSSL 1.0.2d 2015-07-21 23:16:51 -05:00
Steve Dower 46d4ed195d Fixes OpenSSL directory reference 2015-07-18 21:47:51 -07:00
Zachary Ware 4734372aa0 Close #24508: Backport the 3.5 MSBuild project files.
The old project files move to PC/VS9.0 and remain supported.

VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Zachary Ware 10c997ae9c Close #23963: Fix building with original OpenSSL sources.
Backport of bcf93e3766e8.
2015-07-15 23:33:15 -05:00
Steve Dower 3dd3d7c620 Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:19:38 -07:00