Skip to content

cannot install theme on windows from current main #523

@drammock

Description

@drammock

I'm testing #436 over at mne-tools/mne-python#9916. It works (yay! here's the CI artifact with the theme's dropdown in action) BUT one of our other CIs tests whether our docs can be built on windows. That failed, and I reproduced locally in a Windows VM. Here's how it fails:

(test) C:\Users\drmccloy>pip install https://github.com/pydata/pydata-sphinx-theme/archive/31299f7921803ce8e0844ddda2efe9c5e6c3a517.zip
Collecting https://github.com/pydata/pydata-sphinx-theme/archive/31299f7921803ce8e0844ddda2efe9c5e6c3a517.zip
  Downloading https://github.com/pydata/pydata-sphinx-theme/archive/31299f7921803ce8e0844ddda2efe9c5e6c3a517.zip
     / 1.2 MB 68 kB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\drmccloy\anaconda3\envs\test\python.exe' 'C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\drmccloy\AppData\Local\Temp\tmpty6ajtz3'
       cwd: C:\Users\drmccloy\AppData\Local\Temp\pip-req-build-z2gx2qjy
  Complete output (26 lines):
  Traceback (most recent call last):
    File "C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 349, in <module>
      main()
    File "C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 111, in get_requires_for_build_wheel
      backend = _build_backend()
    File "C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 89, in _build_backend
      obj = import_module(mod_path)
    File "C:\Users\drmccloy\anaconda3\envs\test\lib\importlib\__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 883, in exec_module
    File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
    File "C:\Users\drmccloy\AppData\Local\Temp\pip-build-env-yqp82dyu\overlay\Lib\site-packages\sphinx_theme_builder\__init__.py", line 16, in <module>
      from ._internal.distributions import generate_metadata as _generate_metadata
    File "C:\Users\drmccloy\AppData\Local\Temp\pip-build-env-yqp82dyu\overlay\Lib\site-packages\sphinx_theme_builder\_internal\distributions.py", line 13, in <module>
      from .nodejs import generate_assets
    File "C:\Users\drmccloy\AppData\Local\Temp\pip-build-env-yqp82dyu\overlay\Lib\site-packages\sphinx_theme_builder\_internal\nodejs.py", line 18, in <module>
      from .passthrough import passthrough_run
    File "C:\Users\drmccloy\AppData\Local\Temp\pip-build-env-yqp82dyu\overlay\Lib\site-packages\sphinx_theme_builder\_internal\passthrough.py", line 96, in <module>
      def passthrough_run(args: List[str]) -> int:
  NameError: name 'List' is not defined. Did you mean: 'list'?
  ----------------------------------------
WARNING: Discarding https://github.com/pydata/pydata-sphinx-theme/archive/31299f7921803ce8e0844ddda2efe9c5e6c3a517.zip. Command errored out with exit status 1: 'C:\Users\drmccloy\anaconda3\envs\test\python.exe' 'C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\drmccloy\AppData\Local\Temp\tmpty6ajtz3' Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'C:\Users\drmccloy\anaconda3\envs\test\python.exe' 'C:\Users\drmccloy\anaconda3\envs\test\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\drmccloy\AppData\Local\Temp\tmpty6ajtz3' Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions