Skip to content

Commit

Permalink
Officially support Python 3.10 (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser authored Nov 3, 2021
1 parent 12829cc commit dad06a5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion soupsieve/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
envlist =
py36,py37,py38,py39 lint, nolxml, nohtml5lib
py36,py37,py38,py39,py310,
lint, nolxml, nohtml5lib

[testenv]
passenv = *
Expand Down

0 comments on commit dad06a5

Please sign in to comment.