Skip to content

[Azure Pipelines] run wpt_integration_{macOS,win}_{py36,py38} entirely using py3#23536

Merged
foolip merged 1 commit intomasterfrom
foolip/wpt_integration_py3
May 12, 2020
Merged

[Azure Pipelines] run wpt_integration_{macOS,win}_{py36,py38} entirely using py3#23536
foolip merged 1 commit intomasterfrom
foolip/wpt_integration_py3

Conversation

@foolip
Copy link
Member

@foolip foolip commented May 12, 2020

py2 was needed to update the manifest only, but that now works with py3.

Incidentally fixes #23441,
where the problem appears to have been some mixing of py2 and py3.

This also renames job names from _py3 to _py36.

@foolip foolip changed the title [Azure Pipelines] run tools/wpt/ tests (wpt_integration_*_py3*) witho… [Azure Pipelines] run tools/wpt/ tests (wpt_integration_*_py3*) without py2 May 12, 2020
@foolip foolip force-pushed the foolip/wpt_integration_py3 branch from 36ab650 to fb6621b Compare May 12, 2020 15:12
@foolip
Copy link
Member Author

foolip commented May 12, 2020

I've gone over the 6 jobs in https://dev.azure.com/web-platform-tests/wpt/_build/results?buildId=47872 and while everything is passing, on macOS it looks like the system Python 2 is still being used for some steps. One can tell this from the deprecation warning in the "Install Python packages" step.

@Hexcles @stephenmcgruer what is the level of support we're trying to ensure doesn't regress for Python 3 and should test in CI?

@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-23536 May 12, 2020 15:47 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-23536 May 12, 2020 15:56 Inactive
@foolip
Copy link
Member Author

foolip commented May 12, 2020

I seem to have misread the results in #23536 (comment). After adding more logging I can confirm that it's the py3 versions of python itself, pip and tox being used on macOS and Windows. Going back to the earlier run I can't find what I reported, so I must have misread.

@foolip
Copy link
Member Author

foolip commented May 12, 2020

@Hexcles @stephenmcgruer looks like this will actually works, so it's ready for review.

@foolip foolip added the python3 label May 12, 2020
@foolip foolip changed the title [Azure Pipelines] run tools/wpt/ tests (wpt_integration_*_py3*) without py2 [Azure Pipelines] run the py3 wpt_integration_* tests entirely using py3 May 12, 2020
Copy link
Member

@Hexcles Hexcles left a comment

Choose a reason for hiding this comment

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

LGTM % nit: maybe name the jobs as wpt_integration_{macOS,win}_py36

@foolip
Copy link
Member Author

foolip commented May 12, 2020

I'll call it wpt_integration_{macOS,win}_{py3,py38} to match the 4 jobs being tweaked.

@foolip foolip changed the title [Azure Pipelines] run the py3 wpt_integration_* tests entirely using py3 [Azure Pipelines] run wpt_integration_{macOS,win}_{py3,py38} entirely using py3 May 12, 2020
@foolip foolip force-pushed the foolip/wpt_integration_py3 branch from e83172f to 81b9a5a Compare May 12, 2020 20:06
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-23536 May 12, 2020 20:07 Inactive
@Hexcles
Copy link
Member

Hexcles commented May 12, 2020

Sorry I meant if the *_py3 jobs themselves could be renamed.

@foolip
Copy link
Member Author

foolip commented May 12, 2020

Sure, I'd like those names better too.

…y using py3

py2 was needed to update the manifest only, but that now works with py3.

Incidentally fixes #23441,
where the problem appears to have been some mixing of py2 and py3.

This also renames job names from _py3 to _py36.
@foolip foolip force-pushed the foolip/wpt_integration_py3 branch from 81b9a5a to 29efffb Compare May 12, 2020 20:10
@foolip foolip changed the title [Azure Pipelines] run wpt_integration_{macOS,win}_{py3,py38} entirely using py3 [Azure Pipelines] run wpt_integration_{macOS,win}_{py36,py38} entirely using py3 May 12, 2020
@foolip foolip merged commit 01e8699 into master May 12, 2020
@foolip foolip deleted the foolip/wpt_integration_py3 branch May 12, 2020 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tools/wpt/ tests failing on Python 3.6 and 3.8 on Windows

4 participants