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.

Running "python -m pip check" in every Python package

See original GitHub issue

Now that we have automerge support and that the newer pip versions support pip check to check for a consistent environment, should we add this as a test to all Python packages?

I have added it to some packages and I see it failing quite often as downstream miss dependency updates when they do version updates.

Todos:

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
CJ-Wrightcommented, Jan 28, 2020

I would structure this as a mini migratior so it can run piggy back on the main migratiors.

2reactions
ocefpafcommented, Jan 28, 2020

Is there a way to automatically add this to recipes?

We need three things:

  • a migrator for the existing recipes
  • a lint check to ensure future recipes will have it
  • a default test added in the skeleton (ping @marcelotrevisani)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Python's pip to Manage Your Projects' Dependencies
The pip list command renders a table that shows all installed packages in your current environment. The output above shows the version of...
Read more >
Installing Packages - Python Packaging User Guide - Python.org
This section covers the basics of how to install Python packages. It's important to note that the ... If that still doesn't allow...
Read more >
How to Update All Python Packages - ActiveState
Update all Python Packages on Windows · Open a command shell by typing 'powershell' in the Search Box of the Task bar ·...
Read more >
pip check - pip documentation v22.3.1
Examples# · If all dependencies are compatible: Unix/macOS. $ python -m pip check No broken requirements found. $ echo $? · If a...
Read more >
Python: programmatically running "pip list" - Stack Overflow
Most other answers presented here are not supported by pip. Furthermore since pip v10, all code has been moved to pip._internal precisely in ......
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