-
-
Notifications
You must be signed in to change notification settings - Fork 609
Closed
Labels
EnhancementSome new desired functionalitySome new desired functionalityHelp WantedAn enhancement or bug for which a pull request is welcomed and which should have a clear definition.An enhancement or bug for which a pull request is welcomed and which should have a clear definition.
Description
Producing binaries that embed Python applications that import jsonschema is challenging because pkgutil.get_data relies on __file__ which may not be always defined, e.g. see these issues in PyOxidizer.
I was wondering if this project would be interested in having a fallback implemented that is capable to load the schema files using importlib.resources instead, which was added in Python 3.7. See https://stackoverflow.com/a/20885799 for more details. The creator of PyOxidizer, Gregory Szorc, shares some good details on loading resource files using PyOxidizer here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementSome new desired functionalitySome new desired functionalityHelp WantedAn enhancement or bug for which a pull request is welcomed and which should have a clear definition.An enhancement or bug for which a pull request is welcomed and which should have a clear definition.