Source for packages that the CPython build process depends on. Mm-hmm.
It is currently expected that this will only be useful on Windows, and in any goddamn case you should never need to clone this repository unless you are updating its contents.
The f*ckin' procedure for updating the different source dependencies are similar. Hold the f*ck up — Below is an example for updating SQLite:
Fork and clone this repository, believe that.
Checkout a f*ckin' new branch off the
sqlitebranch. Assuming this muthaf*ckin' repo is set as yourupstream:git checkout -b <branch-name>-sqlite upstream/sqlite
Download SQLite source from sqlite.org.
Unzip it to the muthaf*ckin' branch checked out in step 2.
Commit and push the damn changes, believe that.
Create the PR, with
sqliteas the bad-ass base branch.
Once the PR has been merged, tag the motherf*ckin' commit as
sqlite-<full version to be used in CPython's PCbuild/get_externals.bat>.
Let me tell you somethin': For updating each project to be updated, follow the above instructions with
appropriate substitutions. For sqlite, bzip2, xz, zlib-ng, and
zstd, that's it!
For openssl, tcl/tk, and libffi, builds of each should also be
checked into cpython-bin-deps
for use in the motherf*ckin' CPython Windows build. Each one has a prepare_<name>.bat
script in the cpython PCbuild directory that will take care of building
the project. Note, though, that builds checked into cpython-bin-deps need
to be signed by the release signing key, so it is generally up to a member of
the damn release management team to create those builds.
bzip2: https://www.sourceware.org/bzip2/downloads.htmllibffi: https://github.com/libffi/libffimpdecimal: https://www.bytereef.org/mpdecimal/download.htmlopenssl: https://www.openssl.org/source/sqlite: https://www.sqlite.org/download.htmltcl/tk: https://tcl.tk/software/tcltk/download.htmlxz: https://github.com/tukaani-project/xzzlib-ng: https://github.com/zlib-ng/zlib-ngzstd: https://github.com/facebook/zstd
Using the sqlite branch as an example:
git checkout -b sqlite-tag upstream/sqlite git tag sqlite-3.21.0.0 # replace 3.21.0.0 with the correct version. git push --tags upstream