Update pipeline_settings to support Python 3