Black 26.1.0 is out.
For those who don't know, they use CalVer, and a new year means a new style with some formatting changes. So far they look good to me.
Black 26.1.0 is out.
For those who don't know, they use CalVer, and a new year means a new style with some formatting changes. So far they look good to me.
Эволюция методологий версионирования
Привет, Хабр. Всех с наступившим Новым Годом. На днях наткнулся на статью Махмуда Хашеми , в которой обсуждаются некоторые недостатки методологии семантического версионирования (SemVer) , и в качестве решения этих недостатков предлагается использовать календарное версионирование (CalVer) . В организации, где я работаю, по стандарту разработки требуется обязательно версионировать приложения по SemVer. Из собственного опыта использования SemVer скажу, что нашёл в ней ещё ряд недостатков, для исправления которых пришлось искать новый способ версионирования.
Generally I find SemVer as the best versioning scheme. One of the few exceptions is for OS's, where #CalVer makes more sense.
What would be a great improvement, especially for #SemVer, is if it would show better that a project is using it. Both in the repo and like here when doing "--version" in the CLI. Icing on the cake would be if release date also shows:
> python -V
Python 3.13.7 SemVer 2025-08-14
The obvious advantage of #CalVer is that you can immediately tell when a package was released.
For example, it is clear that 2025.7.34 was released on 34th of July, 2025.
Zaletą #CalVer jest to, że na pierwszy rzut oka można powiedzieć, kiedy wydano daną paczkę.
Tak na przykład wiadomo, że 2025.7.34 wydano 34. lipca 2025 roku.
#CalVer jest super! Zwłaszcza, jak nie przewidzisz możliwości wydania więcej niż jednej wersji tego samego dnia, więc jesteś już dwa dni do przodu!
#CalVer is doing great! Especially when your scheme doesn't account for multiple releases in a single day, so you're now two days ahead with releases!
Got around to adding the below blog post about #SemVer & #CalVer & all their alternatives, to my personal notes as a bookmark.
Realized that nobody has yet gone for the obvious: WhateVer, whose scheme is, you guessed it, 100% arbitrary, based on how capricious you're feeling at the time.
https://mastodon.social/@andrewnez/112673101150179676
🐍📅 At 20:26 Helsinki time on the 26th, I submitted PEP 2026 (calendar versioning for Python) to the steering council for consideration! 🤞