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 code updates for str and byte operations #39275

Merged
merged 1 commit into from Jan 31, 2023

Conversation

ricardoamador
Copy link
Contributor

@ricardoamador ricardoamador commented Jan 31, 2023

Update python subprocess checkout output code to transform output to string for regex check in CheckCIPDPackageExists method.

List which issues are fixed by this PR. You must list at least one issue.

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@ricardoamador ricardoamador marked this pull request as ready for review January 31, 2023 00:55
Copy link
Member

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ricardoamador ricardoamador added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 31, 2023
@auto-submit auto-submit bot merged commit 9cc2a8e into flutter:main Jan 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 31, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jan 31, 2023
…119592)

* 999e5e5fc Rebase all (flutter/engine#38855)

* 9cc2a8e8f Update bytes str code (flutter/engine#39275)

* 9448f2966 Revert "[fuchsia] Diagnostics directory rights are R* (#39203)" (flutter/engine#39271)
godofredoc added a commit that referenced this pull request Feb 7, 2023
…and … (#39443)

* Update infrastructure python code to be compatible with python 2 and python 3 (#39133)

* Compatibility with python2 and python3

* Formatting

* Updated to use a function instead of decoding bytes in multiple places.

* Formatting and whitespace cleanup.

* Fix import statement.

* Linter change for docstring.

* Formatting.

* Remove function from run_tests.py since it is a pain to import.

* Add todo message for python 2 deprecation.

* Updated copyright year.

* Migrate engine_v2_builds to python3. (#39404)

* Migrate engine_v2_builds to python3.

Python2 has already been deprecated and the the python binary removed
from path.

* Also use python3 for global generators.

* Update bytes str code (#39275)

* Fix conflicts.

---------

Co-authored-by: Ricardo Amador <32242716+ricardoamador@users.noreply.github.com>
@ricardoamador ricardoamador deleted the python3_updates_2 branch February 5, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
2 participants