Comments (3)
Docs are here. No, there's no way to provide a default.
from pip.
The ${PACKAGE_REF:-main}
syntax is specific to bash (and maybe some other shells?) It's not supported by pip, so it won't get interpreted correctly in a requirements file.
from pip.
@pfmoore thanks for the reply!
ok... i miss-read another issue from a couple of years ago'.. i thought the :
and the :-
notation were not bash specific...
is there another way to provide a default to an env var? the idea is that the env var should be set only in "special" occasions, in this particular case if one wants to try a new feature only being developed as a new feature branch...
from pip.
Related Issues (20)
- pip install error any package, but can work HOT 1
- Suggest a pip upgrade on UnsupportedWheel if the upgrade check is disabled HOT 3
- Installing dependencies from `pyproject.toml` in the Docker build phase takes very long HOT 6
- Autocomplete failures should not be fatal
- Allow installing packages that were current at a defined date HOT 2
- Failed to establish a new connection: HOT 1
- Present more informative `no distributions found` error when attempting to install a stdlib module HOT 1
- manpages for pip are out-of-date HOT 1
- Pip not installing nested subdirectories in package data HOT 2
- pip install does not seem to evaluate environment markers correctly per PEP 508 HOT 3
- Fresh PC - Forge WebUI won't install properly HOT 1
- Mac zsh auto=completion error "command not found: compdef"
- pip install .[test] fails with pyproject.toml HOT 2
- Install packages in parallel HOT 3
- [request] install requirements from pyproject.toml without installing project itself HOT 1
- Should `pip install -e foo` be interpreted as a directory, or a package name? HOT 13
- Pip fails with Python 3.13 Free Threading HOT 2
- Dry-run "find" or equivalent option to list wheels and other files that will be downloaded HOT 2
- Feature request: configurable location for keyring as a subprocess HOT 1
- keyring import provider fails if pip is run with `-vv` or `-vvv`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip.