URL: https://github.com/SSSD/sssd/pull/5636
Title: #5636: Improve assertion when verifying paths for Python modules

sergiodj commented:
"""
Thanks for the reply, @elkoniu.

Here's how the paths are evaluated:

```
realpath(pyhbac.__file__) = /tmp/sssd/build/.libs/_py3hbac.so
realpath(MODPATH + /pyhbac.so) = /tmp/sssd/build/.libs/_py3hbac.so
```

You can also check that, without the patch, the paths are evaluated as:

```
'/<<PKGBUILDDIR>>/build/./tp_pyhbac_xw2omut2/pyhbac.so'
'./tp_pyhbac_xw2omut2/pyhbac.so'
```

Where `<<PKGBUILDDIR>>` is just a mnemonic for some temporary path that 
`sbuild` uses.  They are the same path, but the second one is relative.

Thanks.
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/5636#issuecomment-843595627
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to