Skip to content

Commit fbeaab4

Browse files
authored
Updates for ots 8.2.1
* Update setup.cfg for ots 8.2.1 * Update Python version support info in setup.py * Update test suite expected failures for ots 8.2.1 * minor update to example in README.md
1 parent 83dbc82 commit fbeaab4

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ result = pyots.sanitize('/path/to/font/file.ttf')
4646
import pyots
4747
from pathlib import Path
4848

49-
for filename in Path("src/tests/fonts/good").rglob("*"):
49+
for filename in Path("src/ots/tests/fonts/good").rglob("*"):
5050
result = pyots.sanitize(filename.absolute())
5151
if not result.sanitized:
5252
print('{}:\n{}'.format(filename, "\n".join([m for m in result.messages])))

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[download]
22
; OpenType Sanitizer version that is downloaded from setup.py
3-
version = 8.2.0
3+
version = 8.2.1
44
; expected SHA-256 of the downloaded tarball. E.g. you can calculate it with:
55
; $ shasum -a 256 ots-X.X.X.tar.xz
6-
sha256 = e56f173008996a6292756a6a43186a00e638ed48dd9334df4d9aa20981b442c0
6+
sha256 = c9948c8ae61c50937afc6a0da6fb1c351fb7ea1ab30f796679d165447667e89f

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,14 @@ def run(self):
276276
long_description = readme.read()
277277

278278
classifiers = [
279-
'Development Status :: 3 - Alpha',
279+
'Development Status :: 4 - Beta',
280280
'Intended Audience :: Developers',
281281
'Topic :: Software Development :: Testing',
282282
'License :: OSI Approved :: BSD License',
283-
'Programming Language :: Python :: 3.6',
284283
'Programming Language :: Python :: 3.7',
285284
'Programming Language :: Python :: 3.8',
285+
'Programming Language :: Python :: 3.9',
286+
'Programming Language :: Python :: 3.10',
286287
'Operating System :: MacOS :: MacOS X',
287288
'Operating System :: POSIX :: Linux',
288289
]
@@ -299,7 +300,7 @@ def run(self):
299300
name='pyots',
300301
packages=find_packages('src'),
301302
package_dir={'': 'src'},
302-
python_requires='>=3.6',
303+
python_requires='>=3.7',
303304
url='https://github.com/adobe-type-tools/pyots',
304305
use_scm_version=True,
305306
setup_requires=['setuptools_scm'],

tests/test_ots_suite.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ def test_write(tmp_path):
9292

9393
EXPECT_FAIL = {
9494
'fuzzing/0509e80afb379d16560e9e47bdd7d888bebdebc6.ttf',
95+
'fuzzing/05a7abc8e4c954ef105d056bd6249c6fda96d4a8.otf',
9596
'fuzzing/07f054357ff8638bac3711b422a1e31180bba863.ttf',
9697
'fuzzing/10531f9105aa03bf6e0f9754ec8af33ed457ad5c.otf',
98+
'fuzzing/18052b7fc1ca5c188b54864f163bebf80f488811.otf',
9799
'fuzzing/1a6f1687b7a221f9f2c834b0b360d3c8463b6daf.ttf',
98100
'fuzzing/1c2c3fc37b2d4c3cb2ef726c6cdaaabd4b7f3eb9.ttf',
99101
'fuzzing/205edd09bd3d141cc9580f650109556cc28b22cb.otf',

0 commit comments

Comments
 (0)