Skip to content

Commit

Permalink
- prepare 7.1.0, declare Python 3.13 support, use furo Sphinx theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Oct 10, 2024
1 parent 02c8c61 commit d3754dd
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 23 deletions.
1 change: 0 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/zopefoundation/zope.interface/issues/323>`_)

Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docs/README.ru.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Интерфейсы
==========

.. contents::

Интерфейсы - это объекты специфицирующие (документирующие) внешнее поведение
объектов которые их "предоставляют". Интерфейсы определяют поведение через
следующие составляющие:
Expand Down
2 changes: 0 additions & 2 deletions docs/adapter.ru.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
Реестр адаптеров
================

.. contents::

Реестры адаптеров предоставляют возможность для регистрации объектов которые
зависят от одной, или нескольких спецификаций интерфейсов и предоставляют
(возможно не напрямую) какой-либо интерфейс. В дополнение, регистрации имеют
Expand Down
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Note that not all possible configuration values are present in this
# autogenerated file.
#
import datetime
import os
import sys

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
11 changes: 2 additions & 9 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Sphinx
sphinx_rtd_theme>1
docutils<0.19
furo
repoze.sphinx.autointerface
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -137,7 +142,7 @@ def read(*rnames):
extras_require={
'docs': ['Sphinx',
'repoze.sphinx.autointerface',
'sphinx_rtd_theme'],
'furo'],
'test': tests_require,
'testing': testing_extras,
},
Expand Down

0 comments on commit d3754dd

Please sign in to comment.