annotate 2.3.0__tar.gz → 2.4.0__tar.gz
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.
- {annotate-2.3.0 → annotate-2.4.0}/CHANGES.rst +7 -0
- {annotate-2.3.0/src/annotate.egg-info → annotate-2.4.0}/PKG-INFO +5 -5
- {annotate-2.3.0 → annotate-2.4.0}/README.rst +1 -1
- {annotate-2.3.0 → annotate-2.4.0}/noxfile.py +4 -3
- {annotate-2.3.0 → annotate-2.4.0}/pyproject.toml +15 -14
- {annotate-2.3.0 → annotate-2.4.0/src/annotate.egg-info}/PKG-INFO +5 -5
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate.egg-info/requires.txt +1 -1
- {annotate-2.3.0 → annotate-2.4.0}/LICENSE +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/MANIFEST.in +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/docs/CHANGES.rst +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/docs/README.rst +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/docs/_static/.keep +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/docs/_templates/.keep +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/docs/conf.py +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/docs/index.rst +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/setup.cfg +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate/__about__.py +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate/__init__.py +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate/_annotate.py +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate/py.typed +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate.egg-info/SOURCES.txt +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate.egg-info/dependency_links.txt +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate.egg-info/top_level.txt +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/src/annotate.egg-info/zip-safe +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/tests/__init__.py +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/tests/__main__.py +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/tests/data/.keep +0 -0
- {annotate-2.3.0 → annotate-2.4.0}/tests/test_main.py +0 -0
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
2.4.0 (2026-05-11)
|
|
5
|
+
------------------
|
|
6
|
+
- Added support for GraalPy 3.12
|
|
7
|
+
- Dropped support for Python 3.10 (due to compatibility issues).
|
|
8
|
+
- Fix for nox 'lint' session.
|
|
9
|
+
- Setup update and improvement.
|
|
10
|
+
|
|
4
11
|
2.3.0 (2026-03-30)
|
|
5
12
|
------------------
|
|
6
13
|
- Setup update and improvement.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: annotate
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Decorator to set a function's __annotations__ like Py3.
|
|
5
5
|
Author-email: Adam Karpierz <adam@karpierz.net>
|
|
6
6
|
Maintainer-email: Adam Karpierz <adam@karpierz.net>
|
|
@@ -20,7 +20,6 @@ Classifier: Natural Language :: Polish
|
|
|
20
20
|
Classifier: Operating System :: OS Independent
|
|
21
21
|
Classifier: Programming Language :: Python
|
|
22
22
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -28,13 +27,14 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
28
27
|
Classifier: Programming Language :: Python :: 3.15
|
|
29
28
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
30
29
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
30
|
+
Classifier: Programming Language :: Python :: Implementation :: GraalPy
|
|
31
31
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
32
32
|
Classifier: Typing :: Typed
|
|
33
|
-
Requires-Python: <4.0.0,>=3.
|
|
33
|
+
Requires-Python: <4.0.0,>=3.11.0
|
|
34
34
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
35
35
|
License-File: LICENSE
|
|
36
36
|
Requires-Dist: typing-extensions>=4.15.0
|
|
37
|
-
Requires-Dist: pkg-about>=2.
|
|
37
|
+
Requires-Dist: pkg-about>=2.4.0
|
|
38
38
|
Dynamic: license-file
|
|
39
39
|
|
|
40
40
|
annotate
|
|
@@ -206,7 +206,7 @@ Installation
|
|
|
206
206
|
|
|
207
207
|
Prerequisites:
|
|
208
208
|
|
|
209
|
-
+ Python 3.
|
|
209
|
+
+ Python 3.11 or higher
|
|
210
210
|
|
|
211
211
|
* https://www.python.org/
|
|
212
212
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# SPDX-License-Identifier: Zlib
|
|
3
3
|
|
|
4
4
|
# /// script
|
|
5
|
-
# dependencies = ["nox>=2026.
|
|
5
|
+
# dependencies = ["nox>=2026.4.10", "nox_ext", "nox_lib"]
|
|
6
6
|
# ///
|
|
7
7
|
|
|
8
8
|
from __future__ import annotations
|
|
@@ -63,7 +63,7 @@ def cleanup(session: nox.Session) -> None:
|
|
|
63
63
|
rmtree(here/".tox")
|
|
64
64
|
rmtree(here/".nox")
|
|
65
65
|
|
|
66
|
-
@nox.session(python=[*PY_VERSIONS, "pypy3.
|
|
66
|
+
@nox.session(python=[*PY_VERSIONS, "pypy3.11", "graalpy3.12"])
|
|
67
67
|
def tests(session: nox.Session) -> None:
|
|
68
68
|
"""Running tests"""
|
|
69
69
|
session.install(".", "--group=test")
|
|
@@ -144,12 +144,13 @@ def publish(session: nox.Session) -> None:
|
|
|
144
144
|
@nox.session(python=[PY_DEFAULT])
|
|
145
145
|
def typing(session: nox.Session) -> None:
|
|
146
146
|
"""Static type checking"""
|
|
147
|
-
session.install(".", "--group=
|
|
147
|
+
session.install(".", "--group=typing")
|
|
148
148
|
session.py("-m", "mypy")
|
|
149
149
|
|
|
150
150
|
@nox.session(python=[PY_DEFAULT])
|
|
151
151
|
def lint(session: nox.Session) -> None:
|
|
152
152
|
"""Checking code style and quality"""
|
|
153
153
|
session.install(".", "--group=lint")
|
|
154
|
+
env_dir = Path(session.virtualenv.location)
|
|
154
155
|
out_file = env_dir/"flake8out.txt"
|
|
155
156
|
session.py("-m", "flake8", "--output-file", out_file, here/"src/")
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
[build-system]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
|
-
requires = [ "setuptools>=81.0.0", "packaging>=26.
|
|
6
|
+
requires = [ "setuptools>=81.0.0", "packaging>=26.2.0" ]
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "annotate"
|
|
10
|
-
version = "2.
|
|
10
|
+
version = "2.4.0"
|
|
11
11
|
description = "Decorator to set a function's __annotations__ like Py3."
|
|
12
12
|
keywords = [ "annotate", "typing", "decorator" ]
|
|
13
13
|
license = "Zlib"
|
|
@@ -25,7 +25,7 @@ urls.Download = "https://pypi.org/project/annotate/"
|
|
|
25
25
|
urls.Repository = "https://github.com/karpierz/annotate"
|
|
26
26
|
urls.Tracker = "https://github.com/karpierz/annotate/issues"
|
|
27
27
|
urls.Sponsoring = "https://www.paypal.com/donate/?hosted_button_id=FX8L7CJUGLW7S"
|
|
28
|
-
requires-python = ">=3.
|
|
28
|
+
requires-python = ">=3.11.0,<4.0.0"
|
|
29
29
|
classifiers = [
|
|
30
30
|
"Development Status :: 5 - Production/Stable",
|
|
31
31
|
"Intended Audience :: Developers",
|
|
@@ -33,7 +33,6 @@ classifiers = [
|
|
|
33
33
|
"Operating System :: OS Independent",
|
|
34
34
|
"Programming Language :: Python",
|
|
35
35
|
"Programming Language :: Python :: 3 :: Only",
|
|
36
|
-
"Programming Language :: Python :: 3.10",
|
|
37
36
|
"Programming Language :: Python :: 3.11",
|
|
38
37
|
"Programming Language :: Python :: 3.12",
|
|
39
38
|
"Programming Language :: Python :: 3.13",
|
|
@@ -41,6 +40,7 @@ classifiers = [
|
|
|
41
40
|
"Programming Language :: Python :: 3.15",
|
|
42
41
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
43
42
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
43
|
+
"Programming Language :: Python :: Implementation :: GraalPy",
|
|
44
44
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
45
45
|
"Typing :: Typed",
|
|
46
46
|
]
|
|
@@ -51,32 +51,33 @@ dynamic = [ "readme" ]
|
|
|
51
51
|
dependencies = [
|
|
52
52
|
# mandatory
|
|
53
53
|
"typing-extensions>=4.15.0",
|
|
54
|
-
"pkg-about>=2.
|
|
54
|
+
"pkg-about>=2.4.0",
|
|
55
55
|
# others
|
|
56
56
|
]
|
|
57
57
|
|
|
58
58
|
[dependency-groups]
|
|
59
59
|
base = [
|
|
60
|
-
"pip>=26.
|
|
60
|
+
"pip>=26.1.1; platform_python_implementation!='GraalVM'",
|
|
61
|
+
"pip>=24.3.1; platform_python_implementation=='GraalVM'",
|
|
61
62
|
"setuptools>=81.0.0",
|
|
62
63
|
]
|
|
63
64
|
test = [
|
|
64
65
|
{ include-group = "base" },
|
|
65
66
|
"deepdiff>=9.0.0",
|
|
66
|
-
"rich>=
|
|
67
|
+
"rich>=15.0.0",
|
|
67
68
|
]
|
|
68
69
|
coverage = [
|
|
69
70
|
{ include-group = "test" },
|
|
70
|
-
"coverage>=7.
|
|
71
|
+
"coverage>=7.14.0",
|
|
71
72
|
"covdefaults>=2.3.0",
|
|
72
73
|
"diff-cover>=10.2.0",
|
|
73
74
|
]
|
|
74
75
|
docs = [
|
|
75
76
|
{ include-group = "base" },
|
|
76
|
-
"sphinx>=
|
|
77
|
+
"sphinx>=9.0.4",
|
|
77
78
|
"pygments_ansi_color>=0.3.0", # fix sphinx load error
|
|
78
79
|
"roman_numerals>=4.1.0", # -||-
|
|
79
|
-
"sphinx-autodoc-typehints>=3.
|
|
80
|
+
"sphinx-autodoc-typehints>=3.6.1",
|
|
80
81
|
"sphinx-toolbox>=4.1.2",
|
|
81
82
|
"sphinx-tabs>=3.4.5", # Do not change - sphinx-toolbox requires <3.4.7
|
|
82
83
|
"sphinx-copybutton>=0.5.2",
|
|
@@ -88,15 +89,15 @@ docs = [
|
|
|
88
89
|
build = [
|
|
89
90
|
{ include-group = "test" },
|
|
90
91
|
"check-manifest>=0.51",
|
|
91
|
-
"build>=1.
|
|
92
|
+
"build>=1.5.0",
|
|
92
93
|
"twine>=6.2.0",
|
|
93
94
|
]
|
|
94
95
|
publish = [
|
|
95
96
|
"twine>=6.2.0",
|
|
96
97
|
]
|
|
97
|
-
|
|
98
|
+
typing = [
|
|
98
99
|
{ include-group = "base" },
|
|
99
|
-
"mypy>=1.
|
|
100
|
+
"mypy>=2.1.0",
|
|
100
101
|
"mypy_extensions>=1.1.0",
|
|
101
102
|
"types-setuptools>=81.0.0.20260209",
|
|
102
103
|
]
|
|
@@ -212,7 +213,7 @@ ignore = [
|
|
|
212
213
|
count = true
|
|
213
214
|
|
|
214
215
|
[tool.mypy]
|
|
215
|
-
python_version = "3.
|
|
216
|
+
python_version = "3.11"
|
|
216
217
|
strict = true
|
|
217
218
|
sqlite_cache = true
|
|
218
219
|
warn_unused_configs = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: annotate
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Decorator to set a function's __annotations__ like Py3.
|
|
5
5
|
Author-email: Adam Karpierz <adam@karpierz.net>
|
|
6
6
|
Maintainer-email: Adam Karpierz <adam@karpierz.net>
|
|
@@ -20,7 +20,6 @@ Classifier: Natural Language :: Polish
|
|
|
20
20
|
Classifier: Operating System :: OS Independent
|
|
21
21
|
Classifier: Programming Language :: Python
|
|
22
22
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -28,13 +27,14 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
28
27
|
Classifier: Programming Language :: Python :: 3.15
|
|
29
28
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
30
29
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
30
|
+
Classifier: Programming Language :: Python :: Implementation :: GraalPy
|
|
31
31
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
32
32
|
Classifier: Typing :: Typed
|
|
33
|
-
Requires-Python: <4.0.0,>=3.
|
|
33
|
+
Requires-Python: <4.0.0,>=3.11.0
|
|
34
34
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
35
35
|
License-File: LICENSE
|
|
36
36
|
Requires-Dist: typing-extensions>=4.15.0
|
|
37
|
-
Requires-Dist: pkg-about>=2.
|
|
37
|
+
Requires-Dist: pkg-about>=2.4.0
|
|
38
38
|
Dynamic: license-file
|
|
39
39
|
|
|
40
40
|
annotate
|
|
@@ -206,7 +206,7 @@ Installation
|
|
|
206
206
|
|
|
207
207
|
Prerequisites:
|
|
208
208
|
|
|
209
|
-
+ Python 3.
|
|
209
|
+
+ Python 3.11 or higher
|
|
210
210
|
|
|
211
211
|
* https://www.python.org/
|
|
212
212
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
typing-extensions>=4.15.0
|
|
2
|
-
pkg-about>=2.
|
|
2
|
+
pkg-about>=2.4.0
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|