#4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
Concepts sous-jacents
Commentaires
- 3 ans, 10 mois ago by Luc Saffre about #4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11) : As a workaround, I changed the image we use in our gitlab-ci files from "python:latest" to "python:3.10". Actually we don't want "python:latest", we want "the python installed on debian:latest". The welfare repo uses the debian:latest image and then has a series of additional commands in the before_...
- 3 ans, 10 mois ago by Luc Saffre about #4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11) : But this is just a proof of concept for a workaround. The real issue is in invoke and should be fixed there.
- 3 ans, 10 mois ago by Luc Saffre in reply to Luc Saffre about #4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11) : Yes, the pipeline for amici now passes: [url gitlab.com/lino-framework/amici/-/pipelines/712512722]
- 3 ans, 10 mois ago by Luc Saffre about #4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11) (1 reply) : In the amici repo I now use our invoke fork, so the py3.11 issue is fixed. Next issue was some issue when building wheels for python-ldap. This should get fixed this by saying sudo apt-get install libldap2-dev libsasl2-dev
- 3 ans, 10 mois ago by Luc Saffre about #4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11) : Seems that the invoke project has administrative problems. There are multiple pull-requests for fixing this, but they can't seem to decide to merge it. I made my own fork [url github.com/lino-framework/invoke] and fixed it theoretically, but didn't yet manage to run the test suite. After reading [ur...
- 3 ans, 10 mois ago by Luc Saffre about #4732 (invoke causes 'inspect' has no attribute 'getargspec' in Python 3.11) : Created a new Ticket.