Skip to content

Commit

Permalink
Update Python version support.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Feb 15, 2025
1 parent e437119 commit dc8e3df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
7.1 (unreleased)
================


- Drop support for Python 3.8.

- Add preliminary support for Python 3.14.

7.0 (2024-09-18)
================

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def _unavailable(self, e):
setup(name='zope.index',
version=version,
url='https://github.com/zopefoundation/zope.index',
license='ZPL 2.1',
license='ZPL-2.1',
author='Zope Foundation and Contributors',
author_email='zope-dev@zope.org',
author_email='zope-dev@zope.dev',
description="Indices for using with catalog like text, field, etc.",
long_description=long_description,
classifiers=[
Expand All @@ -90,7 +90,6 @@ def _unavailable(self, e):
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
Expand All @@ -106,7 +105,7 @@ def _unavailable(self, e):
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope'],
python_requires='>=3.8',
python_requires='>=3.9',
extras_require={
'test': [
'zope.testrunner',
Expand Down
2 changes: 1 addition & 1 deletion src/zope/index/text/okapiindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
PURE_PYTHON = int(os.environ.get('PURE_PYTHON', '0')) or _is_pypy
try:
from zope.index.text.okascore import score
except ImportError: # pragma: no cover
except ModuleNotFoundError: # pragma: no cover
score = None

score = None if PURE_PYTHON else score
Expand Down

0 comments on commit dc8e3df

Please sign in to comment.