Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventera python-paketbehov och -versioner vid uppgradering #53

Open
anargam opened this issue Jun 6, 2023 · 0 comments
Open

Inventera python-paketbehov och -versioner vid uppgradering #53

anargam opened this issue Jun 6, 2023 · 0 comments

Comments

@anargam
Copy link
Collaborator

anargam commented Jun 6, 2023

I dagsläget tycks puppetkörningar misslyckas, med hänvisning till att utpekad version av asgiref saknas.

Notice: Compiled catalog for studentspex.lysator.liu.se in environment production in 3.95 seconds
Notice: /Stage[main]/Keycloak::Install/User[keycloak]/home: home changed '/' to '/var/lib/keycloak'
Notice: /Stage[main]/Internsidor::Install/Python::Requirements[/opt/internsidor/src/requirements-prod.txt]/Exec[python_requirements/opt/internsidor/src/requirements-prod.txt]/returns: executed successfully
Notice: /Stage[main]/Internsidor::Install/Python::Requirements[/opt/internsidor/src/requirements.txt]/Exec[python_requirements/opt/internsidor/src/requirements.txt]/returns: ERROR: Could not find a version that satisfies the requirement asgiref==3.5.2
(from versions: 0.8, 0.9, 0.9.1, 0.10.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.13.0, 0.13.2, 0.13.3, 0.14.0, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.2.10, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0, 3.4.1)
Notice: /Stage[main]/Internsidor::Install/Python::Requirements[/opt/internsidor/src/requirements.txt]/Exec[python_requirements/opt/internsidor/src/requirements.txt]/returns: ERROR: No matching distribution found for asgiref==3.5.2
[---]

Vi kör ju Ubuntu 18.04 LTS (nyligen EOL) för ögonblicket, och använder systempython i denna venv. Det är python 3.6.9.

Från asgiref v3.5.2 på pypi.org

Dependencies

asgiref requires Python 3.7 or higher.

requirements.txt ser ut att ha genererats med Python 3.10.

Detta är ett paket, men vi kanske vill göra en genomkörare här.

Om vi uppgraderar till Ubuntu 22.04 är system-python 3.10.6.

En uppgradering eller ett distributionsbyte bör ske, frågan är dock till vad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant