On Sun, Aug 11, 2019 at 10:44 AM Miro Hrončok <mhron...@redhat.com> wrote:
>
> See for example:
>
> https://apps.fedoraproject.org/koschei/package/python-mccabe?collection=epel7
> 2019-08-11 07:50:11
>
> - nothing provides python(abi) = 3.6 ...
>
> This is provided in RHEL 7.7.
>
> (Note that we've unretired the python36 package, so later it resolved 
> correctly.)

Koschei uses Koji repos. You can find out the exact repo URL at given
timestamp in the following way:

In [1]: import koji, datetime
In [2]: ks = koji.ClientSession('https://koji.fedoraproject.org/kojihub')
In [3]: pi = koji.PathInfo('https://kojipkgs.fedoraproject.org')
In [4]: ts = datetime.datetime(2019,8,11,8,8,10).timestamp()
In [5]: event = ks.getLastEvent(before=ts)
In [6]: repo = ks.getRepo(tag='epel7-build', state=koji.REPO_READY,
event=event['id'])
In [7]: pi.repo(repo['id'], 'epel7-build')
Out[7]: 'https://kojipkgs.fedoraproject.org/repos/epel7-build/1234463'

x86_64 repos are used for dependency resolution. At that time python36
was not available in epel7-build:

$ dnf -q --repofrompath
epel7-build-1234463,https://kojipkgs.fedoraproject.org/repos/epel7-build/1234463/x86_64/
--repo epel7-build-1234463 repoquery --whatprovides 'python(abi)'
python-0:2.7.5-80.el7_6.x86_64
python34-0:3.4.10-2.el7.x86_64


> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok
_______________________________________________
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org

Reply via email to