guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IDEA: missing-tests-pypi-error? condition


From: Maxim Cournoyer
Subject: Re: IDEA: missing-tests-pypi-error? condition
Date: Sat, 07 Oct 2023 12:05:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

Munyoki Kilyungi <me@bonfacemunyoki.com> writes:

> "jgart" <jgart@dismail.de> aliandika:
>
>>> Sometimes, PyPI versions lag behind upstream versions.
>>
>> Hi Bonz,
>>
>> Yes, in my experience that has sometimes been the case because maintainers 
>> don't make timely releases to PyPI.
>>
>>> What's the policy on this. Shouldn't we prefer upstream over PyPI? 
>>
>> Our importer works with the JSON API that PyPI provides at 
>> https://pypi.org/pypi/baz/json
>>
>> See here:
>>
>> https://git.savannah.gnu.org/cgit/guix.git/tree/guix/import/pypi.scm?h=master#n141
>>
>> That API provides a lot of package data that GitHub does not track in a 
>> unified and structured way.
>>
> Then given the above ...
>>> Adding extra glue can add unnecessary complexity.
>>
>> You're right. I thought about that after I sent the email with the idea ;()
>>
>
> PyPi unless we need to use upstream is the way to
> go ;)

Yes, I was thinking continuing to use PyPI, but attempt to find the
repository URL from PyPI's metadata and used that when generating a
package definition with the pypi importer.

I don't know how feasible that would be.

-- 
Thanks,
Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]