Skip to content

Commit 0c38bbd

Browse files
authored
Merge pull request #7 from CTPUG/bugfix/fix_ci
Update the GitHub actions so that they work again: - Updated python versions tested - Switched to xml.extree.ElementTree as markdown no longer imports that uncoditionally - Updated github actions to latest versions to silence github complaints - Updated test tool versions to support updated python versions
2 parents 1c7b1be + 5241794 commit 0c38bbd

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: [3.6, 3.7, 3.8, 3.9]
10+
python-version: ['3.10', 3.11, 3.12, 3.13, 3.14]
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v6
1313
- name: Set up Python ${{ matrix.python-version }}
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: ${{ matrix.python-version }}
1717
- name: Install Dependencies

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pytest==6.0.2
2-
pytest-flake8==1.0.6
3-
xmltodict==0.12.0
1+
pytest==9.0.3
2+
pytest-flake8==1.3.0
3+
xmltodict==1.0.4

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from unittest import TestCase
2+
import xml.etree.ElementTree as etree
23

34
import xmltodict
45

56
from markdown import Markdown
6-
from markdown.util import etree
77

88
from mdx_variables import VariablesExtension, VariablePattern, makeExtension
99

0 commit comments

Comments
 (0)