You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
This is meant as an FYI, not an issue to solve in this cookbook.
My team encountered an issue with the python3.6-distutils package (added in 861bf06) on Ubuntu 16.04 while using the deadsnakes PPA to pick up Python 3.6.
While this cookbook doesn’t directly support using the deadsnakes PPA, it works well enough like so:
python_runtime 'myapp' do
provider :system
version '3'
end
python_virtualenv "venv" do
path "#{common_data['virtualenv_path']}"
user 'ubuntu'
python 'myapp'
end
pip_requirements "#{common_data['requirements_path']}" do
path "#{common_data['requirements_path']}"
python 'myapp'
virtualenv 'venv'
user 'ubuntu'
end
STDOUT:
x.x.x.x STDERR: Traceback (most recent call last):
x.x.x.x File "<stdin>", line 42, in <module>
x.x.x.x AttributeError: type object 'InstallRequirement' has no attribute 'from_line'
x.x.x.x ---- End output of ["/home/ubuntu/env1/inmail1/bin/python", "-", "setuptools"] ----
x.x.x.x Ran ["/home/ubuntu/env1/inmail1/bin/python", "-", "setuptools"] returned 1
This is meant as an FYI, not an issue to solve in this cookbook.
My team encountered an issue with the
python3.6-distutils
package (added in 861bf06) on Ubuntu 16.04 while using the deadsnakes PPA to pick up Python 3.6.While this cookbook doesn’t directly support using the deadsnakes PPA, it works well enough like so:
But it should be noted that the 18.04 hacks break this. Hopefully this helps someone in the future!
The text was updated successfully, but these errors were encountered: