pkg-about 1.1.7__zip → 1.2.0__zip

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {pkg_about-1.1.7 → pkg_about-1.2.0}/.readthedocs.yml +1 -1
  2. {pkg_about-1.1.7 → pkg_about-1.2.0}/CHANGES.rst +11 -0
  3. {pkg_about-1.1.7 → pkg_about-1.2.0}/PKG-INFO +26 -12
  4. {pkg_about-1.1.7 → pkg_about-1.2.0}/README.rst +3 -2
  5. {pkg_about-1.1.7 → pkg_about-1.2.0}/docs/conf.py +1 -1
  6. {pkg_about-1.1.7 → pkg_about-1.2.0}/pyproject.toml +26 -24
  7. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about/__about__.py +0 -1
  8. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about/_about.py +30 -3
  9. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about.egg-info/PKG-INFO +26 -12
  10. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about.egg-info/requires.txt +9 -7
  11. {pkg_about-1.1.7 → pkg_about-1.2.0}/tests/test_main.py +2 -2
  12. {pkg_about-1.1.7 → pkg_about-1.2.0}/LICENSE +0 -0
  13. {pkg_about-1.1.7 → pkg_about-1.2.0}/MANIFEST.in +0 -0
  14. {pkg_about-1.1.7 → pkg_about-1.2.0}/docs/CHANGES.rst +0 -0
  15. {pkg_about-1.1.7 → pkg_about-1.2.0}/docs/README.rst +0 -0
  16. {pkg_about-1.1.7 → pkg_about-1.2.0}/docs/_static/.keep +0 -0
  17. {pkg_about-1.1.7 → pkg_about-1.2.0}/docs/_templates/.keep +0 -0
  18. {pkg_about-1.1.7 → pkg_about-1.2.0}/docs/index.rst +0 -0
  19. {pkg_about-1.1.7 → pkg_about-1.2.0}/setup.cfg +0 -0
  20. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about/__init__.py +0 -0
  21. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about.egg-info/SOURCES.txt +0 -0
  22. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about.egg-info/dependency_links.txt +0 -0
  23. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about.egg-info/top_level.txt +0 -0
  24. {pkg_about-1.1.7 → pkg_about-1.2.0}/src/pkg_about.egg-info/zip-safe +0 -0
  25. {pkg_about-1.1.7 → pkg_about-1.2.0}/tests/__init__.py +0 -0
  26. {pkg_about-1.1.7 → pkg_about-1.2.0}/tests/__main__.py +0 -0
  27. {pkg_about-1.1.7 → pkg_about-1.2.0}/tests/data/.keep +0 -0
@@ -2,7 +2,7 @@ version: 2
2
2
  build:
3
3
  os: "ubuntu-22.04"
4
4
  tools:
5
- python: "3.11"
5
+ python: "3.12"
6
6
  python:
7
7
  install:
8
8
  - method: pip
@@ -1,6 +1,17 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.2.0 (2024-09-30)
5
+ ------------------
6
+ - Drop support for Python 3.8
7
+ - Ability to obtain __copyright__ from the README.rst content.
8
+ - Setup (dependencies) update.
9
+
10
+ 1.1.8 (2024-08-13)
11
+ ------------------
12
+ - Add support for Python 3.13
13
+ - Setup (dependencies) update.
14
+
4
15
  1.1.7 (2024-07-15)
5
16
  ------------------
6
17
  - Setup (dependencies) update.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pkg-about
3
- Version: 1.1.7
3
+ Version: 1.2.0
4
4
  Summary: Shares Python package metadata at runtime.
5
5
  Author: Adam Karpierz
6
6
  Author-email: adam@karpierz.net
@@ -21,33 +21,35 @@ Classifier: Operating System :: OS Independent
21
21
  Classifier: Natural Language :: Polish
22
22
  Classifier: Programming Language :: Python
23
23
  Classifier: Programming Language :: Python :: 3
24
- Classifier: Programming Language :: Python :: 3.8
25
24
  Classifier: Programming Language :: Python :: 3.9
26
25
  Classifier: Programming Language :: Python :: 3.10
27
26
  Classifier: Programming Language :: Python :: 3.11
28
27
  Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
29
29
  Classifier: Programming Language :: Python :: 3 :: Only
30
30
  Classifier: Programming Language :: Python :: Implementation :: CPython
31
31
  Classifier: Programming Language :: Python :: Implementation :: PyPy
32
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
- Requires-Python: <4.0.0,>=3.8.10
33
+ Requires-Python: <4.0.0,>=3.9.0
34
34
  Description-Content-Type: text/x-rst; charset=UTF-8
35
35
  License-File: LICENSE
36
- Requires-Dist: setuptools>=70.3.0
36
+ Requires-Dist: setuptools>=75.1.0
37
37
  Requires-Dist: packaging>=24.1.0
38
+ Requires-Dist: importlib-metadata>=8.5.0
38
39
  Requires-Dist: tomli>=2.0.1; python_version < "3.11"
40
+ Requires-Dist: docutils>=0.21.2
39
41
  Provides-Extra: doc
40
- Requires-Dist: Sphinx>=7.1.2; extra == "doc"
41
- Requires-Dist: sphinx-toolbox>=3.7.0; extra == "doc"
42
+ Requires-Dist: Sphinx>=7.4.7; extra == "doc"
43
+ Requires-Dist: sphinx-toolbox>=3.8.0; extra == "doc"
42
44
  Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
43
45
  Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
44
46
  Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
45
- Requires-Dist: sphinx-lint>=0.9.1; extra == "doc"
47
+ Requires-Dist: sphinx-lint>=1.0.0; extra == "doc"
46
48
  Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
47
- Requires-Dist: nbsphinx>=0.9.4; extra == "doc"
49
+ Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
48
50
  Provides-Extra: test
49
- Requires-Dist: deepdiff>=7.0.1; extra == "test"
50
- Requires-Dist: rich>=13.7.1; extra == "test"
51
+ Requires-Dist: deepdiff>=8.0.1; extra == "test"
52
+ Requires-Dist: rich>=13.8.1; extra == "test"
51
53
 
52
54
  pkg-about
53
55
  =========
@@ -73,7 +75,7 @@ Installation
73
75
 
74
76
  Prerequisites:
75
77
 
76
- + Python 3.8 or higher
78
+ + Python 3.9 or higher
77
79
 
78
80
  * https://www.python.org/
79
81
 
@@ -122,7 +124,7 @@ or on development mode:
122
124
  License
123
125
  =======
124
126
 
125
- | Copyright (c) 2020-2024 Adam Karpierz
127
+ | |copyright|
126
128
  | Licensed under the zlib/libpng License
127
129
  | https://opensource.org/license/zlib
128
130
  | Please refer to the accompanying LICENSE file.
@@ -134,6 +136,7 @@ Authors
134
136
 
135
137
  .. |package| replace:: pkg-about
136
138
  .. |package_bold| replace:: **pkg-about**
139
+ .. |copyright| replace:: Copyright (c) 2020-2024 Adam Karpierz
137
140
  .. |respository| replace:: https://github.com/karpierz/pkg-about.git
138
141
  .. _Development page: https://github.com/karpierz/pkg-about
139
142
  .. _PyPI record: https://pypi.org/project/pkg-about/
@@ -142,6 +145,17 @@ Authors
142
145
  Changelog
143
146
  =========
144
147
 
148
+ 1.2.0 (2024-09-30)
149
+ ------------------
150
+ - Drop support for Python 3.8
151
+ - Ability to obtain __copyright__ from the README.rst content.
152
+ - Setup (dependencies) update.
153
+
154
+ 1.1.8 (2024-08-13)
155
+ ------------------
156
+ - Add support for Python 3.13
157
+ - Setup (dependencies) update.
158
+
145
159
  1.1.7 (2024-07-15)
146
160
  ------------------
147
161
  - Setup (dependencies) update.
@@ -22,7 +22,7 @@ Installation
22
22
 
23
23
  Prerequisites:
24
24
 
25
- + Python 3.8 or higher
25
+ + Python 3.9 or higher
26
26
 
27
27
  * https://www.python.org/
28
28
 
@@ -71,7 +71,7 @@ or on development mode:
71
71
  License
72
72
  =======
73
73
 
74
- | Copyright (c) 2020-2024 Adam Karpierz
74
+ | |copyright|
75
75
  | Licensed under the zlib/libpng License
76
76
  | https://opensource.org/license/zlib
77
77
  | Please refer to the accompanying LICENSE file.
@@ -83,6 +83,7 @@ Authors
83
83
 
84
84
  .. |package| replace:: pkg-about
85
85
  .. |package_bold| replace:: **pkg-about**
86
+ .. |copyright| replace:: Copyright (c) 2020-2024 Adam Karpierz
86
87
  .. |respository| replace:: https://github.com/karpierz/pkg-about.git
87
88
  .. _Development page: https://github.com/karpierz/pkg-about
88
89
  .. _PyPI record: https://pypi.org/project/pkg-about/
@@ -34,7 +34,7 @@ release = about.__version__
34
34
 
35
35
  # If your documentation needs a minimal Sphinx version, state it here.
36
36
  #
37
- needs_sphinx = '3.4.3'
37
+ needs_sphinx = '7.4.7'
38
38
 
39
39
  # Add any Sphinx extension module names here, as strings. They can be
40
40
  # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -3,11 +3,11 @@
3
3
 
4
4
  [build-system]
5
5
  build-backend = 'setuptools.build_meta'
6
- requires = ['setuptools>=70.3.0', 'wheel>=0.43.0', 'packaging>=24.1.0', 'tox>=4.16.0']
6
+ requires = ['setuptools>=75.1.0', 'wheel>=0.44.0', 'packaging>=24.1.0', 'tox>=4.20.0']
7
7
 
8
8
  [project]
9
9
  name = 'pkg-about'
10
- version = '1.1.7'
10
+ version = '1.2.0'
11
11
  description = 'Shares Python package metadata at runtime.'
12
12
  urls.Homepage = 'https://pypi.org/project/pkg-about/'
13
13
  urls.Documentation = 'https://pkg-about.readthedocs.io/'
@@ -32,39 +32,41 @@ classifiers = [
32
32
  'Natural Language :: Polish',
33
33
  'Programming Language :: Python',
34
34
  'Programming Language :: Python :: 3',
35
- 'Programming Language :: Python :: 3.8',
36
35
  'Programming Language :: Python :: 3.9',
37
36
  'Programming Language :: Python :: 3.10',
38
37
  'Programming Language :: Python :: 3.11',
39
38
  'Programming Language :: Python :: 3.12',
39
+ 'Programming Language :: Python :: 3.13',
40
40
  'Programming Language :: Python :: 3 :: Only',
41
41
  'Programming Language :: Python :: Implementation :: CPython',
42
42
  'Programming Language :: Python :: Implementation :: PyPy',
43
43
  'Topic :: Software Development :: Libraries :: Python Modules',
44
44
  ]
45
- requires-python = '>=3.8.10,<4.0.0'
45
+ requires-python = '>=3.9.0,<4.0.0'
46
46
  dependencies = [
47
47
  # mandatory
48
- 'setuptools>=70.3.0',
48
+ 'setuptools>=75.1.0',
49
49
  'packaging>=24.1.0',
50
+ 'importlib-metadata>=8.5.0',
50
51
  'tomli>=2.0.1 ; python_version < "3.11"',
52
+ 'docutils>=0.21.2',
51
53
  # others
52
54
  ]
53
55
  dynamic = ['readme']
54
56
  [project.optional-dependencies]
55
57
  doc = [
56
- 'Sphinx>=7.1.2',
57
- 'sphinx-toolbox>=3.7.0',
58
+ 'Sphinx>=7.4.7',
59
+ 'sphinx-toolbox>=3.8.0',
58
60
  'sphinx-tabs>=3.4.5',
59
61
  'sphinx-copybutton>=0.5.2',
60
62
  'sphinxcontrib-spelling>=8.0.0',
61
- 'sphinx-lint>=0.9.1',
63
+ 'sphinx-lint>=1.0.0',
62
64
  'restructuredtext-lint>=1.4.0',
63
- 'nbsphinx>=0.9.4',
65
+ 'nbsphinx>=0.9.5',
64
66
  ]
65
67
  test = [
66
- 'deepdiff>=7.0.1',
67
- 'rich>=13.7.1',
68
+ 'deepdiff>=8.0.1',
69
+ 'rich>=13.8.1',
68
70
  ]
69
71
 
70
72
  [project.scripts]
@@ -158,28 +160,28 @@ count = true
158
160
  [tool.tox]
159
161
  legacy_tox_ini = """
160
162
  [tox]
161
- envlist = py{38,39,310,311,312}, pypy{39,310}, docs
163
+ envlist = py{39,310,311,312,313}, pypy{39,310}, docs
162
164
  labels =
163
- py = py{38,39,310,311,312}, pypy{39,310}
165
+ py = py{39,310,311,312,313}, pypy{39,310}
164
166
  prepare = prepare
165
167
  coverage = coverage
166
168
  lint = lint
167
169
  docs = docs
168
- build = py{38,39,310,311,312}, pypy{39,310}, docs, build
169
- deploy = py{38,39,310,311,312}, pypy{39,310}, docs, build, publish
170
- minversion = 4.16.0
170
+ build = py{39,310,311,312,313}, pypy{39,310}, docs, build
171
+ deploy = py{39,310,311,312,313}, pypy{39,310}, docs, build, publish
172
+ minversion = 4.20.0
171
173
  skip_missing_interpreters = true
172
174
  requires =
173
175
  {[base]deps}
174
- virtualenv>=20.26.3
176
+ virtualenv>=20.26.6
175
177
  tox-tags>=0.2.0
176
178
 
177
179
  [base]
178
180
  basepython = python3.12
179
181
  deps =
180
- pip>=24.1.2
181
- setuptools>=70.3.0
182
- wheel>=0.43.0
182
+ pip>=24.2.0
183
+ setuptools>=75.1.0
184
+ wheel>=0.44.0
183
185
  packagesubdir = pkg_about
184
186
 
185
187
  [testenv]
@@ -211,9 +213,9 @@ commands =
211
213
  {envpython} -m coverage html
212
214
  deps =
213
215
  {[testenv]deps}
214
- coverage>=7.6.0
216
+ coverage>=7.6.1
215
217
  covdefaults>=2.3.0
216
- diff-cover>=9.1.0
218
+ diff-cover>=9.2.0
217
219
 
218
220
  [testenv:docs]
219
221
  basepython = {[base]basepython}
@@ -227,7 +229,7 @@ extras = doc
227
229
  deps =
228
230
 
229
231
  [testenv:build]
230
- depends = py{38,39,310,311,312}, pypy{39,310}, docs
232
+ depends = py{39,310,311,312,313}, pypy{39,310}, docs
231
233
  basepython = {[base]basepython}
232
234
  commands =
233
235
  {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
@@ -256,7 +258,7 @@ commands =
256
258
  extras =
257
259
  deps =
258
260
  {[testenv]deps}
259
- flake8>=7.1.0
261
+ flake8>=7.1.1
260
262
  flake8-pyproject>=1.2.3
261
263
  flake8-docstrings>=1.7.0
262
264
  pep8-naming>=0.14.1
@@ -2,4 +2,3 @@
2
2
  # SPDX-License-Identifier: Zlib
3
3
 
4
4
  __import__("_about", globals=globals(), level=1).about()
5
- __copyright__ = f"Copyright (c) 2020-2024 {__author__}" # noqa
@@ -7,7 +7,7 @@ __all__ = ('about', 'about_from_setup')
7
7
  def about(package=None):
8
8
  import sys
9
9
  from packaging.version import parse as parse_version
10
- from importlib.metadata import metadata as get_metadata
10
+ from importlib_metadata import metadata as get_metadata
11
11
  pkg_globals = sys._getframe(1).f_globals
12
12
  pkg_globals.pop("__builtins__", None)
13
13
  pkg_globals.pop("__cached__", None)
@@ -46,7 +46,7 @@ def about(package=None):
46
46
  __maintainer__ = metadata.get("Maintainer"),
47
47
  __maintainer_email__ = metadata.get("Maintainer-email"),
48
48
  __license__ = metadata.get("License"),
49
- __copyright__ = metadata.get("Copyright") # for now is None
49
+ __copyright__ = __get_copyright(metadata.get("Description"))
50
50
  )
51
51
 
52
52
  pkg_globals.update(pkg_metadata)
@@ -73,6 +73,7 @@ def about_from_setup(package_path=None):
73
73
  if package_path is None else Path(package_path))
74
74
  pyproject_path = package_path/"pyproject.toml"
75
75
  setup_cfg_path = package_path/"setup.cfg"
76
+ readme_path = package_path/"README.rst"
76
77
  metadata = {}
77
78
  if setup_cfg_path.exists():
78
79
  metadata.update(read_setupcfg(setup_cfg_path,
@@ -91,7 +92,8 @@ def about_from_setup(package_path=None):
91
92
  copyr_patt = re.compile(r"^\s*__copyright__\s*=\s*")
92
93
  about_py = package_path.glob("src/**/__about__.py")
93
94
  version = parse_version(metadata["version"])
94
- release_levels, get = __release_levels, __get
95
+ release_levels = __release_levels
96
+ get, get_copyright = __get, __get_copyright
95
97
 
96
98
  class about:
97
99
  __slots__ = ()
@@ -132,6 +134,8 @@ def about_from_setup(package_path=None):
132
134
  (next(about_py).open("rt", encoding="utf-8")
133
135
  if about_py else ())
134
136
  if copyr_patt.split(line)[1:]), "None"))
137
+ if __copyright__ is None and readme_path.exists():
138
+ __copyright__ = get_copyright(readme_path.read_text(encoding="utf-8"))
135
139
 
136
140
  pkg_globals["about"] = about
137
141
  pkg_globals.setdefault("__all__", [])
@@ -150,6 +154,29 @@ def __get(mdata, *keys):
150
154
  return mdata
151
155
 
152
156
 
157
+ def __get_copyright(description):
158
+ from docutils.core import publish_doctree
159
+ from docutils import nodes
160
+ copyr = None
161
+ if description is not None:
162
+ document = publish_doctree(description)
163
+ subst_name = document.substitution_names.get("copyright")
164
+ substitution = document.substitution_defs.get(subst_name)
165
+ if substitution is not None:
166
+ copyr = substitution.astext()
167
+ else:
168
+ # Try to get from 'License' section
169
+ section = document.ids.get(document.nameids.get("license"))
170
+ if section is not None:
171
+ lblock = section.next_node(nodes.line_block)
172
+ if lblock is not None:
173
+ copyr = next((line for _ in lblock.findall(nodes.line)
174
+ if ((line := _.astext().lstrip()).lower()
175
+ .startswith("copyright"))), None)
176
+ return copyr
177
+
178
+
179
+
153
180
  __release_levels = dict(
154
181
  a = "alpha",
155
182
  b = "beta",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pkg-about
3
- Version: 1.1.7
3
+ Version: 1.2.0
4
4
  Summary: Shares Python package metadata at runtime.
5
5
  Author: Adam Karpierz
6
6
  Author-email: adam@karpierz.net
@@ -21,33 +21,35 @@ Classifier: Operating System :: OS Independent
21
21
  Classifier: Natural Language :: Polish
22
22
  Classifier: Programming Language :: Python
23
23
  Classifier: Programming Language :: Python :: 3
24
- Classifier: Programming Language :: Python :: 3.8
25
24
  Classifier: Programming Language :: Python :: 3.9
26
25
  Classifier: Programming Language :: Python :: 3.10
27
26
  Classifier: Programming Language :: Python :: 3.11
28
27
  Classifier: Programming Language :: Python :: 3.12
28
+ Classifier: Programming Language :: Python :: 3.13
29
29
  Classifier: Programming Language :: Python :: 3 :: Only
30
30
  Classifier: Programming Language :: Python :: Implementation :: CPython
31
31
  Classifier: Programming Language :: Python :: Implementation :: PyPy
32
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
- Requires-Python: <4.0.0,>=3.8.10
33
+ Requires-Python: <4.0.0,>=3.9.0
34
34
  Description-Content-Type: text/x-rst; charset=UTF-8
35
35
  License-File: LICENSE
36
- Requires-Dist: setuptools>=70.3.0
36
+ Requires-Dist: setuptools>=75.1.0
37
37
  Requires-Dist: packaging>=24.1.0
38
+ Requires-Dist: importlib-metadata>=8.5.0
38
39
  Requires-Dist: tomli>=2.0.1; python_version < "3.11"
40
+ Requires-Dist: docutils>=0.21.2
39
41
  Provides-Extra: doc
40
- Requires-Dist: Sphinx>=7.1.2; extra == "doc"
41
- Requires-Dist: sphinx-toolbox>=3.7.0; extra == "doc"
42
+ Requires-Dist: Sphinx>=7.4.7; extra == "doc"
43
+ Requires-Dist: sphinx-toolbox>=3.8.0; extra == "doc"
42
44
  Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
43
45
  Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
44
46
  Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
45
- Requires-Dist: sphinx-lint>=0.9.1; extra == "doc"
47
+ Requires-Dist: sphinx-lint>=1.0.0; extra == "doc"
46
48
  Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
47
- Requires-Dist: nbsphinx>=0.9.4; extra == "doc"
49
+ Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
48
50
  Provides-Extra: test
49
- Requires-Dist: deepdiff>=7.0.1; extra == "test"
50
- Requires-Dist: rich>=13.7.1; extra == "test"
51
+ Requires-Dist: deepdiff>=8.0.1; extra == "test"
52
+ Requires-Dist: rich>=13.8.1; extra == "test"
51
53
 
52
54
  pkg-about
53
55
  =========
@@ -73,7 +75,7 @@ Installation
73
75
 
74
76
  Prerequisites:
75
77
 
76
- + Python 3.8 or higher
78
+ + Python 3.9 or higher
77
79
 
78
80
  * https://www.python.org/
79
81
 
@@ -122,7 +124,7 @@ or on development mode:
122
124
  License
123
125
  =======
124
126
 
125
- | Copyright (c) 2020-2024 Adam Karpierz
127
+ | |copyright|
126
128
  | Licensed under the zlib/libpng License
127
129
  | https://opensource.org/license/zlib
128
130
  | Please refer to the accompanying LICENSE file.
@@ -134,6 +136,7 @@ Authors
134
136
 
135
137
  .. |package| replace:: pkg-about
136
138
  .. |package_bold| replace:: **pkg-about**
139
+ .. |copyright| replace:: Copyright (c) 2020-2024 Adam Karpierz
137
140
  .. |respository| replace:: https://github.com/karpierz/pkg-about.git
138
141
  .. _Development page: https://github.com/karpierz/pkg-about
139
142
  .. _PyPI record: https://pypi.org/project/pkg-about/
@@ -142,6 +145,17 @@ Authors
142
145
  Changelog
143
146
  =========
144
147
 
148
+ 1.2.0 (2024-09-30)
149
+ ------------------
150
+ - Drop support for Python 3.8
151
+ - Ability to obtain __copyright__ from the README.rst content.
152
+ - Setup (dependencies) update.
153
+
154
+ 1.1.8 (2024-08-13)
155
+ ------------------
156
+ - Add support for Python 3.13
157
+ - Setup (dependencies) update.
158
+
145
159
  1.1.7 (2024-07-15)
146
160
  ------------------
147
161
  - Setup (dependencies) update.
@@ -1,19 +1,21 @@
1
- setuptools>=70.3.0
1
+ setuptools>=75.1.0
2
2
  packaging>=24.1.0
3
+ importlib-metadata>=8.5.0
4
+ docutils>=0.21.2
3
5
 
4
6
  [:python_version < "3.11"]
5
7
  tomli>=2.0.1
6
8
 
7
9
  [doc]
8
- Sphinx>=7.1.2
9
- sphinx-toolbox>=3.7.0
10
+ Sphinx>=7.4.7
11
+ sphinx-toolbox>=3.8.0
10
12
  sphinx-tabs>=3.4.5
11
13
  sphinx-copybutton>=0.5.2
12
14
  sphinxcontrib-spelling>=8.0.0
13
- sphinx-lint>=0.9.1
15
+ sphinx-lint>=1.0.0
14
16
  restructuredtext-lint>=1.4.0
15
- nbsphinx>=0.9.4
17
+ nbsphinx>=0.9.5
16
18
 
17
19
  [test]
18
- deepdiff>=7.0.1
19
- rich>=13.7.1
20
+ deepdiff>=8.0.1
21
+ rich>=13.8.1
@@ -11,7 +11,7 @@ class MainTestCase(unittest.TestCase):
11
11
 
12
12
  @classmethod
13
13
  def setUpClass(cls):
14
- cls.version_expected = "1.1.7"
14
+ cls.version_expected = "1.2.0"
15
15
  version_parts = cls.version_expected.split(".")
16
16
  cls.version_major_expected = int(version_parts[0])
17
17
  cls.version_minor_expected = int(version_parts[1])
@@ -35,7 +35,7 @@ class MainTestCase(unittest.TestCase):
35
35
  self.assertEqual(__maintainer_email__, "adam@karpierz.net")
36
36
  self.assertEqual(__license__,
37
37
  "zlib/libpng License ; https://opensource.org/license/zlib")
38
- self.assertIsNone(__copyright__)
38
+ self.assertEqual(__copyright__, "Copyright (c) 2020-2024 Adam Karpierz")
39
39
 
40
40
  def test_about_from_setup(self):
41
41
  pkg_about.about_from_setup(Path(__file__).resolve().parent.parent)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes