issues: 1900706633
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1900706633 | I_kwDOAMm_X85xSntJ | 8200 | Wrong fallback version number when using PyInstaller | 31126826 | closed | 0 | 3 | 2023-09-18T11:13:53Z | 2023-09-18T12:14:10Z | 2023-09-18T12:08:04Z | CONTRIBUTOR | What is your issue?I'm trying to bundle some code using Xarray with PyInstaller. As a MRE, consider the following file: ```python test.pyimport pandas as pd
import xarray as xr
print(xr.version)
pd.DataFrame({'a': range(10)}).to_xarray()
Ideally, I would have expected the printed version to be Unfortunately, the actual version number is As a workaround, I added the line
Versions``` INSTALLED VERSIONS ------------------ commit: None python: 3.9.17 (main, Jul 5 2023, 20:41:20) [GCC 11.2.0] python-bits: 64 OS: Linux OS-release: 6.2.0-32-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: fr_FR.UTF-8 LOCALE: ('fr_FR', 'UTF-8') libhdf5: None libnetcdf: None xarray: 2023.8.0 pandas: 2.1.0 numpy: 1.26.0 scipy: None netCDF4: None pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: None nc_time_axis: None PseudoNetCDF: None iris: None bottleneck: None dask: None distributed: None matplotlib: None cartopy: None seaborn: None numbagg: None fsspec: None cupy: None pint: None sparse: None flox: None numpy_groupies: None setuptools: 58.1.0 pip: 23.0.1 conda: None pytest: None mypy: None IPython: None sphinx: None ``` |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/8200/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |