Skip to content

Commit f78213c

Browse files
committed
Changelog entry for 6.103.1
- Legacy-Id: 16778
1 parent 5f9ca1e commit f78213c

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

changelog

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
ietfdb (6.103.1) ietf; urgency=medium
2+
3+
**Test improvement: Starting to use Python type hints and mypy type checking**
4+
5+
This release addresses two issues with the previous release, and as a result
6+
of a test case failing to discover one of the issues, it also introduces the
7+
use of Python type hints according to PEP 484. Type hints for common Python
8+
library modules are provided by mypy, and type hints for Django are provided
9+
by the django-stubs module. The problematic function that was used with the
10+
wrong call signature has received a type annotation that will reveal similar
11+
errors in the future.
12+
13+
This does not provide type annotation generally in the datatracker code;
14+
that will require a lot of additional work (some of which can be automated),
15+
but it gives us static type checking for Django and Python library calls,
16+
and makes type hints useful when we provide them in datatracker code.
17+
18+
From the commit log:
19+
20+
* Fixed up mypy issues or added type:ignore comments as needed for a
21+
clean mypy run.
22+
23+
* Added a mypy .ini file
24+
25+
* Added mypy and django-stubs to Py3 requirements, and added a mypy test
26+
case.
27+
28+
* Changed the call signature of docevent_from_submission() to take an
29+
optional Person object, rather than person name. Added a type hint for the
30+
signature.
31+
32+
* Tweaked the condition for waiving submission email confirmation
33+
slightly.
34+
35+
-- Henrik Levkowetz <henrik@levkowetz.com> 30 Sep 2019 16:55:32 +0000
36+
37+
138
ietfdb (6.103.0) ietf; urgency=medium
239

340
**Draft submission tool changes**

0 commit comments

Comments
 (0)