You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm packaging fonttools for pkgsrc. We use the pypi source distribution files.
When I run the self tests, they complain about a couple missing files and a permission error:
FAILED Tests/tfmLib/tfmLib_test.py::test_read_boundary_char - FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fonts/py-fonttools/work/fonttools-4.54.1/Tests/tfmLib/data/dummy-space.tfm'
FAILED Tests/tfmLib/tfmLib_test.py::test_read_fontdimens_vanilla - FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fonts/py-fonttools/work/fonttools-4.54.1/Tests/tfmLib/data/cmr10.tfm'
FAILED Tests/tfmLib/tfmLib_test.py::test_read_fontdimens_mathex - FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fonts/py-fonttools/work/fonttools-4.54.1/Tests/tfmLib/data/cmex10.tfm'
FAILED Tests/tfmLib/tfmLib_test.py::test_read_fontdimens_mathsy - FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fonts/py-fonttools/work/fonttools-4.54.1/Tests/tfmLib/data/cmsy10.tfm'
FAILED Tests/ufoLib/UFO3_test.py::UFO3WriteLayersTestCase::testRemoveDefaultLayer - fs.errors.PermissionDenied: permission denied
FAILED Tests/ufoLib/UFO3_test.py::UFO3WriteLayersTestCase::testRemoveLayer - fs.errors.PermissionDenied: permission denied
FAILED Tests/voltLib/volttofea_test.py::ToFeaTest::test_cli_vtp - FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fonts/py-fonttools/work/fonttools-4.54.1/Tests/voltLib/data/Nutso.vtp'
FAILED Tests/voltLib/volttofea_test.py::ToFeaTest::test_group_order - FileNotFoundError: [Errno 2] No such file or directory: '/scratch/fonts/py-fonttools/work/fonttools-4.54.1/Tests/voltLib/data/NamdhinggoSIL1006.vtp'
FAILED tfmLib.py::fontTools.tfmLib
Can you please include the test data in the pypi source distribution files?
As for the other two, I have no clue yet:
_____________________________________________________________ UFO3WriteLayersTestCase.testRemoveLayer ______________________________________________________________
self = OSFS('/tmp/tmpp8tsivm8/test.ufo'), path = 'glyphs.layer 1'
def remove(self, path):
# type: (Text) -> None
self.check() _path = self.validatepath(path)
sys_path = self._to_sys_path(_path) with convert_os_errors("remove", path):
try:
> os.remove(sys_path)
E PermissionError: [Errno 1] Operation not permitted: b'/tmp/tmpp8tsivm8/test.ufo/glyphs.layer 1'
/usr/pkg/lib/python3.12/site-packages/fs/osfs.py:368: PermissionError
During handling of the above exception, another exception occurred:
self = <ufoLib.UFO3_test.UFO3WriteLayersTestCase testMethod=testRemoveLayer>
def testRemoveLayer(self):
self.makeUFO()
writer = UFOWriter(self.ufoPath)
> writer.deleteGlyphSet("layer 1")
I'm packaging fonttools for pkgsrc. We use the pypi source distribution files.
When I run the self tests, they complain about a couple missing files and a permission error:
Can you please include the test data in the pypi source distribution files?
As for the other two, I have no clue yet:
and
The text was updated successfully, but these errors were encountered: