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

test: update html attribute order #235

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

miketheman
Copy link
Member

With bleach 5.0.0, attribute order has changed to be preserved from the
origin, rather than alphabetized for consistency.

These tests failed due to the output change.

Closes: #234

Signed-off-by: Mike Fiedler miketheman@gmail.com

@miketheman
Copy link
Member Author

miketheman commented Apr 18, 2022

Well, this is now fun. 😁 Since bleach 5.x dropped support for Python 3.6, the older 4.x version is installed, and fails the tests.

Question: When do we feel comfortable dropping support for Python 3.6 testing (or even listed in the classifiers)?

@di
Copy link
Sponsor Member

di commented Apr 18, 2022

Question: When do we feel comfortable dropping support for Python 3.6 testing (or even listed in the classifiers)?

I'm fine with dropping support now, Python 3.6 is EOL.

@miketheman miketheman force-pushed the miketheman/ci-fails-for-order-of-234 branch from 8bc927c to adaadc3 Compare April 19, 2022 16:48
@di
Copy link
Sponsor Member

di commented Apr 19, 2022

@miketheman Would you mind dropping support in a separate PR?

@miketheman
Copy link
Member Author

@miketheman Would you mind dropping support in a separate PR?

No problem, will move that commit (and a couple others) to a different PR, and get that done before this one.

With bleach 5.0.0, attribute order has changed to be preserved from the
origin, rather than alphabetized for consistency.

These tests failed due to the output change.

Closes: pypa#234

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman force-pushed the miketheman/ci-fails-for-order-of-234 branch from adaadc3 to 790b423 Compare April 19, 2022 17:17
@miketheman
Copy link
Member Author

@di our powers combined, I think we did it!

@di di merged commit 88b057a into pypa:main Apr 19, 2022
@miketheman miketheman deleted the miketheman/ci-fails-for-order-of-234 branch April 19, 2022 17:20
@di
Copy link
Sponsor Member

di commented Apr 19, 2022

Thank you @miketheman! One last thing, would you like to create a PR to bump for release?

@miketheman
Copy link
Member Author

Sure thing - coming right up!

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.

CI fails for order of rendered HTML directives
2 participants