Removal of master
branch in poetry-core
on June 1, 2023
#6741
Labels
area/core
Related to the poetry-core library
impact/deprecation
Introduces or relates to a deprecation
The main branch of poetry-core was renamed from
master
tomain
in May 2022. Since this broke some packages explicitly referencingmaster
, it was decided to copy themain
branch intomaster
branch to not break those usages.As
master
is not updated frommain
, and it is confusing to keep both branches around, there's no point keepingmaster
indefinitely.So this issue acts as a deprecation notice for usages of
master
branch ofpoetry-core
, as we are planning to delete the branch on June 1, 2023.This change will impact packages that use git references when defining
poetry-core
as a build-system, for instance by doing:Once
master
branch is removed, any package still referencingmaster
branch as their build system will not be installable. Note that using a moving git branch for the build system on published packages is a highly discouraged practice, since:If you are a package maintainer and are referencing
poetry-core
by usingmaster
branch from the git repository (or any other branch, for what it's worth), it is highly recommended to update the build system of the package to rely on versions published to PyPI, for instance:or, if you rely on features implemented in specific versions of
poetry-core
, by defining a lower bound, for instance:The text was updated successfully, but these errors were encountered: