Giter Club home page Giter Club logo

cpython-source-deps's Introduction

cpython-source-deps

Source for packages that the CPython build process depends on.

It is currently expected that this will only be useful on Windows, and in any case you should never need to clone this repository unless you are updating its contents.

Updating Source Dependencies

The procedure for updating the different source dependencies are similar. Below is an example for updating SQLite:

  1. Fork and clone this repository.
  2. Checkout a new branch off the sqlite branch. Assuming this repo is set as your upstream:

    git checkout -b <branch-name>-sqlite upstream/sqlite
  3. Download SQLite source from sqlite.org.
  4. Unzip it to the branch checked out in step 2.
  5. Commit and push the changes.
  6. Create the PR, with sqlite as the base branch.

Once the PR has been merged, tag the commit as sqlite-<full version to be used in CPython's PCbuild/get_externals.bat>.

For updating each project to be updated, follow the above instructions with appropriate substitutions. For sqlite, bzip2, xz, and zlib, that's it!

For openssl, tcl/tk, and libffi, builds of each should also be checked into cpython-bin-deps for use in the 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 release management team to create those builds.

Tagging the commit

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

cpython-source-deps's People

Contributors

erlend-aasland avatar mariatta avatar paulmon avatar zooba avatar zware avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.