Upgrading template¶
Upgrading your project to be up-to-date with this template is a primary goal.
This is achieved by manually applying diff to your existing code.
diff can be viewed from the project’s README.md.
See an example.
When the upgrade is applied just change the commit hash in your template to the most recent one.
Versions¶
Sometimes, when we break something heavily, we create a version. That’s is required for our users, so they can use old releases to create projects as they used to be a long time ago.
However, we do not officially support older versions. And we do not recommend to use them.
A full list of versions can be found here.
Migration guides¶
Each time we create a new version, we also provide a migration guide. What is a migration guide? It is something you have to do to your project other than just copy-pasting diffs from new versions.
Goodbye, pipenv!¶
This version requires a manual migration step.
You need to install
poetryYou need to create a new
pyproject.tomlfile withpoetry initYou need to adjust name, version, description, and authors meta fields
You need to copy-paste dependencies from
Pipfiletopyproject.tomlYou need to set correct version for each dependency in the list, use
"^x.y"notationYou need to adjust
[build-system]tag andPOETRY_VERSIONvariable to fit yourpoetryversionCreate
poetry.lockfile withpoetry lock
It should be fine! You may, however, experience some bugs related to different
dependency version resolution mechanisms. But, poetry does it better.