Fix issues with 'fsspec' version 0.9
What happened:
The new version (0.9) of package fsspec
contains a bug.
The LocalFileOpener
from fsspec
does not implement method .fileno()
. This method is used when reading a FITS file.
What you expected to happen:
Minimal Complete Verifiable Example:
# Put your MCVE code here
Anything else we need to know?:
Environment:
Output of pyxel.show_versions()
INSTALLED VERSIONS
------------------
commit : 6feafef2f9998fb3ad0320c8a5bf8ba29d1088fb
version : v0.9+11.g6feafef2.dirty
python : 3.9.2 | packaged by conda-forge | (default, Feb 21 2021, 05:02:20)
[Clang 11.0.1 ]
python-bits : 64
OS : Darwin
OS-release : 19.6.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pyxel : v0.9+11.g6feafef2.dirty
astropy : 4.2.1
bokeh : 2.3.0
cloudpickle : 1.6.0
dask : 2021.03.0
dask_jobqueue : None
distributed : 2021.03.0
fsspec : 0.9.0
h5py : 3.1.0
holoviews : 1.14.2
ipywidgets : 7.6.3
jupyter : installed
jupyterlab : 3.0.12
matplotlib : 3.3.4
notebook : 6.3.0
numba : 0.53.0
numpy : 1.20.1
pandas : 1.2.3
PIL : 8.1.2
poppy : 0.9.2
pygmo : 2.16.1
pympler : installed
scipy : 1.6.1
seaborn : 0.11.1
skimage : 0.18.1
tqdm : 4.59.0
typing-extensions: None
yaml : 5.4.1
xarray : 0.17.0
xlrd : 2.0.1
openpyxl : 3.0.7
setuptools : 49.6.0.post20210108
pip : 21.0.1
conda : None
black : 20.8b1
blackdoc : None
flake8 : 3.9.0
isort : 5.8.0
mypy : installed
pytest : 6.2.2
tox : 3.23.0
sphinx : 3.5.3