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.