• Re: help with python3 depends < 3.11

    From Marc Haber@21:1/5 to Stephen Sinclair on Sun Jan 15 16:30:01 2023
    On Sun, Jan 15, 2023 at 04:20:35PM +0100, Stephen Sinclair wrote:
    I have been trying to make an update to my package "siconos".
    However, in the Salsa build, which nicely runs all tests, it fails on "piuparts".

    The job log is here: https://salsa.debian.org/science-team/siconos/-/jobs/3796471

    I am confused, because it fails with the following error:

    The following packages have unmet dependencies:
    python3-siconos : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed

    However, debian/control uses ${python3:Depends} and does not mention
    version 3.11 anywhere, so I cannot understand where it's getting this
    "< 3.11" constraint from.

    What python version did you have installed when the package was built?

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stephen Sinclair@21:1/5 to All on Sun Jan 15 16:30:01 2023
    Dear mentors,

    I have been trying to make an update to my package "siconos".
    However, in the Salsa build, which nicely runs all tests, it fails on "piuparts".

    The job log is here: https://salsa.debian.org/science-team/siconos/-/jobs/3796471

    I am confused, because it fails with the following error:

    The following packages have unmet dependencies:
    python3-siconos : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed

    However, debian/control uses ${python3:Depends} and does not mention
    version 3.11 anywhere, so I cannot understand where it's getting this
    "< 3.11" constraint from.

    Any help would be appreciated, thank you.

    Steve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adam Borowski@21:1/5 to Stephen Sinclair on Mon Jan 16 10:50:01 2023
    On Sun, Jan 15, 2023 at 04:20:35PM +0100, Stephen Sinclair wrote:
    I have been trying to make an update to my package "siconos".
    However, in the Salsa build, which nicely runs all tests, it fails on "piuparts".

    I am confused, because it fails with the following error:

    The following packages have unmet dependencies:
    python3-siconos : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed

    However, debian/control uses ${python3:Depends} and does not mention
    version 3.11 anywhere, so I cannot understand where it's getting this
    "< 3.11" constraint from.

    The package was build for 3.10 only. Then, python3 defaults got changed,
    and now packages are supposed to build 3.11 instead.

    Thus, all packages have been rebuilt. But alas:
    https://buildd.debian.org/status/package.php?p=siconos
    is quite red. You'd need to investigate why it fails to build, and upload a fix.


    Meow!
    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Let's make a Debian conference in Yalta, Ukraine. ⢿⡄⠘⠷⠚⠋⠀
    ⠈⠳⣄⠀⠀⠀⠀

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stephen Sinclair@21:1/5 to kilobyte@angband.pl on Tue Jan 17 14:50:01 2023
    Thanks very much for the response.

    On Mon, Jan 16, 2023 at 10:47 AM Adam Borowski <kilobyte@angband.pl> wrote:

    On Sun, Jan 15, 2023 at 04:20:35PM +0100, Stephen Sinclair wrote:
    I have been trying to make an update to my package "siconos".
    However, in the Salsa build, which nicely runs all tests, it fails on "piuparts".

    I am confused, because it fails with the following error:

    The following packages have unmet dependencies:
    python3-siconos : Depends: python3 (< 3.11) but 3.11.1-1 is to be installed

    However, debian/control uses ${python3:Depends} and does not mention version 3.11 anywhere, so I cannot understand where it's getting this
    "< 3.11" constraint from.

    The package was build for 3.10 only. Then, python3 defaults got changed,
    and now packages are supposed to build 3.11 instead.

    Thus, all packages have been rebuilt. But alas:
    https://buildd.debian.org/status/package.php?p=siconos
    is quite red. You'd need to investigate why it fails to build, and upload a fix.

    Yes, that is why I am working on it. I do have a fix ready, but I am
    waiting to upload it because it fails on the Salsa piuparts test.

    To be clear, Salsa is rebuilding the package, and giving this error
    while testing the build. After inspecting the logs a bit longer, I
    realized that what is happening is that piuparts is installing the old
    version of the package while testing, and I do not know why.

    Basically piuparts tries to install the binary packages one by one of
    the new version, 4.4.0+dfsg-2, and it seems that during this process
    apt is trying to install the old packages 4.0.0+dfsg-1. These of
    course contain constraints on packages that are no longer available in
    unstable and so it fails.

    I thought it could be because I had not yet marked it for unstable (it
    was UNRELEASED), so I ran "dch -r". This changed the error message,
    but it simply fails for a different binary package now. (Bullet
    instead of Python.)

    https://salsa.debian.org/science-team/siconos/-/jobs/3810484

    If that's the case, I feel like I can just ignore this and when it's
    uploaded the problem will fix itself. Does this mean that it's just a
    problem with how piuparts works, or how Salsa is configured for it?
    If so I will try to find how to report it.

    thanks,
    Steve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to All on Tue Jan 17 12:56:41 2023
    Copy: radarsat1@gmail.com (Stephen Sinclair)

    Piuparts tests, among other things, upgrades. So, it tries installing the old version, upgrading to the current version, and checking for errors during that process. In your case, as the old version is uninstallable, you can ignore this as a known problem.

    On Tuesday, January 17, 2023 6:45:52 AM MST Stephen Sinclair wrote:
    If that's the case, I feel like I can just ignore this and when it's
    uploaded the problem will fix itself. Does this mean that it's just a problem with how piuparts works, or how Salsa is configured for it?
    If so I will try to find how to report it.

    thanks,
    Steve


    --
    Soren Stoutner
    soren@stoutner.com
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmPG/XkACgkQwufLJ66w tgPfmg//c4olgYumOnPgtx9ZeLC/0bECtdk6XZQ3zdiy8BBfJfDq26qKezoSzfef TfV+hiSuw4oEXWmSB35Kb6NMwwy3lztunAf2Jv75aFKtX6AvA/Dt2REDeejpul0+ UxT1JskqQ+VZRkix4jYGGLbIvaplBngNSwYvfaXQglEBfXbvtrWEdkmX43QFIP8x +MAviSxjfAU+pRauWa5PzJdZPGBW03X7FMHAQ4AXuSCEUlCQlYd1UCgdkbXLOKL0 brwDNh30vcahC2eqe2XNHJnPsupaZYx8grs5kcC4ZQMDv5ndwttMpIi9uL0SyRDZ kCgL5Eo1Vg7URYRBFvVwXA0J2wwD9Ndsxth/7dpYe+qIj1J296xQadtISF0OaO4O xCCEx4APGMq4xgVxU/67TVjyRnmK/KrwCJYgD0fAOeKcEuqCOaio6Iz4O6Z3uNdW YIgT4RQVH2inL2eTRslOQ0W0Mn1u48itHAi0Gov5AsJwKWEtyAndG39gmiK5Td/p 8qcLFqqLDeabo61iiMOpbN6D9TDko8LTAi92JyQXf5j7c9WGob68+ZtdwzI+Ed0Y cBU+q7ZDpQpRrnUqh1EihP7nGo8i1O8nKzCYyTmmUjdGkRTiAVjkxv0mNSIRKnTL Xh+SEnOWidTXvYPGuXA5hItUlwer9DSGbk88DutZeewcY1bOKa8=
    =ZoBI
    -----END PGP SIGNATURE-----

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