Python support for dependabot-core
.
We rely on pyenv
to manage Python's versions.
Updating the list of known versions might be tricky, here are the steps:
- Update
pyenv
version in ourDockerfile
, you may use commit hash if newpyenv
version is not released yet - Then, update
pyenv global
version inDockerfile
, we always use the latest (and the greatest) Python version there is - The next step is to update our
build
script, bump the latest Python version there - Now, update the list of known Python version in
python_versions.rb
- 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.
- Start a development shell
$ bin/docker-dev-shell python
- Run tests
[dependabot-core-dev] ~/dependabot-core $ cd python && rspec