Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7919df8

Browse files
authored
Drop support for Python 3.8 (#197)
1 parent53c918d commit7919df8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

‎pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description = "The Sphinx theme for the CPython docs and related projects"
1111
readme ="README.md"
1212
license.file ="LICENSE"
1313
authors = [{name ="PyPA",email ="distutils-sig@python.org"}]
14-
requires-python =">=3.8"
14+
requires-python =">=3.9"
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
1717
"Framework :: Sphinx :: Theme",
@@ -20,7 +20,6 @@ classifiers = [
2020
"Operating System :: OS Independent",
2121
"Programming Language :: Python",
2222
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",

‎python_docs_theme/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
importhashlib
44
importos
5-
fromfunctoolsimportlru_cache
5+
fromfunctoolsimportcache
66
frompathlibimportPath
77
fromtypingimportAny
88

@@ -12,7 +12,7 @@
1212
THEME_PATH=Path(__file__).parent.resolve()
1313

1414

15-
@lru_cache(maxsize=None)
15+
@cache
1616
def_asset_hash(path:str)->str:
1717
"""Append a `?digest=` to an url based on the file content."""
1818
full_path=THEME_PATH/path.replace("_static/","static/")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp