question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing 0.12.1 requires "pipenv lock --pre"

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
heymancommented, Dec 11, 2019

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.

1reaction
heymancommented, Apr 15, 2020

@cyberw Yes, we could do that. Only problem is that the version numbers in our geventhttpclient-wheels package would diverge from geventhttpclient, but maybe that’s okay.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found