Hi David,

David Bremner <[email protected]> writes:

> Xiyue Deng <[email protected]> writes:
>
>> Package: notmuch
>> Version: 0.38.3-3
>> Severity: wishlist
>>
>> Dear Maintainer,
>>
>> When experimenting with notmuch-delay.el[1], it suggests that notmuch
>> should be patched with [2], which is now included in master as [3][4].
>> It would be great if a new release is tagged with those included.
>>
>> [1] https://gist.github.com/telenieko/c4109faa92f472a78fd800e61e8983e6
>> [2] https://nmbug.notmuchmail.org/nmweb/show/87wmq6rt2f.fsf%40marcfargas.com
>> [3] 
>> https://git.notmuchmail.org/git?p=notmuch;a=commit;h=37c022aea000ab586ba2a7ea7bbac4292dda0dd3
>> [4] 
>> https://git.notmuchmail.org/git?p=notmuch;a=commit;h=b526c5ef0e1ae78380e68e5a24170542b884cbe3
>
> I started to tag a pre-release, but encountered the following python
> induced breakage.
>
>
>     !!
>       dist.fetch_build_eggs(dist.setup_requires)
>     Traceback (most recent call last):
>       File 
> "/home/bremner/software/upstream/notmuch/bindings/python-cffi/setup.py", line 
> 7, in <module>
>         setuptools.setup(
>       File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 117, 
> in setup
>         return distutils.core.setup(**attrs)
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", 
> line 145, in setup
>         _setup_distribution = dist = klass(attrs)
>                                      ^^^^^^^^^^^^
>       File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 330, in 
> __init__
>         self.metadata.version = self._normalize_version(self.metadata.version)
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>       File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 366, in 
> _normalize_version
>         normalized = str(Version(version))
>                          ^^^^^^^^^^^^^^^^
>       File "/usr/lib/python3/dist-packages/packaging/version.py", line 202, 
> in __init__
>         raise InvalidVersion(f"Invalid version: {version!r}")
>     packaging.version.InvalidVersion: Invalid version: '0.39~rc0'
>     make[1]: *** [bindings/Makefile.local:22: bindings/python-cffi.stamp] 
> Error 1
>     make[1]: Leaving directory '/home/bremner/software/upstream/notmuch'
>     make: *** [Makefile:40: make_in_parts] Error 2
>
> Unfortunately I don't have time to investigate now; I'll have a look in
> a few weeks.

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/

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to