Aleksandr Kovalko
a719998e0b
Route calloc through PyObject_Calloc in C tokenizer
The C tokenizer's common.h redefines malloc/realloc/free to the
PyObject_* family but left calloc pointing at libc. Entity parsing in
Tokenizer_really_parse_entity allocates with calloc and later releases
the buffer with free (= PyObject_Free), which is undefined behavior:
under PYTHONMALLOC=debug it aborts in _PyMem_DebugRawFree, and
otherwise it can silently corrupt the heap.
Route calloc through PyObject_Calloc alongside the other allocator
macros so both calloc sites match the surrounding free.
Fixes #352 .
5 mesi fa
dependabot[bot]
1daaf888f4
Bump pytest from 9.0.2 to 9.0.3 ( #354 )
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/9.0.2...9.0.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-version: 9.0.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 mesi fa
dependabot[bot]
f9ae021a41
Bump pygments from 2.19.2 to 2.20.0 ( #351 )
Bumps [pygments](https://github.com/pygments/pygments ) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases )
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES )
- [Commits](https://github.com/pygments/pygments/compare/2.19.2...2.20.0 )
---
updated-dependencies:
- dependency-name: pygments
dependency-version: 2.20.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 mesi fa
dependabot[bot]
bc84526c80
Bump requests from 2.32.5 to 2.33.0 ( #350 )
Bumps [requests](https://github.com/psf/requests ) from 2.32.5 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-version: 2.33.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 mesi fa
Ben Kurtovic
892bffb0ae
One more action bump
7 mesi fa
Ben Kurtovic
8a0738bf93
Apparently we disagree on clang-format behavior
7 mesi fa
Ben Kurtovic
00824ee9bb
Run uv lock --upgrade
7 mesi fa
Ben Kurtovic
85ef04c795
Update GitHub Actions config
7 mesi fa
Ben Kurtovic
fbd09aa654
Add Python 3.14 to build and remove EOL 3.9
7 mesi fa
Ben Kurtovic
d9a889d417
release/0.7.2
1 anno fa
Ben Kurtovic
36e6157197
Improve Wikicode/Node typing
1 anno fa
Ben Kurtovic
4bcd87e8a8
Clean up unnecessary API docs
1 anno fa
Ben Kurtovic
4860387cf3
Disable C tokenizer building on PyPy ( fixes #341 )
1 anno fa
Ben Kurtovic
dd614455c2
Update release script
1 anno fa
Ben Kurtovic
c0d0e84c9b
release/0.7.1
1 anno fa
Ben Kurtovic
35cb3b4c4b
Fix building in C23 ( fixes #340 )
1 anno fa
Ben Kurtovic
067baef238
Support $WITH_EXTENSION to control building the C tokenizer
1 anno fa
Ben Kurtovic
68aebb08d3
Clean up docs
1 anno fa
Ben Kurtovic
8ac8a66c01
Fix coverage action and add pre-commit hook action
1 anno fa
Ben Kurtovic
2a04a68930
Try to get coveralls working again
1 anno fa
Ben Kurtovic
9bffd6278e
Try to get coveralls working again
1 anno fa
Ben Kurtovic
4540b2d58a
Add some debugging
1 anno fa
Ben Kurtovic
afff3e5529
Fix typo
1 anno fa
Ben Kurtovic
5402ba8485
Try to get coveralls working again
1 anno fa
Ben Kurtovic
9109c867e8
Update release script
1 anno fa
Ben Kurtovic
fd1b08c4ba
Try again for Windows
1 anno fa
Ben Kurtovic
e946c5f175
Try to get coveralls working again
1 anno fa
Ben Kurtovic
d0f697e5ba
Try to get coveralls working again
1 anno fa
Ben Kurtovic
c1e62d4f48
Try to get coveralls working again
1 anno fa
Ben Kurtovic
5d2aff1090
Try to get coveralls working again
1 anno fa
Ben Kurtovic
5d50de52e9
Try to get coveralls working again
1 anno fa
Ben Kurtovic
0335c50d09
Fix workflow again
1 anno fa
Ben Kurtovic
463a40d2f2
Try to fix workflow
1 anno fa
Ben Kurtovic
a9abc78698
Fix workflow
1 anno fa
Ben Kurtovic
432069770c
Fix workflow
1 anno fa
Ben Kurtovic
ccc1bc69a4
Clean up github actions workflows
1 anno fa
Ben Kurtovic
90f5bf65b3
Experiment with cibuildwheel
1 anno fa
Ben Kurtovic
8cf2514836
More packaging cleanup
1 anno fa
Ben Kurtovic
ed9d988db4
Update docs
1 anno fa
Ben Kurtovic
96f51aad61
Add pyright pre-commit hook
1 anno fa
Ben Kurtovic
17d993594d
Switch to pyproject.toml + uv
1 anno fa
Ben Kurtovic
16819ac0ce
Fix docs config
1 anno fa
Ben Kurtovic
4d8ac13e54
Version bump
1 anno fa
Ben Kurtovic
374affe037
release/0.7.0
1 anno fa
Ben Kurtovic
16a7761827
Update changelog
1 anno fa
Ben Kurtovic
ec7f98ddb6
Encoding required on Windows
1 anno fa
Ben Kurtovic
d46f047dcb
Fix build-wheels workflow
1 anno fa
Ben Kurtovic
ab4caf3805
Fix a failing test
1 anno fa
Ben Kurtovic
c4ac99258f
Fix pyright issues in tests
1 anno fa
Ben Kurtovic
f7a8702cae
Fix pyright issues in src/mwparserfromhell
1 anno fa