pallets / jinja

A very fast and expressive template engine.
https://jinja.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
10.12k stars 1.6k forks source link

test with python 3.13 #1977

Closed davidism closed 2 months ago

davidism commented 2 months ago

Run tests on Python 3.13. Python 3.7 requires an old version of trio, but 3.13 fails with that version. Add a new pin file for tests on 3.7. Update the update requirements tox env to be run with tox r -m update.

tests/test_loader.py::test_package_zip_list fails on 3.13 as there is no longer a loader._files attribute. I know I refactored this a while ago, I can't remember why I didn't use importlib.resources. I don't have time to refactor to use importlib.resources right now, so marking this test xfail for now.