Xiyue Deng <manp...@gmail.com> writes:

> David Bremner <da...@tethera.net> writes:
>
>> Xiyue Deng <manp...@gmail.com> writes:
>>
>>>
>>> It looks like "0.39~rc0" is not supported by Pypa Version specifiers[1].
>>> "0.39rc0" should work fine.
>>>
>>> [1] 
>>> https://packaging.python.org/en/latest/specifications/version-specifiers/
>>
>> Yes, I understood that much. It's a question of needing to adapt the
>> build and release process to the preferences of Python, since as you
>> know notmuch is not only (or primarily) a python project.
>
> I guess using "0.39rc0" only in the Python version should be fine?  And
> the formal release will have consistent versioning again which everyone
> supports.
>

Got some time to do some testing.  It looks like the "0.39rc0" idea
works.  Please see the first patch.

Also there seems to be duplicated dpkg-dev requirements in
Build-Depends.  The one with ">= 1.22.5" was added for the t64
transition in the NMU 0.38.2-1.1, but it didn't remove the old dpkg-dev
requirement.  The second patch consolidates the requirements.

Please take a look.

> -- 
> Regards,
> Xiyue Deng

-- 
Regards,
Xiyue Deng
From 8f4376192be58d99d1f0cefbb93847a8bb1a3af1 Mon Sep 17 00:00:00 2001
From: Xiyue Deng <manp...@gmail.com>
Date: Sun, 2 Feb 2025 18:16:22 -0800
Subject: [PATCH 1/3] Reapply "bump versions to 0.39~rc0"

Use "0.39rc0" for Python version

This reverts commit 409ad6b2a897c1571044bf6e4021a35fbd85b122.
---
 bindings/python/notmuch/version.py | 2 +-
 version.txt                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/python/notmuch/version.py b/bindings/python/notmuch/version.py
index fd4152ee..87a758cc 100644
--- a/bindings/python/notmuch/version.py
+++ b/bindings/python/notmuch/version.py
@@ -1,3 +1,3 @@
 # this file should be kept in sync with ../../../version
-__VERSION__ = '0.38.3'
+__VERSION__ = '0.39rc0'
 SOVERSION = '5'
diff --git a/version.txt b/version.txt
index f2687f32..a21890cf 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-0.38.3
+0.39~rc0
-- 
2.47.2

From 979c4533790f7b269c4e68a126f43709efeee3bb Mon Sep 17 00:00:00 2001
From: Xiyue Deng <manp...@gmail.com>
Date: Sun, 2 Feb 2025 18:21:23 -0800
Subject: [PATCH 2/3] Consolidate duplicated dpkg-dev requirements

* Keep dpkg-dev (>= 1.22.5) which is added for t64 transition.
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 08e3c7f3..bf86d86d 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders:
 Build-Conflicts:
  gdb [ia64 mips mips64el hppa],
  ruby1.8,
-Build-Depends: dpkg-dev (>= 1.22.5),
+Build-Depends:
  bash-completion (>=1.9.0~),
  debhelper-compat (= 13),
  dh-elpa (>= 1.3),
@@ -16,7 +16,7 @@ Build-Depends: dpkg-dev (>= 1.22.5),
  dh-sequence-vim-addon,
  desktop-file-utils,
  doxygen,
- dpkg-dev (>= 1.17.14),
+ dpkg-dev (>= 1.22.5),
  dtach (>= 0.8) <!nocheck>,
  emacs-nox | emacs-gtk | emacs-lucid | emacs25-nox | emacs25 (>=25~) | emacs25-lucid (>=25~) | emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~),
  emacs-el,
-- 
2.47.2

Attachment: signature.asc
Description: PGP signature

Reply via email to