Split up Windows tests relying on urlunparse behaviour - #12788
Merged
pradyunsg merged 1 commit intoJun 25, 2024
Conversation
Contributor
Author
|
Ah, there's another case I missed. Will fix that up EDIT: fixed and squashed into the single commit |
matthewhughes934
force-pushed
the
fix-failing-tests-cpython-behaviour
branch
3 times, most recently
from
June 23, 2024 17:50
042d655 to
ebdd028
Compare
matthewhughes934
marked this pull request as ready for review
June 23, 2024 18:14
uranusjr
reviewed
Jun 24, 2024
Comment on lines
1379
to
1387
Member
There was a problem hiding this comment.
Instead of trying to check versions, would it be better if we just try to parse one URL to determine the version?
Contributor
Author
There was a problem hiding this comment.
Instead of trying to check versions, would it be better if we just try to parse one URL to determine the version?
Good idea, that will save us having to update these versions. Trying that with f9e5477e68eb1c1e2c0c2256be30491705f34412
There was a behavioural change to `urllib.parse.urlunparse`[1] that affects some of our tests on Windows. With the understanding that the new behaviour is indeed desired, split up some tests relying on this behaviour depending on the version of Python. The sample URL used to check this behaviour was taken from a test in the upstream change (with the new behaviour this URL will round-trip parsing) [1] python/cpython#113563
matthewhughes934
force-pushed
the
fix-failing-tests-cpython-behaviour
branch
from
June 24, 2024 11:52
f9e5477 to
16f0617
Compare
Member
|
Windows is not really my domain anymore, but I just wanted to say thank you for helping us unbreak CI. It's been 🔴 a lot in the past few months, and getting it to stay 🍏 has been a real chore, so thank you :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There was a behavioural change to
urllib.parse.urlunparse[1] thataffects some of our tests on Windows. With the understanding that the
new behaviour is indeed desired, split up some tests relying on this
behaviour depending on the version of Python.
The sample URL used to check this behaviour was taken from a test in the
upstream change (with the new behaviour this URL will round-trip
parsing)
[1] python/cpython#113563