GNU bug report logs -
#68147
[PATCH] gnu: Add python-snappy.
Previous Next
Reported by: Troy Figiel <troy <at> troyfigiel.com>
Date: Sat, 30 Dec 2023 14:41:02 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 68147 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-12-30 15:51:29 +0100, Troy Figiel wrote:
> Interestingly, both `python-snappy' and `snappy' are available on PyPI
> (https://pypi.org/project/snappy/). These are two completely distinct
> packages and in this issue I only package `python-snappy'.
>
> If I understand the Python naming rules, if someone were to package
> `snappy' in the future, both would be associated to the `python-snappy'
> variable in Guix. What would be the best approach to handle this
> potential naming collision?
As far as I can tell, names of PyPI packages in guix are basically formed by
adding `python-' prefix to the PyPI name. So here the correct name would be
`python-python-snappy'. I agree that it looks... weird, however it does prevent
the collision.
It will prevent any user confusion, while adhering to a pattern that is already
elsewhere, so I think it is worth it.
Have a nice day,
Tomas Volf
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 1 year and 193 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.