GithubHelp home page GithubHelp logo

fagan2888 / heroku-buildpack-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plotly/heroku-buildpack-python

0.0 0.0 0.0 57.71 MB

License: MIT License

Dockerfile 1.13% Ruby 2.81% Makefile 2.10% Shell 93.96%

heroku-buildpack-python's Introduction

python

Heroku Buildpack: Python

This is a fork of https://github.com/heroku/heroku-buildpack-python/ maintained by Plotly, and includes the following changes:

  • Better support for airgap (fully offline) builds
  • Improved debugging on build / deployment
  • Links to DDS docs instead of to Heroku

Changelog

Please update the changelog with all updates made to our fork of the upstream buildpack. This helps maintain a list of behaviour that we are looking to preserve should the need to resolve any conflicts with upstream arises.

Tests

The buildpack tests use Docker to simulate Heroku's stack images.

To run the test suite:

make test

Or to test in a particular stack:

make test-heroku-18
make test-heroku-16

The tests are run via the vendored shunit2 test framework.

Releasing

To create a release:

  • Create a tag, of the form 3.1.0b1, where 3.1.0 is the On-Prem release we're currently working on and b1 is a build ID that's incremented for each build.
    git tag 3.1.0b1
    git push --tags
  • Update plotly/herokuish to use the new version, create a new Herokuish release, and test with DDS.
  • If needed, fix things on your branch and iterate by creating a new tag and a new Herokuish release.
  • Create a PR against the appropriate branch (maintenance releases should be made against the release branch), get it approved, and merge.

Upstream Rebase

After each major release of Dash Enterprise, our buildpack fork should be rebased onto heroku/heroku-buildpack-python as needed. This should happen as soon as possible after a major release to allow for enough time to test and resolve any issues before the start of another freeze cycle. These rebases could potentially introduce a substantial amount of changes, which are likely too risky to introduce during a feature freeze.

Steps for rebase:

# add a fresh heroku remote
git remote rm heroku || true
git remote add heroku https://github.com/heroku/heroku-buildpack-python

# fetch heroku changes
git fetch heroku
git checkout origin/master
git branch -D rebase-on-upstream || true
git checkout -b rebase-on-upstream

# rebase our commits onto `heroku/heroku-buildpack-python`
# resolve any conflicts as necessary
# update vendored get-pip.py as necessary
git rebase heroku/master
git push origin rebase-on-upstream

Once the rebase is complete, simply run through the release process as detailed above.

heroku-buildpack-python's People

Contributors

kennethreitz avatar caseyfaist avatar josegonzalez avatar scjody avatar bronsolo avatar sigmavirus24 avatar craigkerstiens avatar dzuelke avatar edmorley avatar joshfriend avatar mattgraham avatar hone avatar cjolowicz avatar codingjoe avatar tarzzz avatar schneems avatar vanastassiou avatar tt avatar jpadilla avatar agriffis avatar kencochrane avatar furious-luke avatar tommyvn avatar dulacp avatar pidelport avatar nsamsami avatar gulopine avatar lstoll avatar jmorrell avatar hunterloftis 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.