361 Commits

Author SHA1 Message Date
Cosimo Lupo
d264510618
build sdist and pure wheel in the same wheels.yml workflow
.zip is deprecated for Python source distributions so use the default .tar.gz
2023-06-09 19:21:52 +01:00
Cosimo Lupo
32ee866ee4
require at least pytest >= 7.0.0, fixes issue with monkeypath.setenv in autouse=True fixture
Fixes https://github.com/fonttools/fonttools/issues/3078
2023-05-25 12:23:12 +01:00
Khaled Hosny
54e70b3cef Bump version: 4.39.4 → 4.39.5.dev0 2023-05-10 18:28:22 +03:00
Khaled Hosny
4246c69e9a Release 4.39.4 2023-05-10 18:28:21 +03:00
Khaled Hosny
f430da359f Fix setuptools warning
SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
2023-05-10 18:25:06 +03:00
Cosimo Lupo
3b9a73ff83
Bump version: 4.39.3 → 4.39.4.dev0 2023-03-28 16:30:30 +01:00
Cosimo Lupo
abd7b5b15d
Release 4.39.3 2023-03-28 16:30:29 +01:00
Cosimo Lupo
43e2108f93
Bump version: 4.39.2 → 4.39.3.dev0 2023-03-16 19:08:18 +00:00
Cosimo Lupo
d64a26f7ef
Release 4.39.2 2023-03-16 19:08:17 +00:00
Cosimo Lupo
1216596825
Bump version: 4.39.1 → 4.39.2.dev0 2023-03-16 13:01:32 +00:00
Cosimo Lupo
199e2c2c6a
Release 4.39.1 2023-03-16 13:01:31 +00:00
Cosimo Lupo
89e678b121
Bump version: 4.39.0 → 4.39.1.dev0 2023-03-06 16:31:59 +00:00
Cosimo Lupo
fbc82d9f0a
Release 4.39.0 2023-03-06 16:31:58 +00:00
Cosimo Lupo
57afc89835
Bump version: 4.38.0 → 4.38.1.dev0 2022-10-21 19:17:59 +01:00
Cosimo Lupo
111d2c5c0f
Release 4.38.0 2022-10-21 19:17:57 +01:00
Jany Belluz
1372a36485 Bump version: 4.37.4 → 4.37.5.dev0 2022-09-30 16:25:50 +01:00
Jany Belluz
67f759aa34 Release 4.37.4 2022-09-30 16:25:49 +01:00
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