question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows CI builds failing

See original GitHub issue

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 https://github.com/dask/dask/pull/9733

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jrbourbeaucommented, Dec 9, 2022

Looks like Windows builds are passing now 🎉 Thanks @jakirkham!

0reactions
jakirkhamcommented, 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 ( https://github.com/conda/infra/discussions/664 )

Read more comments on GitHub >

github_iconTop Results From Across the Web

CI: Windows builds fail on `windows-latest` (aka ... - GitHub
Integration tests that run on windows don't work on windows-latest (which as of recently resolves to windows-2022 ). They do work on windows- ......
Read more >
Common Build Problems - Travis CI Docs
If your build is failing due to unexpected segmentation faults in the language interpreter, this may be caused by corrupt or invalid caches...
Read more >
Build is failing while deplpoying through CI CD pipeline
We have been deploying our application through the CI CD pipeline for a few months. Recently we moved our azure subscription and since...
Read more >
Identify and fix broken builds with CI/CD pipelines | TechTarget
Automated tests can cause intermittent broken builds. To check for this, access reports that offer more information on why the test is failing....
Read more >
CI build trigger automatically kicks off without any change ...
If something is wrong in configuration and the polling job always fails, no CI builds will be triggered at all. If (in most...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found