Skip to content

Getting requirements to build wheel did not run successfully. #14

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Open
fanflash opened this issue Apr 9, 2025 · 0 comments
Open

Getting requirements to build wheel did not run successfully. #14

fanflash opened this issue Apr 9, 2025 · 0 comments

Comments

@fanflash
Copy link

fanflash commented Apr 9, 2025

Read the Docs build information
Build id: 27793924
Project: dlsdoc
Version: latest
Commit: 4bf2095456688a6d8a3f5799f1b253fae8a7f409
Date: 2025-04-09T03:24:35.562795Z
State: finished
Success: False

[rtd-command-info] start-time: 2025-04-09T03:24:35.955010Z, end-time: 2025-04-09T03:24:36.151226Z, duration: 0, exit-code: 0
git clone --depth 1 https://github.com/fanflash/dls_doc.git .
Cloning into '.'...

[rtd-command-info] start-time: 2025-04-09T03:24:36.174198Z, end-time: 2025-04-09T03:24:36.374158Z, duration: 0, exit-code: 0
git fetch origin --force --prune --prune-tags --depth 50 refs/heads/main:refs/remotes/origin/main

[rtd-command-info] start-time: 2025-04-09T03:24:36.430940Z, end-time: 2025-04-09T03:24:36.471661Z, duration: 0, exit-code: 0
git checkout --force origin/main
Note: switching to 'origin/main'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4bf2095 test

[rtd-command-info] start-time: 2025-04-09T03:24:36.496285Z, end-time: 2025-04-09T03:24:36.534926Z, duration: 0, exit-code: 0
cat .readthedocs.yaml

.readthedocs.yaml

Read the Docs configuration file

See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

Required

version: 2

Set the version of Python and other tools you might need

build:
os: ubuntu-24.04
tools:
python: "3.12"

mkdocs:
configuration: mkdocs.yml

Optionally declare the Python requirements required to build your docs

python:
install:

  • requirements: docs/requirements.txt

[rtd-command-info] start-time: 2025-04-09T03:24:40.551327Z, end-time: 2025-04-09T03:24:40.605255Z, duration: 0, exit-code: 0
asdf global python 3.12.7

[rtd-command-info] start-time: 2025-04-09T03:24:40.904981Z, end-time: 2025-04-09T03:24:41.883182Z, duration: 0, exit-code: 0
python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH
created virtual environment CPython3.12.7.final.0-64 in 663ms
creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/docs/.local/share/virtualenv)
added seed packages: pip==23.1, setuptools==67.6.1, wheel==0.40.0
activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

[rtd-command-info] start-time: 2025-04-09T03:24:41.903863Z, end-time: 2025-04-09T03:24:53.159412Z, duration: 11, exit-code: 0
python -m pip install --upgrade --no-cache-dir pip setuptools
Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages (23.1)
Collecting pip
Downloading pip-25.0.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 13.0 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages (67.6.1)
Collecting setuptools
Downloading setuptools-78.1.0-py3-none-any.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 23.9 MB/s eta 0:00:00
Installing collected packages: setuptools, pip
Attempting uninstall: setuptools
Found existing installation: setuptools 67.6.1
Uninstalling setuptools-67.6.1:
Successfully uninstalled setuptools-67.6.1
Attempting uninstall: pip
Found existing installation: pip 23.1
Uninstalling pip-23.1:
Successfully uninstalled pip-23.1
Successfully installed pip-25.0.1 setuptools-78.1.0

[rtd-command-info] start-time: 2025-04-09T03:24:53.177663Z, end-time: 2025-04-09T03:24:56.154748Z, duration: 2, exit-code: 0
python -m pip install --upgrade --no-cache-dir mkdocs
Collecting mkdocs
Downloading mkdocs-1.6.1-py3-none-any.whl.metadata (6.0 kB)
Collecting click>=7.0 (from mkdocs)
Downloading click-8.1.8-py3-none-any.whl.metadata (2.3 kB)
Collecting ghp-import>=1.0 (from mkdocs)
Downloading ghp_import-2.1.0-py3-none-any.whl.metadata (7.2 kB)
Collecting jinja2>=2.11.1 (from mkdocs)
Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting markdown>=3.3.6 (from mkdocs)
Downloading Markdown-3.7-py3-none-any.whl.metadata (7.0 kB)
Collecting markupsafe>=2.0.1 (from mkdocs)
Downloading MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting mergedeep>=1.3.4 (from mkdocs)
Downloading mergedeep-1.3.4-py3-none-any.whl.metadata (4.3 kB)
Collecting mkdocs-get-deps>=0.2.0 (from mkdocs)
Downloading mkdocs_get_deps-0.2.0-py3-none-any.whl.metadata (4.0 kB)
Collecting packaging>=20.5 (from mkdocs)
Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.11.1 (from mkdocs)
Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Collecting pyyaml-env-tag>=0.1 (from mkdocs)
Downloading pyyaml_env_tag-0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting pyyaml>=5.1 (from mkdocs)
Downloading PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting watchdog>=2.0 (from mkdocs)
Downloading watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl.metadata (44 kB)
Collecting python-dateutil>=2.8.1 (from ghp-import>=1.0->mkdocs)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting platformdirs>=2.2.0 (from mkdocs-get-deps>=0.2.0->mkdocs)
Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.1->ghp-import>=1.0->mkdocs)
Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Downloading mkdocs-1.6.1-py3-none-any.whl (3.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 125.4 MB/s eta 0:00:00
Downloading click-8.1.8-py3-none-any.whl (98 kB)
Downloading ghp_import-2.1.0-py3-none-any.whl (11 kB)
Downloading jinja2-3.1.6-py3-none-any.whl (134 kB)
Downloading Markdown-3.7-py3-none-any.whl (106 kB)
Downloading MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23 kB)
Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB)
Downloading mkdocs_get_deps-0.2.0-py3-none-any.whl (9.5 kB)
Downloading packaging-24.2-py3-none-any.whl (65 kB)
Downloading pathspec-0.12.1-py3-none-any.whl (31 kB)
Downloading PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (767 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 767.5/767.5 kB 536.5 MB/s eta 0:00:00
Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB)
Downloading watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl (79 kB)
Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: watchdog, six, pyyaml, platformdirs, pathspec, packaging, mergedeep, markupsafe, markdown, click, pyyaml-env-tag, python-dateutil, mkdocs-get-deps, jinja2, ghp-import, mkdocs
Successfully installed click-8.1.8 ghp-import-2.1.0 jinja2-3.1.6 markdown-3.7 markupsafe-3.0.2 mergedeep-1.3.4 mkdocs-1.6.1 mkdocs-get-deps-0.2.0 packaging-24.2 pathspec-0.12.1 platformdirs-4.3.7 python-dateutil-2.9.0.post0 pyyaml-6.0.2 pyyaml-env-tag-0.1 six-1.17.0 watchdog-6.0.0

[rtd-command-info] start-time: 2025-04-09T03:24:56.175113Z, end-time: 2025-04-09T03:25:03.405846Z, duration: 7, exit-code: 1
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
Requirement already satisfied: setuptools==78.1.0 in /home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages (from -r docs/requirements.txt (line 7)) (78.1.0)
Collecting click==8.1.3 (from -r docs/requirements.txt (line 8))
Downloading click-8.1.3-py3-none-any.whl.metadata (3.2 kB)
Requirement already satisfied: ghp-import==2.1.0 in /home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages (from -r docs/requirements.txt (line 10)) (2.1.0)
Collecting griffe==0.22.0 (from -r docs/requirements.txt (line 12))
Downloading griffe-0.22.0-py3-none-any.whl.metadata (5.4 kB)
Collecting importlib-metadata==4.12.0 (from -r docs/requirements.txt (line 14))
Downloading importlib_metadata-4.12.0-py3-none-any.whl.metadata (4.0 kB)
Collecting jinja2==3.1.2 (from -r docs/requirements.txt (line 16))
Downloading Jinja2-3.1.2-py3-none-any.whl.metadata (3.5 kB)
Collecting markdown==3.3.7 (from -r docs/requirements.txt (line 20))
Downloading Markdown-3.3.7-py3-none-any.whl.metadata (4.6 kB)
Collecting markdown-include==0.6.0 (from -r docs/requirements.txt (line 27))
Downloading markdown-include-0.6.0.tar.gz (4.7 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting markupsafe==2.1.1 (from -r docs/requirements.txt (line 29))
Downloading MarkupSafe-2.1.1.tar.gz (18 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: mergedeep==1.3.4 in /home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages (from -r docs/requirements.txt (line 33)) (1.3.4)
Collecting mkdocs==1.3.0 (from -r docs/requirements.txt (line 35))
Downloading mkdocs-1.3.0-py3-none-any.whl.metadata (4.8 kB)
Collecting mkdocs-autorefs==0.4.1 (from -r docs/requirements.txt (line 40))
Downloading mkdocs_autorefs-0.4.1-py3-none-any.whl.metadata (4.6 kB)
Collecting mkdocstrings==0.19.0 (from mkdocstrings[python]==0.19.0->-r docs/requirements.txt (line 42))
Downloading mkdocstrings-0.19.0-py3-none-any.whl.metadata (6.9 kB)
Collecting mkdocstrings-python==0.7.1 (from -r docs/requirements.txt (line 46))
Downloading mkdocstrings_python-0.7.1-py3-none-any.whl.metadata (5.3 kB)
Collecting packaging==21.3 (from -r docs/requirements.txt (line 48))
Downloading packaging-21.3-py3-none-any.whl.metadata (15 kB)
Collecting pymdown-extensions==9.5 (from -r docs/requirements.txt (line 50))
Downloading pymdown_extensions-9.5-py3-none-any.whl.metadata (2.9 kB)
Collecting pyparsing==3.0.9 (from -r docs/requirements.txt (line 52))
Downloading pyparsing-3.0.9-py3-none-any.whl.metadata (4.2 kB)
Collecting python-dateutil==2.8.2 (from -r docs/requirements.txt (line 54))
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl.metadata (8.2 kB)
Collecting pyyaml==6.0 (from -r docs/requirements.txt (line 56))
Downloading PyYAML-6.0.tar.gz (124 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [71 lines of output]
:91: DeprecationWarning: The 'wheel.bdist_wheel' module has been removed.
Please update your setuptools to v70.1 or later.
If you're explicitly importing 'wheel.bdist_wheel', please update your import to point to 'setuptools.command.bdist_wheel' instead.

  /tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
  !!
  
          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:
  
          License :: OSI Approved :: MIT License
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    self._finalize_license_expression()
  running egg_info
  writing lib/PyYAML.egg-info/PKG-INFO
  writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
  writing top-level names to lib/PyYAML.egg-info/top_level.txt
  Traceback (most recent call last):
    File "/home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
      main()
    File "/home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/docs/checkouts/readthedocs.org/user_builds/dlsdoc/envs/latest/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
      exec(code, locals())
    File "<string>", line 288, in <module>
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 1104, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 312, in run
      self.find_sources()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
      mm.run()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 543, in run
      self.add_defaults()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
      sdist.add_defaults(self)
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/command/sdist.py", line 109, in add_defaults
      super().add_defaults()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 245, in add_defaults
      self._add_defaults_ext()
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 330, in _add_defaults_ext
      self.filelist.extend(build_ext.get_source_files())
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<string>", line 204, in get_source_files
    File "/tmp/pip-build-env-moeesmqd/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 131, in __getattr__
      raise AttributeError(attr)
  AttributeError: cython_sources
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant