Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade the test farm tests to use Python 3 #7857

Closed
bmw opened this issue Mar 23, 2020 · 2 comments
Closed

Upgrade the test farm tests to use Python 3 #7857

bmw opened this issue Mar 23, 2020 · 2 comments

Comments

@bmw
Copy link
Member

@bmw bmw commented Mar 23, 2020

Our test farm test script only supports Python 2 which reached its end-of-life and going to become harder and harder to install. It has been removed from Homebrew and is planned to be removed from Ubuntu 20.04 LTS. So we can continue to trigger tests locally which is necessary to do Certbot releases, we should make the script work with Python 3. I do not think we should keep Python 2 compatibility when doing this.

To do this, we at least need to:

There may be other issues I'm not aware of but that should be most of the work with the most significant work being upgrading Fabric which revamped its API.

@maximillianh
Copy link
Member

@maximillianh maximillianh commented Mar 25, 2020

@ohemorange is investigating.

@ohemorange
Copy link
Contributor

@ohemorange ohemorange commented Apr 2, 2020

Just going to start a list of some relevant reminders for myself

  • test with boulder not found -- the gopath probably isn't there because of the overriding the environment "for security" thing. the one that's buggy.
  • test with branch not specified and specific PR
  • fix the universal newline thing
  • update mystical guide
@bmw bmw closed this in #7876 Apr 9, 2020
bmw pushed a commit that referenced this issue Apr 9, 2020
Fixes #7857.

* stop using urllib2 in test farm tests

* use six for urllib instead

* remove fabric lcd usage

* correct lcd removal

* remove fabric cd

* convert some remote calls to v2

* move more cxns to v2

* get run working with prefix

* get sudo commands working

* remove final fabric v1 references including local

* update requirements and README

* add new venv to gitignore

* update version used in travis

* remove deploy_script unused kwargs

* fix killboulder implementation so I can test creating a new boulder server

* hardcode the gopath due to broken env manamagement in fabric2

* Update letstest readme

* move the comment about hardcoding the ggopath

* catch BaseException instead of Exception

* work around fabric #2007

* use connections as context managers to ensure they're closed

* remove reference to virtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.