• Don`t upgrade pip

    From =?UTF-8?B?0JvQtdC+0L3QuNC0INCh0LXRg@21:1/5 to All on Mon Oct 16 12:00:01 2023
    DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to
    upgrade to a newer version of reportbug or contact the author to suggest
    that they release a version with a conforming version number. Discussion
    can be found at https://github.com/pypa/pip/issues/12063
    WARNING: There was an error checking the latest version of pip.

    Fix please.

    <div dir="ltr">DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of reportbug or contact the author to suggest that they release a
    version with a conforming version number. Discussion can be found at <a href="https://github.com/pypa/pip/issues/12063">https://github.com/pypa/pip/issues/12063</a><br><div>WARNING: There was an error checking the latest version of pip.</div><div><br></
    <div>Fix please.<br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to All on Mon Oct 16 18:50:01 2023
    On Mon, Oct 16, 2023 at 12:16:24PM +0400, Леонид Сергеевич wrote:
    DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to
    upgrade to a newer version of reportbug or contact the author to suggest
    that they release a version with a conforming version number. Discussion
    can be found at https://github.com/pypa/pip/issues/12063
    WARNING: There was an error checking the latest version of pip.
    Does this message cause any actual problems?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to 7matrix3@gmail.com on Mon Oct 16 18:30:01 2023
    Леонид Сергеевич <7matrix3@gmail.com> writes:

    DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to
    upgrade to a newer version of reportbug or contact the author to suggest
    that they release a version with a conforming version number. Discussion
    can be found at https://github.com/pypa/pip/issues/12063
    WARNING: There was an error checking the latest version of pip.

    Interestingly, if I'm reding the specification correctly, 7.5.3-deb10u1 is
    a valid semver version (although it indicates a pre-release, incorrectly
    in this case). PEP 440 is more restrictive than semver in that respect, though.

    Unfortunately, I don't see a good PEP 440 version number for what
    reportbug versioning is trying to do. It's sort of a post-release, but
    .postN only allows a single number. I'm not sure that there's anything
    much better than 7.5.3.10.1, which unfortunately requires more human interpretation of the last two segments (and also isn't a valid semver,
    which probably doesn't matter a lot but which is unfortunate).

    With my day job hat on, I think this is a good change for the Python
    ecosystem as a whole. I maintain software that has to parse Python
    package version numbers to check for security updates, and dealing with non-standard version numbers is a real pain. I just wish PEP 440 were
    aligned with semver and that both standards were a bit richer. Debian has dealt with a lot of versioning challenges that neither standard seems to
    have addressed, such as multiple named versioning streams that nonetheless
    need to maintain a total order, although our standard is also looser than
    would be ideal for PyPI since we try to allow for nearly arbitrary
    upstream version numbers.

    --
    Russ Allbery (rra@debian.org) <https://www.eyrie.org/~eagle/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefano Rivera@21:1/5 to All on Thu Oct 19 15:00:01 2023
    Hi Bernd (2023.10.18_20:48:59_+0000)
    DEPRECATION: reportbug 7.5.3-deb10u1 has a non-standard version
    number. pip 24.0 will enforce this behaviour change. A possible
    replacement is to upgrade to a newer version of reportbug or contact
    the author to suggest that they release a version with a conforming
    version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
    WARNING: There was an error checking the latest version of pip.

    Fix please.

    Reportbug should never be installed via pip, and there is no reason to
    upload it to pypi or other platforms.

    The issue is that python packaging tools are starting to expect PEP-440 versions. This has been fixed in reportbug, already: https://salsa.debian.org/reportbug-team/reportbug/-/commit/f8e2057114847345c4ebbd3fc421a07fafcb33a2

    Older releases run into trouble when users run modern Python tools with
    these expectations directly on the system python3, or in a --system-site-packages virtualenv.

    I wrote this up in https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1991606/comments/50

    For reportbug, only buster and older are affected, so this is an LTS
    issue. I'll look at it.

    Stefano

    --
    Stefano Rivera
    http://tumbleweed.org.za/
    +1 415 683 3272

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)