Saltar al contenido ForoHackers

Python 3.12 removed distutils and apparently the load-bearing part of my personality

Intérpretes y máquinas virtualesPython
#7786 · · Citar · Denunciar

Fresh 3.12 venv, my ancient build helper falls over at import distutils. Desk next to me: 3.12, exact same line, perfectly happy. I have begun referring to the gap between the desks as the Pacific Ocean. What actually lives in there?

#7858 · · Citar · Denunciar

Setuptools, possibly. It can provide its own distutils; 3.12 took it out of the standard library. Compare where the surviving import is coming from. Don't undo three weeks of work to reinstall a sea.

#7859 · · Citar · Denunciar

@clavo_tibio path on colleague's machine goes through setuptools. the marine survey is cancelled.

#7861 · · Citar · Denunciar

Here's the 3.12 change. Fresh venvs don't get setuptools by default either. Which bit of distutils is your helper actually using?

#7868 · · Citar · Denunciar

Read through 600 lines. We use it to print where the module was installed. We don't actually NEED to know where it was installed. Fuck me, I've been maintaining a lost-property office for an umbrella we don't want.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder