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.

Question: generate requirements.txt without locking all package versions

See original GitHub issue

General question: how can I generate requirements.txt that specifies only the minimal versions as in the Pipfile lock? It is, if Pipfile contains "*" I’d like requirements.txt to allow any version of a package.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
uranusjrcommented, Nov 5, 2018

I thought a bit about how this would be implemented, and it occurs to me that you probably need to come up with a verb for this operation. This would involve some design decisions and probably needs to be approved by Kenneth, maybe via a PEEP?

0reactions
matteiuscommented, Aug 17, 2022

This is accomplished by the new pipenv requirements command.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create requirement.txt without all package versions
Generally sometime when we are creating new project, we need to install latest packages(modules) so it good idea to keep all package names( ......
Read more >
Why requirements.txt isn't enough - model.predict
Not having these versions locked down means that running pip install -r requirements.
Read more >
Python pip requirements.txt lock file
The short answer is python has no concept of lock files, equally it can be argued python has no package dependency files at...
Read more >
Commands | Documentation | Poetry - Python dependency ...
This command locks (without installing) the dependencies specified in pyproject.toml . Note. By default, this will lock all dependencies to the latest available ......
Read more >
pipenv Documentation - Read the Docs
Makefile, direct calls to pip and python -m venv or virtualenv. to create virtual ... By default pipenv lock will lock all known...
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