The current regular expression for matching on Python metadata files was
too greedy, leading to generating dependency information for Python modules
that were actually bundled in another module rather than actually being
installed in a way that is usable and accessible from any Python code
using the system interpreter.

This change tightens the regular expression so that we only match on
modules that are installed in a way that they'll register with
distutils/setuptools based tools (such as pip) and usable as
dependencies for other Python module packages.

Resolves [RhBug:1618949](https://bugzilla.redhat.com/show_bug.cgi?id=1618949)
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/562

-- Commit Summary --

  * fileattrs: Tighten pythondist path regex for metadata (RhBug:1618949)

-- File Changes --

    M fileattrs/pythondist.attr (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/562.patch
https://github.com/rpm-software-management/rpm/pull/562.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/562
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to