diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 727370a..927f141 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: name: Test Python ${{ matrix.python-version }} (${{ matrix.os }}) strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -37,7 +37,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.11" - name: Install requirements run: python -m pip install wheel setuptools build diff --git a/CHANGELOG.md b/CHANGELOG.md index 17f24f7..911c24c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Changelog --------- Unreleased +- added support for python 3.11 1.2.1 - (SECURITY) Use [defusedxml](https://github.com/tiran/defusedxml) to prevent XML SAX vulnerabilities ([#94](https://github.com/stchris/untangle/pull/94)) diff --git a/README.md b/README.md index 1073f1b..75399d6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ untangle * Children can be accessed with ``parent.child``, attributes with ``element['attribute']``. * You can call the ``parse()`` method with a filename, an URL or an XML string. * Substitutes ``-``, ``.`` and ``:`` with ``_`` ```` can be accessed with ``foobar.foo_bar``, ```` can be accessed with ``foo_bar_baz`` and ```` can be accessed with ``foo_bar.foo_baz`` -* Works with Python 3.7 - 3.10 +* Works with Python 3.7 - 3.11 Installation ------------ diff --git a/setup.py b/setup.py index 13ea21a..764bd47 100755 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], )