diff --git a/.meta.toml b/.meta.toml index ba98066f..67fe6188 100644 --- a/.meta.toml +++ b/.meta.toml @@ -46,7 +46,6 @@ additional-rules = [ "include *.yaml", "include *.cmd", "include *.sh", - "include *.yml", "recursive-include benchmarks *.py", "recursive-include docs *.bat", "recursive-include docs *.py", diff --git a/CHANGES.rst b/CHANGES.rst index 578e796e..4c5ba525 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,9 +2,11 @@ Changes ========= -7.0.4 (unreleased) +7.1.0 (2024-10-10) ================== +- Declare support for Python 3.13. + - Fix segmentation faults on Python 3.13. (`#323 `_) diff --git a/MANIFEST.in b/MANIFEST.in index 1aef3e93..b220df1d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -16,7 +16,6 @@ recursive-include src *.py include *.yaml include *.cmd include *.sh -include *.yml recursive-include benchmarks *.py recursive-include docs *.bat recursive-include docs *.py diff --git a/docs/README.ru.rst b/docs/README.ru.rst index 8744dee3..df07953a 100644 --- a/docs/README.ru.rst +++ b/docs/README.ru.rst @@ -2,8 +2,6 @@ Интерфейсы ========== -.. contents:: - Интерфейсы - это объекты специфицирующие (документирующие) внешнее поведение объектов которые их "предоставляют". Интерфейсы определяют поведение через следующие составляющие: diff --git a/docs/adapter.ru.rst b/docs/adapter.ru.rst index 30c2782b..057bf6d2 100644 --- a/docs/adapter.ru.rst +++ b/docs/adapter.ru.rst @@ -2,8 +2,6 @@ Реестр адаптеров ================ -.. contents:: - Реестры адаптеров предоставляют возможность для регистрации объектов которые зависят от одной, или нескольких спецификаций интерфейсов и предоставляют (возможно не напрямую) какой-либо интерфейс. В дополнение, регистрации имеют diff --git a/docs/conf.py b/docs/conf.py index b2b659d7..2e1659ec 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,6 +7,7 @@ # Note that not all possible configuration values are present in this # autogenerated file. # +import datetime import os import sys @@ -16,6 +17,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. +year = datetime.datetime.now().year sys.path.append(os.path.abspath('../src')) rqmt = pkg_resources.require('zope.interface')[0] # Import and document pure-python versions of things; they tend to have better @@ -57,7 +59,7 @@ # General information about the project. project = 'zope.interface' -copyright = '2012-2023, Zope Foundation contributors' +copyright = f'2012-{year}, Zope Foundation contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -108,7 +110,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'sphinx_rtd_theme' +html_theme = 'furo' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/docs/index.rst b/docs/index.rst index 3c854abb..3b88f9f9 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,12 +1,5 @@ -.. zope.interface documentation master file, created by - sphinx-quickstart on Mon Mar 26 16:31:31 2012. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -Welcome to zope.interface's documentation! -========================================== - -Contents: +zope.interface documentation +============================ .. toctree:: :maxdepth: 2 diff --git a/docs/requirements.txt b/docs/requirements.txt index 746c2264..db0445f4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,3 @@ Sphinx -sphinx_rtd_theme>1 -docutils<0.19 +furo repoze.sphinx.autointerface diff --git a/setup.py b/setup.py index ad31a0c8..3b440552 100644 --- a/setup.py +++ b/setup.py @@ -31,6 +31,9 @@ from setuptools.command.build_ext import build_ext +version = '7.1.0' + + class optional_build_ext(build_ext): """This class subclasses build_ext and allows the building of C extensions to fail. @@ -100,13 +103,14 @@ def read(*rnames): setup( name='zope.interface', - version='7.0.4.dev0', + version=version, url='https://github.com/zopefoundation/zope.interface', license='ZPL 2.1', description='Interfaces for Python', author='Zope Foundation and Contributors', - author_email='zope-dev@zope.org', + author_email='zope-dev@zope.dev', long_description=long_description, + long_description_content_type='text/x-rst', classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", @@ -119,6 +123,7 @@ def read(*rnames): "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Framework :: Zope :: 3", @@ -137,7 +142,7 @@ def read(*rnames): extras_require={ 'docs': ['Sphinx', 'repoze.sphinx.autointerface', - 'sphinx_rtd_theme'], + 'furo'], 'test': tests_require, 'testing': testing_extras, },