[Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Fix for Python 3.10 (#1558)

Miro Hrončok notifications at github.com
Wed Feb 24 13:58:05 UTC 2021


self.name in PathDistribution is a property in Python 3.10+ and thus we
can't redefine it as an instance variable. Instead we explicitly define
it as a property, which works on all supported Python versions.

cc @torsava 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * scripts/pythondistdeps: Fix for Python 3.10

-- File Changes --

    M scripts/pythondistdeps.py (10)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1558.patch
https://github.com/rpm-software-management/rpm/pull/1558.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/1558
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210224/13098148/attachment.html>


More information about the Rpm-maint mailing list