Skip to content

Python 3.12: deprecate resources.open_binary() #50

@eccles

Description

@eccles

Is your feature request related to a problem? Please describe.
The importlib.resources.open_binary() method is deprecated from3.12.
This method should be replaced with resources.files(pkg).joinpath(filename).open('rb') for later versions of python

Describe the solution you'd like
If python 3.12 than resources.files(pkg).joinpath(filename).open('rb') is ued instead.

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