diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 931adbd..6c6ffea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: max-parallel: 4 matrix: platform: [ubuntu-latest, windows-latest] - tox-env: [py36, py37, py38, py39, nolxml, nohtml5lib] + tox-env: [py36, py37, py38, py39, py310, nolxml, nohtml5lib] include: - tox-env: py36 python-version: 3.6 @@ -31,11 +31,14 @@ jobs: - tox-env: py39 python-version: 3.9 continue-on-error: true + - tox-env: py310 + python-version: '3.10' + continue-on-error: true - tox-env: nolxml - python-version: 3.9 + python-version: '3.10' continue-on-error: false - tox-env: nohtml5lib - python-version: 3.9 + python-version: '3.10' continue-on-error: false env: diff --git a/docs/src/markdown/about/changelog.md b/docs/src/markdown/about/changelog.md index 871684a..d5f603b 100644 --- a/docs/src/markdown/about/changelog.md +++ b/docs/src/markdown/about/changelog.md @@ -2,6 +2,7 @@ ## 2.3 +- **NEW**: Officially support Python 3.10. - **NEW**: Add static typing. - **NEW**: `:has()`, `:is()`, and `:where()` now use use a forgiving selector list. While not as forgiving as CSS might be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading commas, or diff --git a/setup.py b/setup.py index 813a48d..7370154 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ def get_description(): 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules', 'Typing :: Typed' diff --git a/soupsieve/__meta__.py b/soupsieve/__meta__.py index 6e43175..2d40a9c 100644 --- a/soupsieve/__meta__.py +++ b/soupsieve/__meta__.py @@ -192,5 +192,5 @@ def parse_version(ver: str) -> Version: return Version(major, minor, micro, release, pre, post, dev) -__version_info__ = Version(2, 3, 0, ".dev") +__version_info__ = Version(2, 3, 0, "final") __version__ = __version_info__._get_canonical() diff --git a/tox.ini b/tox.ini index 81a4fd6..f2f6ad0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,7 @@ [tox] envlist = - py36,py37,py38,py39 lint, nolxml, nohtml5lib + py36,py37,py38,py39,py310, + lint, nolxml, nohtml5lib [testenv] passenv = *