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 the
pyenvversion in theDockerfile, you may use a commit hash if a newpyenvversion is not released yet. - Update the
pyenv globalversion in theDockerfile. We always use the latest (and greatest) Python version. - Update the list of known Python versions in
language.rb(PRE_INSTALLED_PYTHON_VERSIONS_RAW). - Fix any broken tests.
Example PR that does all these things.
- Start a development shell
$ bin/docker-dev-shell python
-
Run tests
[dependabot-core-dev] ~ $ cd python && rspec