learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
83 stars 57 forks source link

Dev server doesn't work with Fabric 2 #2578

Open milescalabresi opened 6 years ago

milescalabresi commented 6 years ago

The newest release of fabric (version 2) has some major changes to its API that are not compatible with our setup for dev servers, so fab setup fails with the message ImportError: No module named fabric.api. We should look into upgrading our setup eventually, but for now I will add a note to vagrant.rst that new users should make sure to install Fabric 1 on their dev servers

willgearty commented 3 years ago

http://www.fabfile.org/upgrading.html

milescalabresi commented 7 months ago

After upgrading to Python 3, this setup has become more precarious. Given the dramatic API changes in Fabric 2 and the lack of long-term support for things like fabric3 (compatibility fork) and fabtools proper, it may also be worth exploring alternatives. From initial searches, the infoke, pexpect, puppet, and salt libraries are worth investigating. As is a bigger hammer like Ansible...

Note this issue may help with #1432.