poise / poise-python

A Chef cookbook to provide a unified interface for installing Python, managing Python packages, and creating virtualenvs.
Apache License 2.0
124 stars 108 forks source link

Change Ubuntu Bionic to use 'python3' package in leiu of a more specific version #114

Closed signe closed 6 years ago

signe commented 6 years ago

Change Ubuntu Bionic to use 'python3' package in leiu of a more specific version:

python3-dev requires python3-distutils, but python3.6-dev and python3.7-dev don't. python3-distutils is required for pip installation

coderanger commented 6 years ago

Heh, you caught me adding features without actually testing them O:-) Still working on getting kitchen-docker to play nice with 18.04.

coderanger commented 6 years ago

You can override this locally via options package_name: 'python3' for now.

coderanger commented 6 years ago

None of this makes any sense. python-dev should be required to hack on Python itself, but distutils is part of the Python standard library. I think Canonical fucked things up. Working on getting in contact with them.

coderanger commented 6 years ago

That should take care of it. Not thrilled about the special case but so it goes :)