-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
C: PEP 517 impactAffected by PEP 517 processingAffected by PEP 517 processingC: cacheDealing with cache and files in itDealing with cache and files in itauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior
Milestone
Description
- pip version: 19.0.1
With the 19.0.1 release, some people are still reporting an AssertionError when installing with --no-cache-dir similar to the one in #6158. This issue is for the 19.0.1-specific issue as it is narrower in scope.
Here are details for a couple reports: #6158 (comment) and #6158 (comment)
The traceback looks like this:
Exception:
Traceback (most recent call last):
File "/mnt/jenkins/workspace/venv/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 176, in main
status = self.run(options, args)
File "/mnt/jenkins/workspace/venv/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 346, in run
session=session, autobuilding=True
File "/mnt/jenkins/workspace/venv/local/lib/python2.7/site-packages/pip/_internal/wheel.py", line 886, in build
assert have_directory_for_build
AssertionError
Some work-arounds (feel free to add to the list):
- Use pip version 18.1.
- Pass
--no-use-pep517in your invocation. - See issue assertion when using --no-cache-dir in 19.0 #6158 for some other possibilities.
blueyed, kumy, dmulter, ngaya-ll, dknepprath and 21 more
Metadata
Metadata
Assignees
Labels
C: PEP 517 impactAffected by PEP 517 processingAffected by PEP 517 processingC: cacheDealing with cache and files in itDealing with cache and files in itauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviorA confirmed bug or unintended behavior