Skip to content

uses cmp keyword of sorted() which has been removed in Python3 #31

@umlaeute

Description

@umlaeute

as of Python3 (released 2008), the sorted() function no longer has a cmp keyword (see here)

however, in current master it is still used:

packages = sorted(packages, key=lambda x: self.parse_package_ref(x)[2], reverse=True, cmp=apt_pkg.version_compare)

consequently, the publishing process fail on Python3 systems (and with Python2 being dead dead dead, this means that publishing is broken in general)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions