• Re: python3.10

    From Andrey Rakhmatullin@21:1/5 to Christian BAYLE on Mon Mar 10 19:40:01 2025
    On Mon, Mar 10, 2025 at 07:06:57PM +0100, Christian BAYLE wrote:
    was wondering why there is no python3.10 in debian

    Every stable Debian release only contains one Python version, normally the newest one at the time when the release was made. Testing and
    unstable can contain two versions during the transition from the older one
    to the next one.

    I just encountered recently a few venv that require 3.10 to work in at
    least 2 ai stable diffusion software, really difficult to package
    right now.

    Not sure what do you mean by venv but for local use you aren't required to
    use Python interpreters from the distribution and can e.g. use pyenv to install any other one.

    Worth of packaging it ?
    It seems easy to simply download and build and use.

    Simply providing a Python interpreter in Debian is not generally useful,
    and integrating it with the packaged modules is a lot of work which is
    also impossible for older Python versions. So no. You can package it
    locally if you want and if you don't expect it to work with any packaged modules.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmfPMTstFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 0H0QAI1ezGk9SwBwBn4sZtLvFmOiTcxFvFchgweWl6sKWfr3n2j+vXAKm8lLkza/ a12Rjmzt60YYTVQ10HtA23jLqMV8FDQbaFRd+JKog+x85Eke9SNTyxfTfZK1RLng qVESUs/r8fkTnVO2jv9fAawg6FpiZVIy9n3JnhEbydxxnT23l4PuTnD1tvPVxpwW weLvGOcduA080G9yPwFicTdZbhiSeffnQzcYFqlObGlX+zjAENUbtFWYXMQRMiqK iN1ynMlLIEfu0oh6q4wS310rh1GH0nADSh5Vf9fA8sq3/UXZOwTBJZ8xAs28JxuN ox8c3EMtlqRugZyUvBmYYA1qhN3N7UY9zErlVnWRzhmY+xY+KdqSb9BMmhBdZXfC YxUWmBBeLTvyuaZz5hs3N3uccbmZ5CjnUxv+QvBExzHCYPXYEcvsJOPD5beOfXay 27yDFxJl0VZQwzQIfm6jRFofPEeX2iV2WBW8OccHznqyu6DWCAuX/kDdweKq3fnS YxQ45JAowGaE5n20M4w1mUPnrEsTdyU3dNb1lP9kM/wBHrA/XB+X7Nu6N/bxK6U9 s+vIMDXSwGCi7wJ4+lbar887Kz+wK0dBggFpZOFUbG7mGX2teC4JphzCIqBubid5 89OEh3n8ADhj2Oo8XFtz5/uQ/zYQzCH1P+uZ+AbhvIml9DjV
    =nL+l
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Christian BAYLE on Mon Mar 10 20:40:01 2025
    On Mon, Mar 10, 2025 at 08:12:25PM +0100, Christian BAYLE wrote:
    I was surprised that python3.10 compiling from upstream tarball was so
    easy, but it's maybe i was lucky

    It being easy is one of the reasons pyenv should be used.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmfPPjAtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 2WUP/1DkgdwSsNhCdynjEdziui9dXmdmrNyugQooer3ns2IcUZvbnan+CGee93JT q63OID8AHjpns3KH7fuBLEUMOgwgGUT2zjWCtFR1d2ToyMHws8sbS9l/h5gAkS/a BnZju8F5RRaq4NOQFPNah1l+ctEYOn2+l1Hp+bUf+ghMZFr58R75F9Wp6nHWcpaI ymQTSm7vcJpqk9FNPVushQERmhOmRMiGHuLlXdv/H31+YtAflLgLnFLqe4UX+vWg MLf1ZI5BA7mV+HQ6fZeK1SJ0V9WF7Z0tZmropOEVH6haPZU+qVrL73kS6r3ujqVe 9Hw7vhhVNiJ2MgJBMLCzHfgkuG/eMBWtcma2xivu4IioREcPlicCrEC9p4L/Rm2j W4+M4T9sVapGpFgMJpsGZD+Q3HxI+xBGdYsws8vL3lH4TOPyuJv6phpc0FaipQ3a OfhVawA5SLilDyigmGkVrsCkCLwGiWsAAlzlUpH4ADTx3WOFeox3AOHnbXaCPqoY eiHrRTlKQhVmnfgJ+OWJRiV6xEM/f7cA1VORGbte0DmeROQlvI1Fc3H871pz5zSp S6MPSBliRBjS8em5UYX/CYr+tvWRN2nYOWJw0+jCcZreEWLKRCXyhwp7Rlok9t2W a5XW5PpMLo3j8nq5rrXoSiV1D49ydAu5BgZ49VD2H+W49T0W
    =vie7
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Ward@21:1/5 to Andrey Rakhmatullin on Mon Mar 10 20:20:02 2025
    On 2025-03-10 14:36, Andrey Rakhmatullin wrote:
    On Mon, Mar 10, 2025 at 07:06:57PM +0100, Christian BAYLE wrote:
    I just encountered recently a few venv that require 3.10 to work in
    at least 2 ai stable diffusion software, really difficult to package
    right now.

    Not sure what do you mean by venv but for local use you aren't
    required to use Python interpreters from the distribution and can e.g.
    use pyenv to install any other one.

    I was in fact about to suggest the same thing Andrey did here. For any local-use stuff which requires one or more Python versions beyond the system-installed Python version, this is my recommended solution to use
    pyenv and then have the local installs alongside Debian's installed Python.

    I also want to make a few things known about 'downstream' 'in Ubuntu
    that you refer to. The problem we see routinely 'downstream' is people
    try and change their Python version away from the system preferred
    Python version, thus breaking things. It happens way more than I'd like
    to admit (just look at Ask Ubuntu and the number of python errors we can attribute to User Error in this exact way), and usually I suggest pyenv
    [1] to allow userspace installations of Python isolated from system
    Python that works for those cases you need older versions.

    I do this routinely even downstream on other distros. In fact, wherever
    you are required to use *older* Python or *newer* Python than is
    available in your distro - Debian, Ubuntu, Mint, etc. - I always point
    at PyEnv as a solution.


    Thomas


    [1]: https://github.com/pyenv/pyenv

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jerome Kieffer@21:1/5 to Christian BAYLE on Sun Mar 16 10:10:01 2025
    Hi,

    I am a python software developper and having pyenv as part of debian
    would be interesting for my job where I switch python version several
    times a day (and venv several times an hour).
    For now, I use conda instead but it is slow (mamba is better) and uses a
    lot of disk space.

    Thanks for the heads-up

    Jerome

    On Mon, 10 Mar 2025 21:28:57 +0100
    Christian BAYLE <bayle@debian.org> wrote:

    Hello,


    I was not aware of this pyenv

    easy, but it's maybe i was lucky

    It being easy is one of the reasons pyenv should be used.

    wnpp-check pyenv
    (ITP - #978149) https://bugs.debian.org/978149 pyenv old from 10/2020 https://github.com/pyenv/pyenv
    https://salsa.debian.org/karthek/pyenv

    And I took a lot of time reading dev manual, wiki pages

    tested many python ai stuffs,

    I crossed venv, uv, recently spack, but no pyenv

    Nothing there :
    https://wiki.debian.org/Python

    but i just subscribed to this python list

    I can help, if needed, i'll certainly be a user of pyenv

    Thank you

    CC: to the ITP

    Christian



    --
    Jérôme Kieffer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dmitry Shachnev@21:1/5 to Andrey Rakhmatullin on Sun Mar 16 10:30:01 2025
    Hi all,

    On Sun, Mar 16, 2025 at 02:11:15PM +0500, Andrey Rakhmatullin wrote:
    On Sun, Mar 16, 2025 at 09:58:45AM +0100, Jerome Kieffer wrote:
    Hi,

    I am a python software developper and having pyenv as part of debian
    would be interesting for my job where I switch python version several
    times a day (and venv several times an hour).
    For now, I use conda instead but it is slow (mamba is better) and uses a lot of disk space.

    You don't need it packaged to use it.

    Anyway, pyenv is in the NEW queue:

    https://ftp-master.debian.org/new/pyenv_2.5.1-1.html

    --
    Dmitry Shachnev

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmfWmFcACgkQsmYUtFL0 RrZnsxAApMv1Ll7b6Hs8ovma0rxW3IgeYhRvmxqcVoaxfmXZsVlZOBXdJ0WAGEac zziAWPsb52nuyGvAaFR/W51ZHqxvcd+W6ms5rhlsbBDYIpVanOmlHP/cYL5D2oaV as4MjZIeBIvwjXf6PAqGOp3RpNpNmNbIhfrEHGcsNa5It2eUUpujBq9U+lUpx5Th ii+vJX8Cj3sP8TuUPey32EZbRLSvoCeHF2WEeVf/OOLOCbtQjbL3Ari3Lrbr5JPz DgSDBBUb+szicRUSif0aTJThbdKH+Nj37K4IK+sAlvvqMsnqd8IFDTGfkE/hlsWO nc8AaPFmcs2g9B3z7AbGzPXl3Q0m1JCshYDdUg9V13qzfBS0ZxzXFX9xDv+r7dcc 0R+vFkdKfnWXarb5m61i+DfHjiJET54ZZn+b5ew/gbiyDBSt+/Jrj+ldK2MZakS2 JNnsEkBPWp5bCwgkQIueK8sjQFx78E7f4E/oBNbwrbSE31+szcKIwEzPp1eDhbUz uT+S0f+/7VIeu5cNEIi/NhdXpLLTSWWVkN2GUvdTnDJUre+wA+nMaTGCh50z3ohX V0007WEgO455os3x08qQUyTdeUAyvhDRwVL529O1ycqQs5g4dikX1J1/VttORpYV jXN/ouimkikK2xHqOuOcttk43OmPKtsy1gkWMbKN6D7ASvQ5bek=
    =oFuI
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Jerome Kieffer on Sun Mar 16 10:20:01 2025
    On Sun, Mar 16, 2025 at 09:58:45AM +0100, Jerome Kieffer wrote:
    Hi,

    I am a python software developper and having pyenv as part of debian
    would be interesting for my job where I switch python version several
    times a day (and venv several times an hour).
    For now, I use conda instead but it is slow (mamba is better) and uses a
    lot of disk space.

    You don't need it packaged to use it.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmfWlbMtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh ekYP/1fQh8AuDDIIbgfElxw7jf3J4x0nTM2Cu9TIiwb+O7YsVh7ANS3F8BJTHgYd CVuDGv/cT9H7KpbD7sxj7anVojzrDxMX4LT7OXTBpUez8HQEPdPZ0q82Pf5v3pGI 0UIqrarfrxox1lIEqfom6ESiPuDgypZhIge5L18e++roV9CRGyAIHJuWjL4QlyS/ MNEKkfHWK1vEavTmqJPv6OiBbHMaKQF28djVy60joS6ARiaUmIlebt3Vb1+FMLfa S4aEOnElkWT8y8RpCAuis8gewMNJ1TBAmdezm38zW0HFA86aTKiHa8iAacWdYs2u kYMyHv8dnGwS5k/IX9oTtHC8DgLSd08hK2rANmhxZEqtPepa53xJJT/R9NxnGxCS 5pLX/0shXdqlFxuTQ0r9zaCJadMz/bJGKJwfE+Pvw8CRMdbio5G4QINn9TVmmm8A R1n79hKy8CtmldcuZw6fHFgyUQREBBt6KIw7Z2C42L5ohVkXsHc+RtZQmxA5v6Pz YL1YSv8eigE+JWtFioF92UJyzpI+TDn9vjKY2bSCLGnQsILK8B5cmKfrrr649CTC rED8uAl1KtLTYKJaeSTbgIhJre67d4TD0wqL0v96QKMrmpwRgzrYi1qkyxA6od5j 1pFhYIKthHsI2pok7pCSR6eZqwKWtD/L5HDSYksq3YnWKtXE
    =cunO
    -----END PGP SIGNATURE-----

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