Skip to content

Commit b0859ae

Browse files
committed
Remove support for Python 3.9
1 parent 97279c4 commit b0859ae

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
strategy:
1717
matrix:
18-
python-version: ["3.9", "3.10", "3.11", "3.12"]
18+
python-version: ["3.10", "3.11", "3.12"]
1919
name: Pytest on ${{matrix.python-version}}
2020
runs-on: ubuntu-latest
2121

docs/src/release_notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sphinx-codeautolink adheres to
1111
Unreleased
1212
----------
1313
- Declare support for Python 3.12 and 3.13 (:issue:`150`)
14-
- Remove support for Python 3.7 and 3.8 (:issue:`150`)
14+
- Remove support for Python 3.7-3.9 (:issue:`150`, :issue:`157`)
1515
- Fix changed whitespace handling in Pygments 2.19 (:issue:`152`)
1616
- Improve support for future and string annotations (:issue:`155`)
1717

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "readme_pypi.rst"
99
license = {file = "LICENSE"}
1010
dynamic = ["version"]
1111

12-
requires-python = ">=3.9"
12+
requires-python = ">=3.10"
1313
dependencies = [
1414
"sphinx>=3.2.0",
1515
"beautifulsoup4>=4.8.1",

tests/extension/__init__.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030

3131
any_whitespace = re.compile(r"\s*")
3232
ref_tests = [(p.name, p) for p in Path(__file__).with_name("ref").glob("*.txt")]
33-
ref_xfails = {
34-
"ref_fluent_attrs.txt": sys.version_info < (3, 8),
35-
"ref_fluent_call.txt": sys.version_info < (3, 8),
36-
"ref_import_from_complex.txt": sys.version_info < (3, 8),
37-
}
33+
ref_xfails = {}
3834

3935

4036
def assert_links(file: Path, links: list):
@@ -44,7 +40,7 @@ def assert_links(file: Path, links: list):
4440
strings = [any_whitespace.sub("", "".join(b.strings)) for b in blocks]
4541

4642
assert len(strings) == len(links)
47-
for s, link in zip(strings, links):
43+
for s, link in zip(strings, links, strict=False):
4844
assert s == link
4945

5046

@@ -119,7 +115,7 @@ def test_tables(file: Path, tmp_path: Path):
119115
strings = [any_whitespace.sub("", "".join(b.strings)) for b in blocks]
120116

121117
assert len(strings) == len(links)
122-
for s, link in zip(strings, links):
118+
for s, link in zip(strings, links, strict=False):
123119
assert s == link
124120

125121

0 commit comments

Comments
 (0)