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

Python 3 and Cylc 8 conversion #2841

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Python 3 and Cylc 8 conversion #2841

wants to merge 1 commit into from

Conversation

psa
Copy link

@psa psa commented Dec 11, 2024

This branch is from the 2017.10.0 tag

  • Ran the Python 2 to 3 converter over the code
  • Fixed a number of py2 -> py3 issues around dividing two ints and getting an int vs getting a float in return
  • Added significant logging to assist with debugging
  • Put in some handling for getting None back and attempting to do a string comparison on it.
  • urllib.pathname2url -> urllib.request.pathname2url
  • Remove user_at_host from Rose Bush DAO as it's not in Cylc 8
  • Nullified host, submit_method and submit_method_id as not in Cylc8
  • Added exception handling to SQLite3 calls in RoseBushDAO
  • Coerced a lot of lists with list()

* Ran the Python 2 to 3 converter over the code
* Fixed a number of py2 -> py3 issues around dividing two ints and getting
  an int vs getting a float in return
* Added significant logging to assist with debugging
* Put in some handling for getting None back and attempting to
  do a string comparison on it.
* urllib.pathname2url -> urllib.request.pathname2url
* Remove user_at_host from Rose Bush DAO as it's not in Cylc 8
* Nullified host, submit_method and submit_method_id as not in Cylc8
* Added exception handling to SQLite3 calls in RoseBushDAO
* Coerced a lot of lists with list()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant