annotate 2.5.1__tar.gz → 2.5.2__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.
Files changed (28) hide show
  1. {annotate-2.5.1 → annotate-2.5.2}/CHANGES.rst +5 -0
  2. {annotate-2.5.1/src/annotate.egg-info → annotate-2.5.2}/PKG-INFO +2 -1
  3. {annotate-2.5.1 → annotate-2.5.2}/noxfile.py +8 -8
  4. {annotate-2.5.1 → annotate-2.5.2}/pyproject.toml +17 -16
  5. {annotate-2.5.1 → annotate-2.5.2/src/annotate.egg-info}/PKG-INFO +2 -1
  6. {annotate-2.5.1 → annotate-2.5.2}/tests/__main__.py +0 -2
  7. {annotate-2.5.1 → annotate-2.5.2}/LICENSE +0 -0
  8. {annotate-2.5.1 → annotate-2.5.2}/MANIFEST.in +0 -0
  9. {annotate-2.5.1 → annotate-2.5.2}/README.rst +0 -0
  10. {annotate-2.5.1 → annotate-2.5.2}/docs/CHANGES.rst +0 -0
  11. {annotate-2.5.1 → annotate-2.5.2}/docs/README.rst +0 -0
  12. {annotate-2.5.1 → annotate-2.5.2}/docs/_static/.keep +0 -0
  13. {annotate-2.5.1 → annotate-2.5.2}/docs/_templates/.keep +0 -0
  14. {annotate-2.5.1 → annotate-2.5.2}/docs/conf.py +0 -0
  15. {annotate-2.5.1 → annotate-2.5.2}/docs/index.rst +0 -0
  16. {annotate-2.5.1 → annotate-2.5.2}/setup.cfg +0 -0
  17. {annotate-2.5.1 → annotate-2.5.2}/src/annotate/__about__.py +0 -0
  18. {annotate-2.5.1 → annotate-2.5.2}/src/annotate/__init__.py +0 -0
  19. {annotate-2.5.1 → annotate-2.5.2}/src/annotate/_annotate.py +0 -0
  20. {annotate-2.5.1 → annotate-2.5.2}/src/annotate/py.typed +0 -0
  21. {annotate-2.5.1 → annotate-2.5.2}/src/annotate.egg-info/SOURCES.txt +0 -0
  22. {annotate-2.5.1 → annotate-2.5.2}/src/annotate.egg-info/dependency_links.txt +0 -0
  23. {annotate-2.5.1 → annotate-2.5.2}/src/annotate.egg-info/requires.txt +0 -0
  24. {annotate-2.5.1 → annotate-2.5.2}/src/annotate.egg-info/top_level.txt +0 -0
  25. {annotate-2.5.1 → annotate-2.5.2}/src/annotate.egg-info/zip-safe +0 -0
  26. {annotate-2.5.1 → annotate-2.5.2}/tests/__init__.py +0 -0
  27. {annotate-2.5.1 → annotate-2.5.2}/tests/data/.keep +0 -0
  28. {annotate-2.5.1 → annotate-2.5.2}/tests/test_main.py +0 -0
@@ -1,6 +1,11 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 2.5.2 (2026-12-01)
5
+ ------------------
6
+ - Added support for Python 3.16
7
+ - Setup updates, fixes and improvements.
8
+
4
9
  2.5.1 (2026-10-15)
5
10
  ------------------
6
11
  - Added support for GraalPy 3.13
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: annotate
3
- Version: 2.5.1
3
+ Version: 2.5.2
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>
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.12
25
25
  Classifier: Programming Language :: Python :: 3.13
26
26
  Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Programming Language :: Python :: 3.15
28
+ Classifier: Programming Language :: Python :: 3.16
28
29
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
30
  Classifier: Programming Language :: Python :: Implementation :: PyPy
30
31
  Classifier: Programming Language :: Python :: Implementation :: GraalPy
@@ -2,7 +2,7 @@
2
2
  # SPDX-License-Identifier: Zlib
3
3
 
4
4
  # /// script
5
- # dependencies = ["nox>=2026.8.17", "nox_ext", "nox_lib"]
5
+ # dependencies = ["nox>=2026.10.20", "nox_ext", "nox_lib"]
6
6
  # ///
7
7
 
8
8
  from __future__ import annotations
@@ -69,7 +69,7 @@ def docs(session: nox.Session) -> None:
69
69
  nox_lib.docs.sphinx(session)
70
70
 
71
71
  @nox.session(python=[PY_DEFAULT], default=False,
72
- requires=["tests", "docs"])
72
+ requires=["tests", "coverage", "lint", "typing", "docs"])
73
73
  def build(session: nox.Session) -> None:
74
74
  """Building the package"""
75
75
  session.install("--group=build")
@@ -83,14 +83,14 @@ def publish(session: nox.Session) -> None:
83
83
  nox_lib.publish.on_pypi(session)
84
84
  nox_lib.publish.docs_on_gh_pages(session)
85
85
 
86
- @nox.session(python=[PY_DEFAULT])
87
- def typing(session: nox.Session) -> None:
88
- """Static type checking"""
89
- session.install(".", "--group=typing")
90
- nox_lib.typing.mypy(session)
91
-
92
86
  @nox.session(python=[PY_DEFAULT])
93
87
  def lint(session: nox.Session) -> None:
94
88
  """Checking code style and quality"""
95
89
  session.install(".", "--group=lint")
96
90
  nox_lib.lint.flake8(session)
91
+
92
+ @nox.session(python=[PY_DEFAULT])
93
+ def typing(session: nox.Session) -> None:
94
+ """Static type checking"""
95
+ session.install(".", "--group=typing")
96
+ nox_lib.typing.mypy(session)
@@ -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.3.0" ]
6
+ requires = [ "setuptools>=81.0.0", "packaging>=26.4.0" ]
7
7
 
8
8
  [project]
9
9
  name = "annotate"
10
- version = "2.5.1"
10
+ version = "2.5.2"
11
11
  description = "Decorator to set a function's __annotations__ like Py3."
12
12
  keywords = [ "annotate", "typing", "decorator" ]
13
13
  license = "Zlib"
@@ -38,6 +38,7 @@ classifiers = [
38
38
  "Programming Language :: Python :: 3.13",
39
39
  "Programming Language :: Python :: 3.14",
40
40
  "Programming Language :: Python :: 3.15",
41
+ "Programming Language :: Python :: 3.16",
41
42
  "Programming Language :: Python :: Implementation :: CPython",
42
43
  "Programming Language :: Python :: Implementation :: PyPy",
43
44
  "Programming Language :: Python :: Implementation :: GraalPy",
@@ -57,7 +58,7 @@ dependencies = [
57
58
 
58
59
  [dependency-groups]
59
60
  base = [
60
- "pip>=26.2.1; platform_python_implementation!='GraalVM'",
61
+ "pip>=26.3.0; platform_python_implementation!='GraalVM'",
61
62
  "pip>=26.1.2; platform_python_implementation=='GraalVM' and python_version~='3.13.0'",
62
63
  "pip>=24.3.1; platform_python_implementation=='GraalVM' and python_version~='3.12.0'",
63
64
  "setuptools>=81.0.0",
@@ -69,9 +70,9 @@ test = [
69
70
  ]
70
71
  coverage = [
71
72
  { include-group = "test" },
72
- "coverage>=7.16.2",
73
+ "coverage>=7.17.5",
73
74
  "covdefaults>=2.3.0",
74
- "diff-cover>=10.6.0",
75
+ "diff-cover>=11.0.5",
75
76
  ]
76
77
  docs = [
77
78
  { include-group = "base" },
@@ -97,21 +98,21 @@ build = [
97
98
  publish = [
98
99
  "twine>=7.0.0",
99
100
  ]
100
- typing = [
101
- { include-group = "base" },
102
- "mypy>=2.4.0",
103
- "mypy-extensions>=1.1.0",
104
- "types-setuptools>=81.0.0.20260209",
105
- ]
106
101
  lint = [
107
102
  { include-group = "test" },
108
- "flake8>=7.4.1",
103
+ "flake8>=7.5.0",
109
104
  "flake8-in-file-ignores>=0.3.0",
110
105
  "flake8-pyproject>=1.2.4",
111
106
  "flake8-docstrings>=1.7.0",
112
107
  "pep8-naming>=0.15.1",
113
- "flake8-builtins>=3.1.0",
114
- "flake8-deprecated>=2.3.0",
108
+ "flake8-builtins>=3.2.0",
109
+ "flake8-deprecated>=2.4.0",
110
+ ]
111
+ typing = [
112
+ { include-group = "base" },
113
+ "mypy>=2.4.1",
114
+ "mypy-extensions>=1.2.0",
115
+ "types-setuptools>=81.0.0.20260209",
115
116
  ]
116
117
 
117
118
  [tool.setuptools]
@@ -123,7 +124,7 @@ packages.find.namespaces = false
123
124
  packages.find.where = [ "src" ]
124
125
  package-dir."" = "src"
125
126
  # package-dir."annotate.tests" = "tests"
126
- package-data.annotate = [
127
+ package-data."annotate" = [
127
128
  ]
128
129
  exclude-package-data."*" = [
129
130
  "*.c", "*.h",
@@ -131,7 +132,7 @@ exclude-package-data."*" = [
131
132
  "*.cxx", "*.hxx",
132
133
  "*.pyx", "*.pxd",
133
134
  ]
134
- exclude-package-data.annotate = [
135
+ exclude-package-data."annotate" = [
135
136
  ]
136
137
 
137
138
  [tool.coverage]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: annotate
3
- Version: 2.5.1
3
+ Version: 2.5.2
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>
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.12
25
25
  Classifier: Programming Language :: Python :: 3.13
26
26
  Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Programming Language :: Python :: 3.15
28
+ Classifier: Programming Language :: Python :: 3.16
28
29
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
30
  Classifier: Programming Language :: Python :: Implementation :: PyPy
30
31
  Classifier: Programming Language :: Python :: Implementation :: GraalPy
@@ -9,8 +9,6 @@ import logging
9
9
 
10
10
  from . import test_dir
11
11
 
12
- log = logging.getLogger(__name__)
13
-
14
12
 
15
13
  def test_suite(names=None, include=(), exclude=()):
16
14
  from . import __name__ as pkg_name
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