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.

pipenv update --dry-run not detecting some out of date packages

See original GitHub issue

First, thank you for the great software @kennethreitz 😄

I have an out of date pytest (was at 3.2.3, and --dry-run wouldn’t report 3.2.5)

pipenv, version 8.3.2 Python 3.6.3

diff --git a/Pipfile b/Pipfile
index a7761214..f9f35a30 100644
--- a/Pipfile
+++ b/Pipfile
@@ -15,9 +15,10 @@ collectfast = "==0.5.2"
 python-memcached = "==1.58"
 pytest-django = "==3.1.2"
 pytest-factoryboy = "==1.3.1"
-pytest = "==3.2.3"
+pytest = "==3.2.5"

I had to update manually via pipenv install --dev pytest==3.2.5

I had to do that by hand because I saw another project I had notified me of it. I’ve been running pipenv update --dry-run --dev on a near daily basis, and it seems non of my main or dev packages need an update.

For instance: I have sqlalchemy 1.1.14 in Pipfile, but I’ve never see any mention of 1.1.15 being available

Prior to my conversion to pipenv, I used https://github.com/sesh/piprot to detect package updates. Unfortunately, I haven’t yet been able to replace it pipenv’s way of detecting outdated packages. (Unless I’m getting something wrong, which also happens)

related to request for outdated command #469

I don’t have enough information to substantiate or isolate at this point. Is anyone else experiencing issues with the correctness of pipenv update --dry-run and pipenv update --dry-run --dev?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
jayfkcommented, Jan 22, 2018

It would be super helpful if one of the devs could write some kind of authoritative user guide on how pipenv is supposed to be used, maybe even for different use cases.

I did a quick code search on GitHub and every project I’ve found is pretty much using pipenv in a different way. There are all kinds of different combinations of pinned/unpinned Pipfiles and committed/ignored Pipfile.locks.

0reactions
tonycommented, Nov 26, 2017

(In case you view by email, I did some edits to the above post)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Encountered Pipenv Problems - Read the Docs
Here are some common questions people have using Pipenv. Please take a look below and see if they resolve your problem. Note. Make...
Read more >
pipenv update | Fig
pipenv update. Runs lock, then sync ... --outdated, List out-of-date dependencies. --dry-run, Just output unneeded packages.
Read more >
Pipenv: Python Dev Workflow for Humans — pipenv 2018.7.1 ...
Purge all package(s) from virtualenv. Does not edit Pipfile. --keep-outdated ¶. Keep out-dated dependencies from being updated in Pipfile ...
Read more >
pipenv Changelog - PyUp.io
Fix: ``update --outdated`` raises NonExistentKey with outdated dev packages `5540 <https://github.com/pypa/pipenv/issues/5540>`_. Vendored Libraries
Read more >
pipenv Documentation - Read the Docs
If you do not have Python, please install the latest 3.x version from python.org ... pipenv update <pkg> for each outdated package.
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