Skip to content

Commit d3754dd

Browse files
committed
- prepare 7.1.0, declare Python 3.13 support, use furo Sphinx theme
1 parent 02c8c61 commit d3754dd

9 files changed

+18
-23
lines changed

.meta.toml

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ additional-rules = [
4646
"include *.yaml",
4747
"include *.cmd",
4848
"include *.sh",
49-
"include *.yml",
5049
"recursive-include benchmarks *.py",
5150
"recursive-include docs *.bat",
5251
"recursive-include docs *.py",

CHANGES.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
Changes
33
=========
44

5-
7.0.4 (unreleased)
5+
7.1.0 (2024-10-10)
66
==================
77

8+
- Declare support for Python 3.13.
9+
810
- Fix segmentation faults on Python 3.13.
911
(`#323 <https://github.com/zopefoundation/zope.interface/issues/323>`_)
1012

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ recursive-include src *.py
1616
include *.yaml
1717
include *.cmd
1818
include *.sh
19-
include *.yml
2019
recursive-include benchmarks *.py
2120
recursive-include docs *.bat
2221
recursive-include docs *.py

docs/README.ru.rst

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Интерфейсы
33
==========
44

5-
.. contents::
6-
75
Интерфейсы - это объекты специфицирующие (документирующие) внешнее поведение
86
объектов которые их "предоставляют". Интерфейсы определяют поведение через
97
следующие составляющие:

docs/adapter.ru.rst

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Реестр адаптеров
33
================
44

5-
.. contents::
6-
75
Реестры адаптеров предоставляют возможность для регистрации объектов которые
86
зависят от одной, или нескольких спецификаций интерфейсов и предоставляют
97
(возможно не напрямую) какой-либо интерфейс. В дополнение, регистрации имеют

docs/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Note that not all possible configuration values are present in this
88
# autogenerated file.
99
#
10+
import datetime
1011
import os
1112
import sys
1213

@@ -16,6 +17,7 @@
1617
# All configuration values have a default; values that are commented out
1718
# serve to show the default.
1819

20+
year = datetime.datetime.now().year
1921
sys.path.append(os.path.abspath('../src'))
2022
rqmt = pkg_resources.require('zope.interface')[0]
2123
# Import and document pure-python versions of things; they tend to have better
@@ -57,7 +59,7 @@
5759

5860
# General information about the project.
5961
project = 'zope.interface'
60-
copyright = '2012-2023, Zope Foundation contributors'
62+
copyright = f'2012-{year}, Zope Foundation contributors'
6163

6264
# The version info for the project you're documenting, acts as replacement for
6365
# |version| and |release|, also used in various other places throughout the
@@ -108,7 +110,7 @@
108110

109111
# The theme to use for HTML and HTML Help pages. See the documentation for
110112
# a list of builtin themes.
111-
html_theme = 'sphinx_rtd_theme'
113+
html_theme = 'furo'
112114

113115
# Theme options are theme-specific and customize the look and feel of a theme
114116
# further. For a list of options available for each theme, see the

docs/index.rst

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
.. zope.interface documentation master file, created by
2-
sphinx-quickstart on Mon Mar 26 16:31:31 2012.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
5-
6-
Welcome to zope.interface's documentation!
7-
==========================================
8-
9-
Contents:
1+
zope.interface documentation
2+
============================
103

114
.. toctree::
125
:maxdepth: 2

docs/requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
Sphinx
2-
sphinx_rtd_theme>1
3-
docutils<0.19
2+
furo
43
repoze.sphinx.autointerface

setup.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
from setuptools.command.build_ext import build_ext
3232

3333

34+
version = '7.1.0'
35+
36+
3437
class optional_build_ext(build_ext):
3538
"""This class subclasses build_ext and allows
3639
the building of C extensions to fail.
@@ -100,13 +103,14 @@ def read(*rnames):
100103

101104
setup(
102105
name='zope.interface',
103-
version='7.0.4.dev0',
106+
version=version,
104107
url='https://github.com/zopefoundation/zope.interface',
105108
license='ZPL 2.1',
106109
description='Interfaces for Python',
107110
author='Zope Foundation and Contributors',
108-
author_email='zope-dev@zope.org',
111+
author_email='zope-dev@zope.dev',
109112
long_description=long_description,
113+
long_description_content_type='text/x-rst',
110114
classifiers=[
111115
"Development Status :: 5 - Production/Stable",
112116
"Intended Audience :: Developers",
@@ -119,6 +123,7 @@ def read(*rnames):
119123
"Programming Language :: Python :: 3.10",
120124
"Programming Language :: Python :: 3.11",
121125
"Programming Language :: Python :: 3.12",
126+
"Programming Language :: Python :: 3.13",
122127
"Programming Language :: Python :: Implementation :: CPython",
123128
"Programming Language :: Python :: Implementation :: PyPy",
124129
"Framework :: Zope :: 3",
@@ -137,7 +142,7 @@ def read(*rnames):
137142
extras_require={
138143
'docs': ['Sphinx',
139144
'repoze.sphinx.autointerface',
140-
'sphinx_rtd_theme'],
145+
'furo'],
141146
'test': tests_require,
142147
'testing': testing_extras,
143148
},

0 commit comments

Comments
 (0)