Skip to content

Commit

Permalink
Drop support for Python 3.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Jun 6, 2024
1 parent a08bf49 commit c85d354
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Changelog
6.0 (unreleased)
----------------


- Drop support for Python 3.7.

- Add support for Python 3.12.


5.0 (2023-02-01)
----------------

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ def _read(fname):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
],
python_requires='>=3.7',
python_requires='>=3.8',
install_requires=[
'setuptools',
'AccessControl',
Expand Down
2 changes: 1 addition & 1 deletion src/Products/StandardCacheManagers/RAMCacheManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def sort_link(self, name, id):
if sort_by == id:
newsr = not sort_reverse
url = url + '&sort_reverse=' + (newsr and '1' or '0')
return '<a href="{}">{}</a>'.format(escape(url, 1), escape(name))
return f'<a href="{escape(url, 1)}">{escape(name)}</a>'

@security.protected('Change cache managers')
def manage_invalidate(self, paths, REQUEST=None):
Expand Down

0 comments on commit c85d354

Please sign in to comment.