annotate 1.1.0__zip → 1.1.2__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. {annotate-1.1.0 → annotate-1.1.2}/CHANGES.rst +8 -0
  2. {annotate-1.1.0 → annotate-1.1.2}/PKG-INFO +13 -5
  3. {annotate-1.1.0 → annotate-1.1.2}/pyproject.toml +45 -45
  4. {annotate-1.1.0 → annotate-1.1.2}/src/annotate/_annotate.py +2 -2
  5. {annotate-1.1.0 → annotate-1.1.2}/src/annotate.egg-info/PKG-INFO +13 -5
  6. {annotate-1.1.0 → annotate-1.1.2}/src/annotate.egg-info/requires.txt +4 -4
  7. {annotate-1.1.0 → annotate-1.1.2}/.readthedocs.yml +0 -0
  8. {annotate-1.1.0 → annotate-1.1.2}/LICENSE +0 -0
  9. {annotate-1.1.0 → annotate-1.1.2}/MANIFEST.in +0 -0
  10. {annotate-1.1.0 → annotate-1.1.2}/README.rst +0 -0
  11. {annotate-1.1.0 → annotate-1.1.2}/docs/CHANGES.rst +0 -0
  12. {annotate-1.1.0 → annotate-1.1.2}/docs/README.rst +0 -0
  13. {annotate-1.1.0 → annotate-1.1.2}/docs/_static/.keep +0 -0
  14. {annotate-1.1.0 → annotate-1.1.2}/docs/_templates/.keep +0 -0
  15. {annotate-1.1.0 → annotate-1.1.2}/docs/conf.py +0 -0
  16. {annotate-1.1.0 → annotate-1.1.2}/docs/index.rst +0 -0
  17. {annotate-1.1.0 → annotate-1.1.2}/setup.cfg +0 -0
  18. {annotate-1.1.0 → annotate-1.1.2}/src/annotate/__about__.py +0 -0
  19. {annotate-1.1.0 → annotate-1.1.2}/src/annotate/__init__.py +0 -0
  20. {annotate-1.1.0 → annotate-1.1.2}/src/annotate.egg-info/SOURCES.txt +0 -0
  21. {annotate-1.1.0 → annotate-1.1.2}/src/annotate.egg-info/dependency_links.txt +0 -0
  22. {annotate-1.1.0 → annotate-1.1.2}/src/annotate.egg-info/top_level.txt +0 -0
  23. {annotate-1.1.0 → annotate-1.1.2}/src/annotate.egg-info/zip-safe +0 -0
  24. {annotate-1.1.0 → annotate-1.1.2}/tests/__init__.py +0 -0
  25. {annotate-1.1.0 → annotate-1.1.2}/tests/__main__.py +0 -0
  26. {annotate-1.1.0 → annotate-1.1.2}/tests/data/.keep +0 -0
  27. {annotate-1.1.0 → annotate-1.1.2}/tests/test_main.py +0 -0
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.1.2 (2024-10-30)
5
+ ------------------
6
+ - Setup (dependencies) update.
7
+
8
+ 1.1.1 (2024-10-09)
9
+ ------------------
10
+ - Setup (dependencies) update.
11
+
4
12
  1.1.0 (2024-09-30)
5
13
  ------------------
6
14
  - Drop support for Python 3.8
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: annotate
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Decorator to set a function's __annotations__ like Py3.
5
5
  Author: Adam Karpierz
6
6
  Author-email: adam@karpierz.net
@@ -33,11 +33,11 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
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>=75.1.0
37
- Requires-Dist: pkg-about>=1.2.0
36
+ Requires-Dist: setuptools>=75.3.0
37
+ Requires-Dist: pkg-about>=1.2.2
38
38
  Provides-Extra: doc
39
39
  Requires-Dist: Sphinx>=7.4.7; extra == "doc"
40
- Requires-Dist: sphinx-toolbox>=3.8.0; extra == "doc"
40
+ Requires-Dist: sphinx-toolbox>=3.8.1; extra == "doc"
41
41
  Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
42
42
  Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
43
43
  Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
@@ -46,7 +46,7 @@ Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
46
46
  Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
47
47
  Provides-Extra: test
48
48
  Requires-Dist: deepdiff>=8.0.1; extra == "test"
49
- Requires-Dist: rich>=13.8.1; extra == "test"
49
+ Requires-Dist: rich>=13.9.4; extra == "test"
50
50
 
51
51
  annotate
52
52
  ========
@@ -287,6 +287,14 @@ Authors
287
287
  Changelog
288
288
  =========
289
289
 
290
+ 1.1.2 (2024-10-30)
291
+ ------------------
292
+ - Setup (dependencies) update.
293
+
294
+ 1.1.1 (2024-10-09)
295
+ ------------------
296
+ - Setup (dependencies) update.
297
+
290
298
  1.1.0 (2024-09-30)
291
299
  ------------------
292
300
  - Drop support for Python 3.8
@@ -3,11 +3,11 @@
3
3
 
4
4
  [build-system]
5
5
  build-backend = 'setuptools.build_meta'
6
- requires = ['setuptools>=75.1.0', 'wheel>=0.44.0', 'packaging>=24.1.0', 'tox>=4.20.0']
6
+ requires = ['setuptools>=75.3.0', 'wheel>=0.44.0', 'packaging>=24.1.0', 'tox>=4.23.2']
7
7
 
8
8
  [project]
9
9
  name = 'annotate'
10
- version = '1.1.0'
10
+ version = '1.1.2'
11
11
  description = '''Decorator to set a function's __annotations__ like Py3.'''
12
12
  urls.Homepage = 'https://pypi.org/project/annotate/'
13
13
  urls.Documentation = 'https://annotate2.readthedocs.io/'
@@ -45,16 +45,16 @@ classifiers = [
45
45
  requires-python = '>=3.9.0,<4.0.0'
46
46
  dependencies = [
47
47
  # mandatory
48
- 'setuptools>=75.1.0',
49
- 'pkg-about>=1.2.0',
48
+ 'setuptools>=75.3.0',
49
+ 'pkg-about>=1.2.2',
50
50
  # others
51
51
  ]
52
52
  dynamic = ['readme']
53
53
  [project.optional-dependencies]
54
54
  doc = [
55
55
  'Sphinx>=7.4.7',
56
- 'sphinx-toolbox>=3.8.0',
57
- 'sphinx-tabs>=3.4.5',
56
+ 'sphinx-toolbox>=3.8.1',
57
+ 'sphinx-tabs>=3.4.5', # don't touch! sphinx-toolbox requires <3.4.7
58
58
  'sphinx-copybutton>=0.5.2',
59
59
  'sphinxcontrib-spelling>=8.0.0',
60
60
  'sphinx-lint>=1.0.0',
@@ -63,7 +63,7 @@ doc = [
63
63
  ]
64
64
  test = [
65
65
  'deepdiff>=8.0.1',
66
- 'rich>=13.8.1',
66
+ 'rich>=13.9.4',
67
67
  ]
68
68
 
69
69
  [project.scripts]
@@ -157,7 +157,7 @@ count = true
157
157
  [tool.tox]
158
158
  legacy_tox_ini = """
159
159
  [tox]
160
- envlist = py{39,310,311,312,313}, pypy{39,310}, docs
160
+ env_list = py{39,310,311,312,313}, pypy{39,310}, docs
161
161
  labels =
162
162
  py = py{39,310,311,312,313}, pypy{39,310}
163
163
  prepare = prepare
@@ -166,35 +166,35 @@ labels =
166
166
  docs = docs
167
167
  build = py{39,310,311,312,313}, pypy{39,310}, docs, build
168
168
  deploy = py{39,310,311,312,313}, pypy{39,310}, docs, build, publish
169
- minversion = 4.20.0
169
+ min_version = 4.23.2
170
170
  skip_missing_interpreters = true
171
171
  requires =
172
172
  {[base]deps}
173
- virtualenv>=20.26.6
174
- tox-backtick>=0.5.0
173
+ virtualenv>=20.27.1
174
+ tox-backtick>=0.5.2
175
175
  tox-tags>=0.2.0
176
176
 
177
177
  [base]
178
- basepython = python3.12
178
+ base_python = python3.12
179
179
  deps =
180
- pip>=24.2.0
181
- setuptools>=75.1.0
180
+ pip>=24.3.1
181
+ setuptools>=75.3.0
182
182
  wheel>=0.44.0
183
- packagesubdir = annotate
183
+ package_subdir = annotate
184
184
 
185
185
  [testenv]
186
- passenv = WINDIR
187
- setenv =
186
+ pass_env = WINDIR
187
+ set_env =
188
188
  PYTHONDONTWRITEBYTECODE = 1
189
189
  commands =
190
- {envpython} --version
191
- {envpython} -m tests {posargs}
190
+ {env_python} --version
191
+ {env_python} -m tests {posargs}
192
192
  extras = test
193
193
  deps =
194
194
  {[base]deps}
195
195
 
196
196
  [testenv:prepare]
197
- basepython = {[base]basepython}
197
+ base_python = {[base]base_python}
198
198
  skip_install = true
199
199
  allowlist_externals =
200
200
  cmd
@@ -203,61 +203,61 @@ commands =
203
203
  cmd /C if exist .build.cmd .build.cmd
204
204
 
205
205
  [testenv:coverage]
206
- basepython = {[base]basepython}
206
+ base_python = {[base]base_python}
207
207
  commands =
208
- {envpython} -m coverage erase
209
- -{envpython} -m coverage run -m tests {posargs}
210
- {envpython} -m coverage report
211
- {envpython} -m coverage html
208
+ {env_python} -m coverage erase
209
+ -{env_python} -m coverage run -m tests {posargs}
210
+ {env_python} -m coverage report
211
+ {env_python} -m coverage html
212
212
  deps =
213
213
  {[testenv]deps}
214
- coverage>=7.6.1
214
+ coverage>=7.6.4
215
215
  covdefaults>=2.3.0
216
216
  diff-cover>=9.2.0
217
217
 
218
218
  [testenv:docs]
219
- basepython = {[base]basepython}
219
+ base_python = {[base]base_python}
220
220
  commands =
221
- {envpython} -m sphinxlint --ignore .tox --ignore build --ignore dist
222
- #{envpython} -m sphinx.apidoc -f {envsitepackagesdir}/{[base]packagesubdir}
223
- {envpython} -m sphinx.cmd.build -W -a -b html -E ./docs ./build/docs/html
224
- {envpython} -m sphinx.cmd.build -W -a -b linkcheck ./docs ./build/docs/html
225
- {envpython} -m sphinx.cmd.build -W -a -b doctest ./docs ./build/docs/html
221
+ {env_python} -m sphinxlint --ignore .tox --ignore build --ignore dist
222
+ #{env_python} -m sphinx.apidoc -f {envsitepackagesdir}/{[base]package_subdir}
223
+ {env_python} -m sphinx.cmd.build -W -a -b html -E ./docs ./build/docs/html
224
+ {env_python} -m sphinx.cmd.build -W -a -b linkcheck ./docs ./build/docs/html
225
+ {env_python} -m sphinx.cmd.build -W -a -b doctest ./docs ./build/docs/html
226
226
  extras = doc
227
227
  deps =
228
228
 
229
229
  [testenv:build]
230
230
  depends = py{39,310,311,312,313}, pypy{39,310}, docs
231
- basepython = {[base]basepython}
232
- setenv =
233
- {[testenv]setenv}
234
- PKG_PVER=`{envpython} -W ignore -c "import platform ; print(''.join(platform.python_version_tuple()[:2]), end='')" 2> nul`
235
- PKG_NAME=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')" 2> nul`
236
- PKG_DIST=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')" 2> nul`
231
+ base_python = {[base]base_python}
232
+ set_env =
233
+ {[testenv]set_env}
234
+ PKG_PVER=`{env_python} -W ignore -c "import platform ; print(''.join(platform.python_version_tuple()[:2]), end='')" 2> nul`
235
+ PKG_NAME=`{env_python} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')" 2> nul`
236
+ PKG_DIST=`{env_python} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')" 2> nul`
237
237
  commands =
238
- {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
239
- {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet bdist_wheel
238
+ {env_python} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
239
+ {env_python} -W ignore -c "from setuptools import setup ; setup()" --quiet bdist_wheel
240
240
  # check out for PyPi
241
- {envpython} -m twine check dist/*
241
+ {env_python} -m twine check dist/*
242
242
  deps =
243
243
  {[testenv]deps}
244
244
  twine>=5.1.1
245
245
 
246
246
  [testenv:publish]
247
247
  depends = build
248
- basepython = {[base]basepython}
248
+ base_python = {[base]base_python}
249
249
  skip_install = true
250
250
  commands =
251
251
  # publish on PyPi
252
- {envpython} -m twine upload dist/*
252
+ {env_python} -m twine upload dist/*
253
253
  extras =
254
254
  deps =
255
255
  twine>=5.1.1
256
256
 
257
257
  [testenv:lint]
258
- basepython = {[base]basepython}
258
+ base_python = {[base]base_python}
259
259
  commands =
260
- {envpython} -m flake8 {envsitepackagesdir}/{[base]packagesubdir}/
260
+ {env_python} -m flake8 {envsitepackagesdir}/{[base]package_subdir}/
261
261
  extras =
262
262
  deps =
263
263
  {[testenv]deps}
@@ -4,12 +4,12 @@
4
4
  __all__ = ('annotate',)
5
5
 
6
6
 
7
- def annotate(*args, **kargs):
7
+ def annotate(*args, **kwargs):
8
8
  """Decorator to set a function's __annotations__ like Py3."""
9
9
 
10
10
  def decorate(func):
11
11
  if not getattr(func, "__annotations__", None):
12
- func.__annotations__ = kargs.copy()
12
+ func.__annotations__ = kwargs.copy()
13
13
  if args:
14
14
  func.__annotations__["return"] = args[0]
15
15
  return func
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: annotate
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Decorator to set a function's __annotations__ like Py3.
5
5
  Author: Adam Karpierz
6
6
  Author-email: adam@karpierz.net
@@ -33,11 +33,11 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
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>=75.1.0
37
- Requires-Dist: pkg-about>=1.2.0
36
+ Requires-Dist: setuptools>=75.3.0
37
+ Requires-Dist: pkg-about>=1.2.2
38
38
  Provides-Extra: doc
39
39
  Requires-Dist: Sphinx>=7.4.7; extra == "doc"
40
- Requires-Dist: sphinx-toolbox>=3.8.0; extra == "doc"
40
+ Requires-Dist: sphinx-toolbox>=3.8.1; extra == "doc"
41
41
  Requires-Dist: sphinx-tabs>=3.4.5; extra == "doc"
42
42
  Requires-Dist: sphinx-copybutton>=0.5.2; extra == "doc"
43
43
  Requires-Dist: sphinxcontrib-spelling>=8.0.0; extra == "doc"
@@ -46,7 +46,7 @@ Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
46
46
  Requires-Dist: nbsphinx>=0.9.5; extra == "doc"
47
47
  Provides-Extra: test
48
48
  Requires-Dist: deepdiff>=8.0.1; extra == "test"
49
- Requires-Dist: rich>=13.8.1; extra == "test"
49
+ Requires-Dist: rich>=13.9.4; extra == "test"
50
50
 
51
51
  annotate
52
52
  ========
@@ -287,6 +287,14 @@ Authors
287
287
  Changelog
288
288
  =========
289
289
 
290
+ 1.1.2 (2024-10-30)
291
+ ------------------
292
+ - Setup (dependencies) update.
293
+
294
+ 1.1.1 (2024-10-09)
295
+ ------------------
296
+ - Setup (dependencies) update.
297
+
290
298
  1.1.0 (2024-09-30)
291
299
  ------------------
292
300
  - Drop support for Python 3.8
@@ -1,9 +1,9 @@
1
- setuptools>=75.1.0
2
- pkg-about>=1.2.0
1
+ setuptools>=75.3.0
2
+ pkg-about>=1.2.2
3
3
 
4
4
  [doc]
5
5
  Sphinx>=7.4.7
6
- sphinx-toolbox>=3.8.0
6
+ sphinx-toolbox>=3.8.1
7
7
  sphinx-tabs>=3.4.5
8
8
  sphinx-copybutton>=0.5.2
9
9
  sphinxcontrib-spelling>=8.0.0
@@ -13,4 +13,4 @@ nbsphinx>=0.9.5
13
13
 
14
14
  [test]
15
15
  deepdiff>=8.0.1
16
- rich>=13.8.1
16
+ rich>=13.9.4
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
File without changes
File without changes
File without changes
File without changes
File without changes