Installing 0.12.1 requires "pipenv lock --pre"
See original GitHub issueThe latest release of locustio
cannot really be managed using pipenv. It includes a dependency of geventhttpclient-wheels
, which has only pre-release versions available.
As such, it is not possible to generate a Pipfile.lock
file without using pipenv lock --pre
.
Doing this will install pre-release versions of other packages, which is problematic. (In my case, it installed a 5.0dev version of coverage, which uses a different coverage file format).
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:17 (7 by maintainers)
Top Results From Across the Web
How to fix locking failed in pipenv? - Stack Overflow
It seems like a library is requiring a version >= importlib-metadata 2.0 . When I pinned the following dependencies it didn't work at...
Read more >Common Pipenv Errors and How to Solve Them: Why Won't it ...
The second most common reason locking fails is that we attempt to install a package that is a pre-release version. You can resolve...
Read more >Dependency conflict on importlib-metadata between flake8 ...
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again. Alternatively, you can use $ pipenv ......
Read more >How to use pipenv in your python project - jcutrer.com
While pip can install Python packages, Pipenv is recommended as it's a ... keeps track of what's been installed in the file Pipfile.lock...
Read more >How to set up a perfect Python project - Sourcery
Pipenv takes care of this and has gained massive traction in the last year or so. pipx install pipenv. Code formatting with black...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s unfortunate. I could issue a non pre-release version of the geventhttpclient-wheels package, though I’d prefer not to, since I think it’d be better to follow the same version number as the official geventhttpclient package.
Gevent 1.5 fixes fixes a bug which would cause Locust’s Web UI to crash on Python 3.8 (#1154), so I don’t think we’d want to downgrade to gevent 1.4 (the latest non pre-release version).
Therefore, I don’t see a good fix for this at the moment, except from maybe documenting it.
@cyberw Yes, we could do that. Only problem is that the version numbers in our
geventhttpclient-wheels
package would diverge fromgeventhttpclient
, but maybe that’s okay.