Skip to content

WheelBuildError when resolving functools32 #3

Closed
@frostming

Description

Traceback (most recent call last):
  File "D:\Workspace\pdm\__pypackages__\3.8\Scripts\pdm-script.py", line 12, in <module>
    load_entry_point('pdm', 'console_scripts', 'pdm')()
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "D:/Workspace/pdm/__pypackages__/3.8/lib\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "d:\workspace\pdm\pdm\cli\commands.py", line 97, in install
    actions.do_lock(project)
  File "d:\workspace\pdm\pdm\cli\actions.py", line 95, in do_lock
    mapping, dependencies, summaries = resolve(
  File "d:\workspace\pdm\pdm\resolver\__init__.py", line 119, in resolve
    state = resolver.resolve({k: reqs.values() for k, reqs in requirements.items()})
  File "d:\workspace\pdm\pdm\resolver\resolvers.py", line 298, in resolve
    resolution.resolve(requirements, max_rounds=max_rounds)
  File "d:\workspace\pdm\pdm\resolver\resolvers.py", line 249, in resolve
    self._pin_criteria()
  File "d:\workspace\pdm\pdm\resolver\resolvers.py", line 216, in _pin_criteria
    dependencies = self._p.get_dependencies(candidate)
  File "d:\workspace\pdm\pdm\resolver\providers.py", line 48, in get_dependencies
    deps, requires_python, summary = self.repository.get_dependencies(candidate)
  File "d:\workspace\pdm\pdm\models\repositories.py", line 54, in get_dependencies
    requirements, requires_python, summary = getter(candidate)
  File "d:\workspace\pdm\pdm\models\repositories.py", line 28, in wrapper
    result = func(self, candidate)
  File "d:\workspace\pdm\pdm\models\repositories.py", line 114, in _get_dependencies_from_metadata
    deps = candidate.get_dependencies_from_metadata()
  File "d:\workspace\pdm\pdm\models\candidates.py", line 131, in get_dependencies_from_metadata
    metadata = self.get_metadata()
  File "d:\workspace\pdm\pdm\models\candidates.py", line 88, in get_metadata
    built = self.environment.build(ireq, self.hashes)
  File "d:\workspace\pdm\pdm\models\environment.py", line 239, in build
    return builder.build(**kwargs)
  File "d:\workspace\pdm\pdm\builders\wheel.py", line 38, in build
    return self._build_other(build_dir, **kwargs)
  File "d:\workspace\pdm\pdm\builders\wheel.py", line 60, in _build_other
    raise WheelBuildError(str(self.ireq))
pdm.exceptions.WheelBuildError: functools32; python_version < "3.2" from https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz#sha256=f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      WheelBuildError when resolving functools32 · Issue #3 · pdm-project/pdm