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.

Update injected packages.

See original GitHub issue

As mentioned in #72, it’s currently not possible to update dependencies/injected packages in pipx.

Should this be supported in some form? What form should this take?

pipx update <foo>

Should this update all injected packages and dependencies, or not?

Issue Analytics

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

github_iconTop GitHub Comments

8reactions
schinckelcommented, Jan 31, 2019

Since all injected packages are installed through pipx anyway, perhaps it could store the list of injected packages explicitly, and use that to determine what is not an automatically installed dependency.

7reactions
fbergrothcommented, Jan 31, 2019

Below is something else I would be open to implementing if there is interest to make running pip for a specific package a little easier. It feels a little verbose but at least doesn’t force you to remember where venvs are stored.

pipx run-pip PACKAGE PIPCMD [PIPARGS]

How about pipx shell PACKAGE to spawn a shell within the venv, similar to poetry/pipenv.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update injected packages. · Issue #79 · pypa/pipx - GitHub
In my opinion, if we install ed the main package and then inject ed more packages into it without explicitly specifying versions, then...
Read more >
injectable | Dart Package - Pub.dev
Injectable is a convenient code generator for get_it. Inspired by Angular DI, Guice DI and inject.dart.
Read more >
Understanding dependency injection - Angular
Injecting a dependencylink. The most common way to inject a dependency is to declare it in a class constructor. When Angular creates a...
Read more >
javax.inject (Java EE 6 ) - Oracle Help Center
This package provides dependency injection annotations that enable portable classes, but it leaves external dependency configuration up to the injector ...
Read more >
Contexts and Dependency Injection - Quarkus
This involves injection fields, constructors and initializers, observer methods, producer methods and fields, disposers and interceptor methods. A 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