diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b4a587e2..efad2bcb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,16 +9,17 @@ on: jobs: tests: name: ${{ matrix.name }} - runs-on: ${{ matrix.os }}-latest + runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - - {name: Python 3.8, python: '3.8', os: ubuntu} - - {name: Python 3.9, python: '3.9', os: ubuntu} - - {name: Python 3.10, python: '3.10', os: ubuntu} - - {name: Python 3.11, python: '3.11', os: ubuntu} - - {name: Python 3.12, python: '3.12', os: ubuntu} + - {name: Python 3.8, python: '3.8'} + - {name: Python 3.9, python: '3.9'} + - {name: Python 3.10, python: '3.10'} + - {name: Python 3.11, python: '3.11'} + - {name: Python 3.12, python: '3.12'} + - {name: Python 3.13, python: '3.13-dev'} steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} @@ -26,7 +27,7 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install libxml2 - if: startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.13') + if: startsWith(matrix.python, '3.13') run: | sudo apt-get install libxml2-dev libxslt-dev - name: Install dependencies diff --git a/pyproject.toml b/pyproject.toml index 3930cc28..4c0a5a7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Code Generators", diff --git a/tests/codegen/handlers/test_update_attributes_effective_choice.py b/tests/codegen/handlers/test_update_attributes_effective_choice.py index c948025d..8dcd106b 100644 --- a/tests/codegen/handlers/test_update_attributes_effective_choice.py +++ b/tests/codegen/handlers/test_update_attributes_effective_choice.py @@ -81,6 +81,7 @@ def test_process_symmetrical_sequence(self): AttrFactory.element( name="b", namespace="b", restrictions=restrictions.clone() ), + AttrFactory.element(name="b", namespace="b"), # no paths, impossible! AttrFactory.element(name="c", namespace="b"), AttrFactory.element( name="d", namespace="b", restrictions=Restrictions(choice=1)