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.

Extract the package installation features to another package

See original GitHub issue

I’m trying to use pipenv just for it’s deterministic package fetching & locking for my Docker-based development envs, but I’m getting frustrated when for even the simplest task of adding a package to my project requires working with virtualenv, which is redundant and even represents an undesired/useless overhead when working with isolated containers, where it’s totally OK to use system packages. For example, see how using the --system option at pipenv install blocks you from installing a package, and without the package it won’t update the lock file.

How easy/complicated would it be to extract the package fetching /locking parts (the ones dealing exclusively with the Pipfile + lock) out of pipenv to a new project? (and make it a dependency for pipenv?)

IMHO although this project is inspired on others (ruby’s bundler, nodejs’s yarn, etc), I think this one does a bit too much to support a (totally valid) workflow, while hindering other workflows.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
uranusjrcommented, Jun 3, 2018

Sounds like this project is right in your alley: https://github.com/sarugaku/pipfile-cli

Feel free to contribute any features you need! (Clarification: I run that project.)

0reactions
uranusjrcommented, Jun 3, 2018

@vovimayhem I assume you mean the vendored pipfile library? The situation is a little complex on this one—.

pipfile (the package) provides all basic Pipfile functionalities that all Pipfile-related projects would share. Pipenv is currently the only popular project that uses Pipfile, and has been evolving the spec quite often. Since the two projects share a few maintainers (and they are both under PyPA), we decided to simply vendors Pipfile in Pipenv for now, instead of running through the upstream patch-release-pull cycle all the time. This means that Pipenv’s copy of Pipfile is actually more developed that the official repository, and will eventually be merged upstream.

So yeah, as your worries, it is generally not a very good idea, but pipfile is an exception. If we have any problems with it, they should probably be proposed here as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package Manager can install only the first package when you ...
In Windows Vista, the Package Manager tool can install only the first package when you extract two or more packages to the same...
Read more >
How do I extract files from an MSI package? - Super User
First, to access a command prompt, do this: Click the Start button. Click All Programs. Go into Accessories. Left-click on Command Prompt.
Read more >
Python Package Installation on Windows - ActiveState
To manually install packages in Python with setup.py, do the following: Download the package and extract it into a local directory. Navigate to ......
Read more >
Command-line switches to extract and install the Windows ...
Command-line switches to extract a Windows installation package ... Uninstalling the Secure Connection features. Can be used with.
Read more >
Chapter 4. Installing Applications: Packages and Ports
pkg is the next generation replacement for the traditional FreeBSD package management tools, offering many features that make dealing with ...
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