Projet

Général

Profil

Bug #60550

Erreur installation passerelle (suds-jurko)

Ajouté par Emmanuel Cazenave il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
12 janvier 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

(https://jenkins.entrouvert.org/job/publik-devinst-wip/job/wip%252F59823-hostname/1/console)

Se reproduit facilement dans un venv tout frais en désactivant le cache pip (qui est vide sur un container tout frais je suppose) :

pip install --no-cache-dir suds-jurko
Collecting suds-jurko
  Downloading suds-jurko-0.6.zip (255 kB)
     |████████████████████████████████| 255 kB 6.7 MB/s
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/cazino/envs/passerelle-env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iwdubvaq/suds-jurko_44b679bf11c64e6e932c9ee328aba3bd/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iwdubvaq/suds-jurko_44b679bf11c64e6e932c9ee328aba3bd/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-_i_l2aa3
       cwd: /tmp/pip-install-iwdubvaq/suds-jurko_44b679bf11c64e6e932c9ee328aba3bd/
  Complete output (1 lines):
  error in suds-jurko setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d0/88/f3bed9b494e0dae26bd55e5f3d527b8244208125024727267e8109956a11/suds-jurko-0.6.zip#sha256=1cb7252cb13018fc32887c3a834ed7c6648a5b5c4c159be5806da2e1785399e8 (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading suds-jurko-0.6.tar.bz2 (143 kB)
     |████████████████████████████████| 143 kB 394 kB/s
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/cazino/envs/passerelle-env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iwdubvaq/suds-jurko_60a32109ff12479bacc569491fde0ba7/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iwdubvaq/suds-jurko_60a32109ff12479bacc569491fde0ba7/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ij7ze20c
       cwd: /tmp/pip-install-iwdubvaq/suds-jurko_60a32109ff12479bacc569491fde0ba7/
  Complete output (1 lines):
  error in suds-jurko setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2#sha256=29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb90e69e528ef014e57f (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading suds-jurko-0.5.zip (220 kB)
     |████████████████████████████████| 220 kB 6.4 MB/s
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/cazino/envs/passerelle-env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iwdubvaq/suds-jurko_aab94fefa2b44ec3b4d48d6d487301cc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iwdubvaq/suds-jurko_aab94fefa2b44ec3b4d48d6d487301cc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-dion5u43
       cwd: /tmp/pip-install-iwdubvaq/suds-jurko_aab94fefa2b44ec3b4d48d6d487301cc/
  Complete output (1 lines):
  error in suds-jurko setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/72/22/13c6ff1e731880523ceb7d6137b9450f7cca5b4bee8411017bad23af226c/suds-jurko-0.5.zip#sha256=7ba3267d53b4d5f87a26a4c01efaa01ad85ae620462f0cd72e49d1c340925261 (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading suds-jurko-0.5.tar.bz2 (122 kB)
     |████████████████████████████████| 122 kB 2.4 MB/s
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/cazino/envs/passerelle-env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iwdubvaq/suds-jurko_65bd44f81bed4e53bd61e10f5e04648c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iwdubvaq/suds-jurko_65bd44f81bed4e53bd61e10f5e04648c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-s4cbxe8p
       cwd: /tmp/pip-install-iwdubvaq/suds-jurko_65bd44f81bed4e53bd61e10f5e04648c/
  Complete output (1 lines):
  error in suds-jurko setup command: use_2to3 is invalid.
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/40/cc/2fad53352898ebfef8b11e4b6b0ef0fac0ee8162c735db28c558d511039c/suds-jurko-0.5.tar.bz2#sha256=3dd119ced5335d71a2844e380e6a509a1f05e6f5bbb5d1f8a2fdf5c74adff8ed (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement suds-jurko (from versions: 0.4.1.jurko.1, 0.4.1.jurko.2, 0.4.1.jurko.3, 0.4.1.jurko.4, 0.4.1.jurko.5, 0.5, 0.6)
ERROR: No matching distribution found for suds-jurko

Fichiers


Demandes liées

Lié à Passerelle - Development #38811: tests: utiliser suds-jurko plutot que sudsFermé07 janvier 2020

Actions

Révisions associées

Révision aa916550 (diff)
Ajouté par Emmanuel Cazenave il y a plus de 2 ans

misc: use suds package in pure python installation (#60550)

Instead of suds-jurko that is not maintained anymore.
In bookworm the package is based on https://github.com/suds-community/suds which we start using here.

Historique

#1

Mis à jour par Emmanuel Cazenave il y a plus de 2 ans

  • Projet changé de Publik Installation Développeur à Passerelle
#2

Mis à jour par Emmanuel Cazenave il y a plus de 2 ans

#3

Mis à jour par Emmanuel Cazenave il y a plus de 2 ans

suds-jurko pas maintenu ou alors juste pypi pas mis à jour (https://pypi.org/project/suds-jurko), quoiqu'il en soit en bookworm debian bascule sur https://github.com/suds-community/suds, alors nous aussi et voilà.

#4

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Emmanuel Cazenave il y a plus de 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit aa916550b38019f946fa92c833817435d5891b82
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Wed Jan 12 11:59:44 2022 +0100

    misc: use suds package in pure python installation (#60550)

    Instead of suds-jurko that is not maintained anymore.
    In bookworm the package is based on https://github.com/suds-community/suds which we start using here.
#6

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#7

Mis à jour par Transition automatique il y a environ 2 ans

Automatic expiration

Formats disponibles : Atom PDF