Repository navigation
Closed
Labels
testsUnit tests and/or continuous integration
Description
Our Windows CI builds are failing (e.g. this build) with the following error:
py.test dask --runslow --cov=dask --cov-report=xml -n4
ImportError while loading conftest 'D:\a\dask\dask\conftest.py'.
conftest.py:28: in <module>
import pandas # noqa: F401
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\__init__.py:51: in <module>
from pandas.core.api import (
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\core\api.py:31: in <module>
from pandas.core.groupby import Grouper, NamedAgg
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\core\groupby\__init__.py:1: in <module>
from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\core\groupby\generic.py:65: in <module>
from pandas.core.frame import DataFrame
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\core\frame.py:119: in <module>
from pandas.core import algorithms, common as com, generic, nanops, ops
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\core\generic.py:113: in <module>
from pandas.io.formats import format as fmt
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\io\formats\format.py:77: in <module>
from pandas.io.common import stringify_path
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\io\common.py:35: in <module>
lzma = import_lzma()
C:\Miniconda3\envs\test-environment\lib\site-packages\pandas\compat\__init__.py:109: in import_lzma
warnings.warn(msg)
E UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
Looks like a packaging issue where we're not able to import lzma.
cc @charlesbluca @jakirkham in case you have any ideas
xref #9733
Metadata
Metadata
Assignees
Labels
testsUnit tests and/or continuous integration
Activity
jrbourbeau commentedon Dec 8, 2022
^ that traceback is what we get for the Python 3.8 and 3.9 builds. The Python 3.10 build, which uses a newer version of
pandas, has a different traceback with more info:jakirkham commentedon Dec 9, 2022
It seems a recent
xzpackage has problems ( conda-forge/xz-feedstock#31 ). Not sure if they caused this specific issue or not. In any event that package was marked broken recentlyh-vetinari commentedon Dec 9, 2022
So recently, that not all caches have been updated yet - still gets pulled in by conda/mamba as of writing.
jrbourbeau commentedon Dec 9, 2022
Thanks for the heads up @jakirkham @h-vetinari! I'll wait a bit and rerun CI to see if that helps
jakirkham commentedon Dec 9, 2022
Mirroring time should be more like 10mins. Would encourage raising a discussion item here with details about the command run (like
conda search)Edit: Could even just add to this one ( conda/infrastructure#664 )
jrbourbeau commentedon Dec 9, 2022
Looks like Windows builds are passing now 🎉 Thanks @jakirkham!