deal with backport StrEnum doesn't work with python <3.10 and requirements.txt for backports

This commit is contained in:
2025-10-06 16:53:52 +02:00
parent b638237f66
commit c68aa29141
3 changed files with 8 additions and 11 deletions

View File

@@ -33,16 +33,6 @@ jobs:
pip install pytest
pip install -r requirements.txt
- name: Backport to 3.8
if: matrix.python-version == '3.8'
run: |
pip install backports.zoneinfo
- name: Backport StrEnum
if: matrix.python-version < '3.11'
run: |
pip install backports.strenum
- name: Test with pytest
run: |
python -m pytest tests