![]() ![]() The unique identifier you use may be name-based or number-based, but most Python packages use semantic versioning. Versioning is the process of adding unique identifiers to different versions of your package. In this chapter, we’ll walk through the process of creating and releasing new versions of your Python package. Releasing versions is also an important way of communicating to your users that your package has changed (e.g., bugs have been fixed, new features have been added, etc.). Most of the time, users will want to use the most up-to-date version of your package, but sometimes, they’ll need to use an older version that is compatible with their project. To solve this problem, developers assign a unique version number to each unique state of their package and release each new version independently. ![]() If you change the package’s source code, their code could potentially break (imagine you change a module name, or remove a function argument a user was using). This chapter now describes the next step in the packaging workflow - updating your package!Īt any given time, your package’s users (including you) will install a particular version of your package in a project. Previous chapters have focused on how to develop a Python package from scratch by creating the Python source code, developing a testing framework, writing documentation, and then releasing it online via PyPI (if desired).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |