Skip to content

pyfilesystem2 (fs) is no longer maintained; find a replacement or avoid dependency? #3620

@anthrotype

Description

@anthrotype

the fs module that fontTools.ufoLib uses to implement .ufoz (UFO inside a .zip file) hasn't received an update in more than 2 years, it's basically unmaintained, see: PyFilesystem/pyfilesystem2#571

There is a new module called https://github.com/fsspec/filesystem_spec which may be a suitable replacement and is more actively maintained. Maybe we should try to use that.
It does have a ZipFileSystem implementation:
https://github.com/fsspec/filesystem_spec/blob/master/fsspec/implementations/zip.py

Or alternatively we could reimplement our own filesystem-like wrapper around a zip file.

I'd prefer option 1), or whichever is easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions