Skip to content

Commit 9a63e9d

Browse files
authored
Merge pull request #71 from zopefoundation/config-with-c-code-template-9fcd3d67
Move metadata into ``pyproject.toml``, change docs theme
2 parents 4749ab3 + a665458 commit 9a63e9d

File tree

5 files changed

+146
-149
lines changed

5 files changed

+146
-149
lines changed

CHANGES.rst

Lines changed: 58 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
1-
=========
2-
Changes
3-
=========
1+
Change log
2+
==========
43

54
7.3 (unreleased)
6-
================
5+
----------------
6+
7+
- Move all supported package metadata into ``pyproject.toml``.
78

89

910
7.2 (2025-11-15)
10-
================
11+
----------------
1112

1213
- Fix the GitHub workflow for publishing wheels, which failed for Linux/arm64.
1314
(`#348 <https://github.com/zopefoundation/zope.interface/issues/348>`_)
1415

1516

1617
7.1 (2025-11-06)
17-
================
18+
----------------
1819

1920
- Add support for Python 3.14.
2021

2122
- Drop support for Python 3.9.
2223

2324

2425
7.0 (2025-09-12)
25-
================
26+
----------------
2627

2728
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
2829

@@ -34,15 +35,15 @@
3435

3536

3637
6.1 (2024-09-18)
37-
================
38+
----------------
3839

3940
- Add final support for Python 3.13.
4041

4142
- Update to ``persistent`` 6.0 API usage
4243

4344

4445
6.0 (2024-05-29)
45-
================
46+
----------------
4647

4748
- Drop support for Python 3.7.
4849

@@ -52,65 +53,66 @@
5253

5354

5455
5.2 (2023-10-05)
55-
================
56+
----------------
5657

5758
- Add support for Python 3.12.
5859

5960

6061
5.1 (2023-04-24)
61-
================
62+
----------------
6263

6364
- Drop using ``setup_requires`` due to constant problems on GHA.
6465

6566
- Add preliminary support for Python 3.12a7.
6667

6768

6869
5.0 (2023-01-24)
69-
================
70+
----------------
7071

7172
- Build Linux binary wheels for Python 3.11.
7273

7374
- Drop support for Python 2.7, 3.5, 3.6.
7475

7576

7677
4.10 (2022-11-17)
77-
=================
78+
-----------------
7879

7980
- Release to rebuild a full set of binary wheels.
8081

8182

8283
4.9 (2022-11-16)
83-
================
84+
----------------
8485

8586
- Add support for building arm64 wheels on macOS.
8687

88+
8789
4.8 (2022-11-06)
88-
================
90+
----------------
8991

9092
- Add support for final Python 3.11 release.
9193

9294

9395
4.7 (2022-09-15)
94-
================
96+
----------------
9597

9698
- Disable unsafe math optimizations in C code. See `pull request 46
9799
<https://github.com/zopefoundation/zope.container/pull/46>`_.
98100

99101

100102
4.6 (2022-07-14)
101-
================
103+
----------------
102104

103105
- Add support for Python 3.11 (as of 3.11.0b3).
104106

105107

106108
4.5.0 (2021-11-19)
107-
==================
109+
------------------
108110

109111
- Add support for Python 3.9 and 3.10.
110112

111113

112114
4.4.0 (2020-04-02)
113-
==================
115+
------------------
114116

115117
- Support the ``PURE_PYTHON`` environment variable at runtime instead
116118
of just at wheel build time. A value of 0 forces the C extensions to
@@ -134,15 +136,15 @@
134136

135137

136138
4.3.0 (2019-11-11)
137-
==================
139+
------------------
138140

139141
- Add support for Python 3.8.
140142

141143
- Drop support for Python 3.4.
142144

143145

144146
4.2.2 (2018-08-10)
145-
==================
147+
------------------
146148

147149
- Add a dependency on ``zope.cachedescriptors``, previously removed in
148150
3.11. ``zope.cachedescriptors`` is a lightweight package, and the
@@ -156,15 +158,15 @@
156158

157159

158160
4.2.1 (2017-08-02)
159-
==================
161+
------------------
160162

161163
- Make ``OrderedContainer.updateOrder`` normalize and store text keys
162164
the same way that ``__setitem__`` does. Fixes
163165
https://github.com/zopefoundation/zope.container/issues/21
164166

165167

166168
4.2.0 (2017-07-31)
167-
==================
169+
------------------
168170

169171
- Add support for Python 3.5 and 3.6.
170172

@@ -195,8 +197,9 @@
195197
pure-Python implementation of the container proxy on CPython for
196198
ease of debugging. See https://github.com/zopefoundation/zope.container/issues/13
197199

200+
198201
4.1.0 (2015-05-22)
199-
==================
202+
------------------
200203

201204
- Make ``zope.container._proxy.PyContainedProxyBase`` inherit
202205
directly from ``zope.proxy.AbstractProxyBase`` as well as
@@ -209,23 +212,24 @@
209212

210213
- Drop deprecated BBB imports module, ``zope.container.dependency``.
211214

215+
212216
4.0.0 (2014-03-19)
213-
==================
217+
------------------
214218

215219
- Add support for Python 3.4.
216220

217221
- Add support for PyPy.
218222

219223

220224
4.0.0a3 (2013-02-28)
221-
====================
225+
--------------------
222226

223227
- Restore ``Folder`` pickle forward/backward compatibility with
224228
version 3.12.0 after making it inherit from ``BTreeContainer.``
225229

226230

227231
4.0.0a2 (2013-02-21)
228-
====================
232+
--------------------
229233

230234
- Allow testing without checkouts of unreleased ``zope.publisher`` and
231235
``ZODB``.
@@ -234,7 +238,7 @@
234238

235239

236240
4.0.0a1 (2013-02-20)
237-
====================
241+
--------------------
238242

239243
- Add support for Python 3.3.
240244

@@ -263,7 +267,7 @@
263267

264268

265269
3.12.0 (2010-12-14)
266-
===================
270+
-------------------
267271

268272
- Fix detection of moving folders into itself or a subfolder of itself.
269273
(LP#118088)
@@ -272,8 +276,9 @@
272276

273277
- Add ``zcml`` extra dependencies.
274278

279+
275280
3.11.1 (2010-04-30)
276-
===================
281+
-------------------
277282

278283
- Prefer the standard libraries doctest module to the one from ``zope.testing``.
279284

@@ -285,15 +290,17 @@
285290

286291
- ``checkName`` first checks the parameter type before the emptiness.
287292

293+
288294
3.11.0 (2009-12-31)
289-
===================
295+
-------------------
290296

291297
- Copy two trivial classes from ``zope.cachedescriptors`` into this package,
292298
which allows us to remove that dependency. We didn't actually use any
293299
caching properties as the dependency suggested.
294300

301+
295302
3.10.1 (2009-12-29)
296-
===================
303+
-------------------
297304

298305
- Move ``zope.copypastemove`` related tests into that package.
299306

@@ -302,8 +309,9 @@
302309
- Stop importing DocTestSuite from ``zope.testing.doctestunit``. Fixes
303310
compatibility problems with ``zope.testing`` 3.8.4.
304311

312+
305313
3.10.0 (2009-12-15)
306-
===================
314+
-------------------
307315

308316
- Break testing dependency on ``zope.app.testing``.
309317

@@ -313,30 +321,34 @@
313321
- Import ``ISite`` from ``zope.component`` after it was moved there from
314322
``zope.location``.
315323

324+
316325
3.9.1 (2009-10-18)
317-
==================
326+
------------------
318327

319328
- Rerelease 3.9.0 as it had a broken Windows 2.6 egg.
320329

321330
- Mark this project as part of the ZTK.
322331

332+
323333
3.9.0 (2009-08-28)
324-
==================
334+
------------------
325335

326336
- Previous releases should be versioned 3.9.0 as they are not pure bugfix
327337
releases and worth a "feature" release, increasing feature version.
328338

329339
Packages that depend on any changes introduced in version 3.8.2 or 3.8.3
330340
should depend on version 3.9 or greater.
331341

342+
332343
3.8.3 (2009-08-27)
333-
==================
344+
------------------
334345

335346
- Move ``IXMLRPCPublisher`` ZCML registrations for containers from
336347
``zope.app.publisher.xmlrpc`` to ``zope.container`` for now.
337348

349+
338350
3.8.2 (2009-05-17)
339-
==================
351+
------------------
340352

341353
- Rid ourselves of ``IContained`` interface. This interface was moved
342354
to ``zope.location.interfaces``. A b/w compat import still exists
@@ -366,14 +378,15 @@
366378
be registered. ``zope.app.dependable`` is now a testing dependency
367379
only.
368380

381+
369382
3.8.1 (2009-04-03)
370-
==================
383+
------------------
371384

372385
- Fix misspackaged 3.8.0
373386

374387

375388
3.8.0 (2009-04-03)
376-
==================
389+
------------------
377390

378391
- Change ``configure.zcml`` to not depend on ``zope.app.component``.
379392
Fixes: https://bugs.launchpad.net/bugs/348329
@@ -382,8 +395,9 @@
382395
``IOrdered`` interface and let ``IOrderedContainer`` inherit it. This allows
383396
easier reuse of the declaration.
384397

398+
385399
3.7.2 (2009-03-12)
386-
==================
400+
------------------
387401

388402
- Fix: added missing ``ComponentLookupError``, missing since revision 95429
389403
and missing in last release.
@@ -396,8 +410,9 @@
396410
container to the ``zope.container.interfaces.IReservedNames`` interface.
397411
The default ``NameChooser`` is now also aware of reserved names.
398412

413+
399414
3.7.1 (2009-02-05)
400-
==================
415+
------------------
401416

402417
- Raise more "Pythonic" errors from ``__setitem__``, losing the dependency
403418
on ``zope.exceptions``:
@@ -416,8 +431,9 @@
416431

417432
- Strip out bogus develop eggs from ``buildout.cfg``.
418433

434+
419435
3.7.0 (2009-01-31)
420-
==================
436+
------------------
421437

422438
- Split this package off ``zope.app.container``. This package is
423439
intended to have far less dependencies than ``zope.app.container``.

docs/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121

2222
# If your documentation needs a minimal Sphinx version, state it here.
2323
# needs_sphinx = '1.0'
24+
import datetime
2425
import os
2526
import sys
26-
27-
import pkg_resources
27+
from importlib.metadata import distribution
2828

2929

30+
year = datetime.datetime.now().year
3031
sys.path.append(os.path.abspath('../src'))
31-
rqmt = pkg_resources.require('zope.container')[0]
32+
rqmt = distribution('zope.container')
3233

3334
# Add any Sphinx extension module names here, as strings. They can be
3435
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -56,7 +57,7 @@
5657

5758
# General information about the project.
5859
project = 'zope.container'
59-
copyright = '2016, Zope Foundation and Contributors'
60+
copyright = f'2016-{year}, Zope Foundation and Contributors'
6061

6162
# The version info for the project you're documenting, acts as replacement for
6263
# |version| and |release|, also used in various other places throughout the
@@ -111,7 +112,7 @@
111112

112113
# The theme to use for HTML and HTML Help pages. See the documentation for
113114
# a list of builtin themes.
114-
html_theme = 'sphinx_rtd_theme'
115+
html_theme = 'furo'
115116

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

docs/requirements.txt

Lines changed: 1 addition & 2 deletions
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

0 commit comments

Comments
 (0)