444 Commits

Author SHA1 Message Date
Cosimo Lupo
810aeaa4d7
Bump version: 4.37.3 → 4.37.4.dev0 2022-09-20 11:00:17 +01:00
Cosimo Lupo
8bc00a64b8
Release 4.37.3 2022-09-20 11:00:15 +01:00
Cosimo Lupo
b9299532a1
Bump version: 4.37.2 → 4.37.3.dev0 2022-09-15 18:28:50 +01:00
Cosimo Lupo
1f9e6eb132
Release 4.37.2 2022-09-15 18:28:48 +01:00
Cosimo Lupo
afd0b48f77 Bump version: 4.37.1 → 4.37.2.dev0 2022-08-24 18:36:22 +01:00
Cosimo Lupo
2edaa2a29c Release 4.37.1 2022-08-24 18:36:22 +01:00
Cosimo Lupo
86107453d2 Bump version: 4.37.0 → 4.37.1.dev0 2022-08-23 17:43:58 +01:00
Cosimo Lupo
d4ac42e682 Release 4.37.0 2022-08-23 17:43:58 +01:00
Cosimo Lupo
24af2b91cf Bump version: 4.36.0 → 4.36.1.dev0 2022-08-17 19:01:50 +02:00
Cosimo Lupo
9caf92ef25 Release 4.36.0 2022-08-17 19:01:50 +02:00
Behdad Esfahbod
03d264756b
Test var model error (#2217)
* [varLib.models] Add test for modeling rounding error

Tests https://github.com/fonttools/fonttools/pull/2214

If you flip demo to True, it does a slower test and demos the new error as well
as the error the old code was producing (ie. rounding deltas post-modeling).

Indeed, the new error is always capped by 0.5 as expected, whereas the old one
was unbounded. Here's the worst-case error of the bad code:

...
240     0.42    4.8
...

240 is just the line number. 0.42 is new error. 4.8 is old error.

* turn test_modeling_error into a parametrized pytest test

Like the other test methods in the same module, all those whose name starts with 'test_' are automatically discovered and run by pytest which is our default test runner. So there is no need to call the test method itself in the top-level module scope. One simply runs the test via pytest. To execute this specific test method one can do 'pytest Tests/varLib/models_test.py::test_modeling_error'.

* use pytest markers to mark specific test as 'slow'

So that one can optionally deselect tests marked with specific marker by passing -m option (e.g. to deselect 'slow' tests, pytest -m 'not slow' ...).

https://docs.pytest.org/en/stable/mark.html#registering-marks
https://docs.pytest.org/en/stable/example/parametrize.html#set-marks-or-test-id-for-individual-parametrized-test

* [varLib/models_test] Comment out non-test code

Co-authored-by: Cosimo Lupo <clupo@google.com>
2022-08-15 10:30:45 -06:00
Cosimo Lupo
9716b1c455 Bump version: 4.35.0 → 4.35.1.dev0 2022-08-15 15:53:13 +02:00
Cosimo Lupo
691a17d289 Release 4.35.0 2022-08-15 15:53:13 +02:00
Cosimo Lupo
02a669ed63 Bump version: 4.34.4 → 4.34.5.dev0 2022-07-07 23:38:32 +02:00
Cosimo Lupo
5af9db16b6 Release 4.34.4 2022-07-07 23:38:32 +02:00
Jany Belluz
ce89a0301f Bump version: 4.34.3 → 4.34.4.dev0 2022-07-07 13:59:20 +01:00
Jany Belluz
e80acefdd1 Release 4.34.3 2022-07-07 13:59:20 +01:00
Cosimo Lupo
4d2e5351a7 Bump version: 4.34.2 → 4.34.3.dev0 2022-07-06 17:39:36 +01:00
Cosimo Lupo
73d10f8cd9 Release 4.34.2 2022-07-06 17:39:35 +01:00
Cosimo Lupo
1ec0ac4877 Bump version: 4.34.1 → 4.34.2.dev0 2022-07-06 16:53:57 +01:00
Cosimo Lupo
a216401867 Release 4.34.1 2022-07-06 16:53:57 +01:00
Cosimo Lupo
c011652101 Bump version: 4.34.0 → 4.34.1.dev0 2022-07-06 11:58:47 +01:00
Cosimo Lupo
78dee2bad5 Release 4.34.0 2022-07-06 11:58:46 +01:00
Cosimo Lupo
ba8880e9f1 Bump version: 4.33.3 → 4.33.4.dev0 2022-04-26 10:51:16 +01:00
Cosimo Lupo
b9621ff427 Release 4.33.3 2022-04-26 10:51:15 +01:00
Cosimo Lupo
37767203b0 Bump version: 4.33.2 → 4.33.3.dev0 2022-04-22 19:26:47 +01:00
Cosimo Lupo
e569154033 Release 4.33.2 2022-04-22 19:26:47 +01:00
Cosimo Lupo
fe81aa729a Bump version: 4.33.1 → 4.33.2.dev0 2022-04-22 11:38:46 +01:00
Cosimo Lupo
04b835d04f Release 4.33.1 2022-04-22 11:38:46 +01:00
Cosimo Lupo
36e8eb2ada Bump version: 4.33.0 → 4.33.1.dev0 2022-04-21 19:29:35 +01:00
Cosimo Lupo
f81ec49a66 Release 4.33.0 2022-04-21 19:29:35 +01:00
Cosimo Lupo
43e4315009 Bump version: 4.32.0 → 4.32.1.dev0 2022-04-08 16:07:06 +01:00
Cosimo Lupo
84f3c50099 Release 4.32.0 2022-04-08 16:07:06 +01:00
Khaled Hosny
a83f07670e Bump version: 4.31.2 → 4.31.3.dev0 2022-03-22 14:57:43 +02:00
Khaled Hosny
5e849a4479 Release 4.31.2 2022-03-22 14:57:32 +02:00
Cosimo Lupo
0465f81b79 Bump version: 4.31.1 → 4.31.2.dev0 2022-03-18 13:30:10 +00:00
Cosimo Lupo
1a30ee825c Release 4.31.1 2022-03-18 13:30:10 +00:00
Cosimo Lupo
caa32df25a Bump version: 4.31.0 → 4.31.1.dev0 2022-03-18 11:12:10 +00:00
Cosimo Lupo
422a10b61b Release 4.31.0 2022-03-18 11:12:10 +00:00
Cosimo Lupo
ebe313d70e Bump version: 4.30.0 → 4.30.1.dev0 2022-03-10 11:38:46 +00:00
Cosimo Lupo
71e5ed001b Release 4.30.0 2022-03-10 11:38:45 +00:00
Cosimo Lupo
31ba5e6b24 Bump version: 4.29.1 → 4.29.2.dev0 2022-02-01 11:30:25 +00:00
Cosimo Lupo
fb9dcebd46 Release 4.29.1 2022-02-01 11:30:24 +00:00
Cosimo Lupo
69fc06a1af Bump version: 4.29.0 → 4.29.1.dev0 2022-01-24 18:36:20 +00:00
Cosimo Lupo
aa8aaae3cc Release 4.29.0 2022-01-24 18:36:19 +00:00
Cosimo Lupo
de869081df Bump version: 4.28.5 → 4.28.6.dev0 2021-12-19 10:49:06 +00:00
Cosimo Lupo
80bdd7666b Release 4.28.5 2021-12-19 10:49:06 +00:00
Cosimo Lupo
1355769766 Bump version: 4.28.4 → 4.28.5.dev0 2021-12-15 17:23:21 +00:00
Cosimo Lupo
071ea963d4 Release 4.28.4 2021-12-15 17:23:20 +00:00
Cosimo Lupo
482a0b96de Bump version: 4.28.3 → 4.28.4.dev0 2021-12-03 11:52:50 +00:00