Skip to content

Latest commit

 

History

History

python

dependabot-python

Python support for dependabot-core.

Updating supported Python version

We rely on pyenv to manage Python's versions.

Updating the list of known versions might be tricky, here are the steps:

  1. Update pyenv version in our Dockerfile, you may use commit hash if new pyenv version is not released yet
  2. Then, update pyenv global version in Dockerfile, we always use the latest (and the greatest) Python version there is
  3. The next step is to update our build script, bump the latest Python version there
  4. Now, update the list of known Python version in python_versions.rb
  5. The last step is to tweak our tests, if required. The easiest way to determine which one to tweak is just by analyzing the failing output

Example PR that does all these things.

Running locally

  1. Start a development shell
$ bin/docker-dev-shell python
  1. Run tests
    [dependabot-core-dev] ~/dependabot-core $ cd python && rspec