Граф коммитов

925 Коммитов

Автор SHA1 Сообщение Дата
Will Kahn-Greene 73871d766d Prep for a 6.2.0 release 2024-10-29 14:28:53 -04:00
Will Kahn-Greene 156c5898b3 Remove six dependency from html5lib (#618)
This way lies madness, but at least we don't have a six dependency
anymore.

The way this work is that we vendored html5lib 1.1, but then this
applies a 01_html5lib_six.patch to that which changes imports from six
to import from bleach.six_shim.

This updates the vendor management code and vendorverify to install
html5lib 1.1 and then apply the patch and then compare with what's in
the tree. If we end up applying further patches in the future, we can
use this model to do that.
2024-10-28 14:32:10 -04:00
Will Kahn-Greene 5a4790716e Drop six as a requirement; add six_shim.py (#618) 2024-10-28 14:32:10 -04:00
Will Kahn-Greene 6a2ec5ca37 Update known-good versions of tinycss2 (#732) 2024-10-25 14:47:29 -04:00
Will Kahn-Greene 32efc2656b Fix additional < followed by characters and EOF issues (#728)
This fixes these two cases:

* "<some thing thing" where "thing" is repeated twice which kicks up a
  parser error because it thinks it's a duplicated attribute
* "<some thing thing2 " where the space at the end causes a
  expected-end-of-tag-but-got-eof parser error to pop up

In both of these cases, we want the data to be treated as character
data--not a tag.
2024-10-25 14:12:50 -04:00
Will Kahn-Greene 648a97d088 Add support for Python 3.13 (#736) 2024-10-23 16:07:46 -04:00
Will Kahn-Greene d1e40ed3d9 Drop support for Python 3.8 (#737) 2024-10-23 15:46:42 -04:00
Will Kahn-Greene 4bc1bff368 Update dev requirements 2024-07-16 14:02:06 -04:00
Will Kahn-Greene fcbe8f7fb1 Update dev dependencies
This updates dev dependencies, fixes the lint make rule, and fixes a
formatting issue in tests/test_unicode.py.
2024-04-15 11:10:06 -04:00
dependabot[bot] f8fb848268 Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 07:37:55 -05:00
dependabot[bot] 55d9d60e6b Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 14:38:37 -05:00
Will Kahn-Greene c04958dcb9 Fix spelling error 2023-10-06 15:28:36 -04:00
Will Kahn-Greene 90441daa5a Update for v6.1.0 release 2023-10-06 15:28:36 -04:00
Will Kahn-Greene c4a4eba4a3 Fix linkify with arrays in querystring (#436) 2023-10-06 14:40:39 -04:00
Will Kahn-Greene 11d8c9bbcb Handle more cases with < folloed by character data (#705)
This adds handling for two more cases:

1. something like "<word word". This throws an eof-in-attribute-name
   parser error.
2. something like "<word word=word". This throws an
   eof-in-attribute-value-no-quotes error.

Both of these work correctly now.
2023-10-06 14:00:12 -04:00
Will Kahn-Greene b56aa7c805 Fix entities inside a tags in linkification (#704) 2023-10-06 13:43:01 -04:00
Will Kahn-Greene 6f0aaaaa98 Update cap for tinycss2 to <1.3 (#702) 2023-10-06 12:18:45 -04:00
Will Kahn-Greene b60bae4cde Remove docs/requirements.txt from manifest 2023-10-06 12:18:45 -04:00
Will Kahn-Greene 68a62c00b9 Fix Sphinx requirement and update it 2023-10-05 17:39:34 -04:00
dependabot[bot] bf88908ba2 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 16:48:31 -04:00
Will Kahn-Greene cdaa9cbd20 Add dependabot for github actions 2023-10-05 16:39:20 -04:00
Will Kahn-Greene 0f0fbcbf03
Merge pull request #715 from willkg/710-python312-2
Add 3.12 to classifiers (#710)
2023-10-03 10:38:51 -04:00
Will Kahn-Greene aee0bc0c64
Add 3.12 to classifiers (#710) 2023-10-03 10:28:28 -04:00
Will Kahn-Greene aedee3ef84
Merge pull request #714 from willkg/710-python312
Add support for python 3.12 (#710)
2023-10-03 10:25:51 -04:00
Will Kahn-Greene 3ec5016d7b
Fix linting issues 2023-10-03 09:41:36 -04:00
Will Kahn-Greene 460eca530b
Add support for python 3.12 (#710)
This adds support for Python 3.12 mostly by adding it to test matrices.
This updates dev requirements to pick up versions that fixed Python 3.12
issues.
2023-10-03 09:34:58 -04:00
Will Kahn-Greene 39451b48a4
Merge pull request #713 from willkg/update-changes
Update changelog re: dropped Python 3.7 support
2023-09-18 13:41:12 -04:00
Will Kahn-Greene d67b0cc5b3
Start 6.1.0 development 2023-09-18 13:31:14 -04:00
Will Kahn-Greene 89b0d83828
Update changelog re: dropped Python 3.7 support 2023-09-18 13:28:09 -04:00
Will Kahn-Greene 9596b3198d
Merge pull request #712 from willkg/709-python-requires
Fix python_requires metadata to be >= 3.8
2023-09-18 12:54:12 -04:00
Will Kahn-Greene cef9a8e716
Fix python_requires metadata to be >= 3.8 2023-09-18 12:47:34 -04:00
Will Kahn-Greene adf0d5b60a
Merge pull request #711 from willkg/709-py37
Remove support for Python 3.7 (#709)
2023-09-18 12:42:07 -04:00
Will Kahn-Greene 8f0f4f8ec6
Remove support for Python 3.7 (#709) 2023-09-18 12:20:31 -04:00
Will Kahn-Greene 13d6c0c91d
Merge pull request #701 from willkg/rtd-fix
Fix building on readthedocs
2023-01-23 13:07:53 -05:00
Will Kahn-Greene 532ba9f15d
Fix building on readthedocs 2023-01-23 12:35:29 -05:00
Will Kahn-Greene 2a6ac2333b
Merge pull request #700 from willkg/readme-fix
Fix deprecation note so GitHub renders it better
2023-01-23 12:34:12 -05:00
Will Kahn-Greene c6b00a203d
Fix deprecation note so GitHub renders it better 2023-01-23 12:22:26 -05:00
Will Kahn-Greene e99ec3029b
Merge pull request #699 from willkg/deprecate-bleach
Add note to README about deprecation
2023-01-23 12:00:22 -05:00
Will Kahn-Greene b4b1792763
Add note to README about deprecation 2023-01-23 11:51:39 -05:00
Will Kahn-Greene 324b03d82a
Merge pull request #697 from willkg/release-6-0-0
Prep for 6.0.0 release
2023-01-23 11:32:20 -05:00
Will Kahn-Greene 00d69418b5
Prep for 6.0.0 release 2023-01-23 11:14:06 -05:00
Will Kahn-Greene 45bacb0158
Merge pull request #696 from willkg/docs-conf-cleanup
Clean up docs/conf.py file
2023-01-23 10:34:27 -05:00
Will Kahn-Greene 15fa368793
Clean up docs/conf.py file
This file was originally generated in 2012 and has been updated
periodically since then. Since then, Sphinx has changed and quickstart
generates a much smaller conf.py file. This updates the conf.py
file that we have to the newer reduced form.
2023-01-23 10:26:59 -05:00
Will Kahn-Greene 687ca2b1d7
Merge pull request #695 from willkg/dev-updates
Update dev requirements
2023-01-23 10:11:16 -05:00
Will Kahn-Greene 2890c71101
Update dev requirements 2023-01-23 09:54:35 -05:00
Will Kahn-Greene b7e8da35b1
Merge pull request #694 from willkg/minor-fixes
Convert tags, skip_tags, recognized_tags to sets; fix doctests; f-strings
2023-01-23 08:40:10 -05:00
Will Kahn-Greene aec2c0efc3
Switch union to | 2023-01-21 22:15:02 -05:00
Will Kahn-Greene 16795c57bd
Missed one last list -> set 2023-01-21 22:07:52 -05:00
Will Kahn-Greene b2d5c98a41
Fix one last "list" 2023-01-21 22:02:43 -05:00
Will Kahn-Greene 3085abc674
Fix test data to pass sets instead of lists
This fixes the test data to pass sets instead of lists for "tags",
"skip_tags", "recognized_tags", and "protocols".
2023-01-21 21:56:01 -05:00