mozilla / bleach

Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes
https://bleach.readthedocs.io/en/latest/
Other
2.65k stars 253 forks source link

Update dev requirements #688

Closed willkg closed 1 year ago

willkg commented 1 year ago

This updates dev requirements. While doing that, I split out flake8 into its own world because its dependencies conflict with other dependencies.

willkg commented 1 year ago

I updated the main branch checks dropping the lint workflow items and adding the Python 3.11 items.

willkg commented 1 year ago

While I'm redoing workflows, I think I'm going to make everything tox-centric in this PR.

willkg commented 1 year ago

This looks a lot more correct now:

Run tox
GLOB sdist-make: /home/runner/work/bleach/bleach/setup.py
py39 create: /home/runner/work/bleach/bleach/.tox/py39
tox: py39
py39-tinycss2 create: /home/runner/work/bleach/bleach/.tox/py39-tinycss2
tox: py39-tinycss2
py39-build-no-lang create: /home/runner/work/bleach/bleach/.tox/py39-build-no-lang
tox: py39-build-no-lang
py39-docs create: /home/runner/work/bleach/bleach/.tox/py39-docs
tox: py39-docs
py39-format-check create: /home/runner/work/bleach/bleach/.tox/py39-format-check
tox: py39-format-check
py39-lint create: /home/runner/work/bleach/bleach/.tox/py39-lint
tox: py39-lint
py39-vendorverify create: /home/runner/work/bleach/bleach/.tox/py39-vendorverify
tox: py39-vendorverify
willkg commented 1 year ago

That fixes running CI with pypy.

Run tox
GLOB sdist-make: /home/runner/work/bleach/bleach/setup.py
pypy3 create: /home/runner/work/bleach/bleach/.tox/pypy3
tox: pypy3
pypy3-tinycss2 create: /home/runner/work/bleach/bleach/.tox/pypy3-tinycss2
tox: pypy3-tinycss2

Now to re-fix tox utility environments so anyone can run them, but they only run in Linux in CI.

willkg commented 1 year ago

I changed the name of the pypy jobs, so I had to update branch protections for main accordingly.