Skip to content

Moving test/py to Python 3

Tom Rini u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 0 repliesNew
  2. v2 posting 2/213 patches 0 repliesSuperseded
  3. v2 RFC posting 1/21 of 10 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13gitlab-ci: Fix indentation in some stanzas.gitlab-ci.yml+20 -200 replies
1/13gitlab-ci: Fix indentation in some stanzas+0 -00 replies
2/13gitlab-ci: Prepend to PATH rather than replace it.gitlab-ci.yml+1 -10 replies
2/13gitlab-ci: Prepend to PATH rather than replace it+0 -00 replies
3/13test/py: Split mark to multiple linestest/py/tests/test_android/test_avb.py test/py/tests/test_mmc_wr.py+9 -40 replies
3/13test/py: Split mark to multiple lines+0 -00 replies
4/13test/py: Fix pytest4 deprecation warnings.gitlab-ci.yml .travis.yml test/py/conftest.py+14 -200 replies
4/13test/py: Fix pytest4 deprecation warnings+0 -00 replies
5/13test/py: Automated conversion to Python 3test/py/conftest.py test/py/multiplexed_log.py test/py/test.py +5 more+71 -800 replies
5/13test/py: Automated conversion to Python 3+0 -00 replies
6/13test/py: Manual python3 fixestest/py/conftest.py test/py/multiplexed_log.py test/py/pytest.ini +2 more+19 -120 replies
6/13test/py: Manual python3 fixes+0 -00 replies
7/13test/py: test_ut.py: Ensure we use bytestest/py/tests/test_ut.py+3 -30 replies
7/13test/py: test_ut.py: Ensure we use bytes+0 -00 replies
8/13test/py: test_efi_selftest.py: Updates for python 3 supporttest/py/tests/test_efi_selftest.py+18 -180 replies
8/13test/py: test_efi_selftest.py: Updates for python 3 support+0 -00 replies
9/13test/py: Update test_fs to decode check_output callstest/py/tests/test_fs/conftest.py+12 -120 replies
9/13test/py: Update test_fs to decode check_output calls+0 -00 replies
10/13test/py: Rework test.py to be a different kind of wrappertest/py/test.py+4 -160 replies
10/13test/py: Rework test.py to be a different kind of wrapper+0 -00 replies
11/13test/py: Update docs, add requirements.txt for piptest/py/README.md test/py/requirements.txt+48 -210 replies
11/13test/py: Update docs, add requirements.txt for pip+0 -00 replies
12/13gitlab/travis: Rework how and when we use virtualenv in order to use python3.gitlab-ci.yml .travis.yml+19 -210 replies
12/13gitlab/travis: Rework how and when we use virtualenv in order to use python3+0 -00 replies
13/13test/py: Use raw strings more to avoid deprecation warningstest/py/tests/test_bind.py test/py/u_boot_spawn.py+3 -60 replies
13/13test/py: Use raw strings more to avoid deprecation warnings+0 -00 replies

Reviews trailers per patch

All 26 patches have a Reviewed-by or Acked-by.

PatchStephen WarrenSimon Glass
1/13R-b T-b R-b
1/13R-b T-b R-b
2/13R-b T-b R-b
2/13R-b T-b R-b
3/13R-b T-b R-b T-b
3/13R-b T-b R-b T-b
4/13R-b T-b R-b T-b
4/13R-b T-b R-b T-b
5/13R-b T-b R-b T-b
5/13R-b T-b R-b T-b
6/13T-b R-b T-b
6/13T-b R-b T-b
7/13R-b T-b R-b T-b
7/13R-b T-b R-b T-b
8/13T-b R-b T-b
8/13T-b R-b T-b
9/13T-b R-b T-b
9/13T-b R-b T-b
10/13T-b R-b T-b
10/13T-b R-b T-b
11/13T-b R-b T-b
11/13T-b R-b T-b
12/13T-b R-b T-b
12/13T-b R-b T-b
13/13T-b R-b T-b
13/13T-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [U-Boot] [PATCHv3 00/13] Moving test/py to Python 3

So, here's the third and I think final pass at moving our test/py code over to Python 3. Over v2 I've integrated reviews/test tags and integrated Stephen's changes to allow for Python 3.5 to be used still.

I do want to note that while I do understand the desire to use the distribution packages for python modules I don't think that's reproducible enough long term. That's what lead to our current pinning to pytest 2.8.7 (incompatible upstream changes) and there's just so many different versions packaged in different releaes.

I'll post the minor patches for the Docker images as well in reply to this message shortly.

Thanks again for the reviews, changes and suggestions all!

Signature · 1 line
Tom