File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,11 @@ To synchronize dependency lock files with base requirements files without changi
134
134
nox -s pip-compile -- --no-upgrade
135
135
```
136
136
137
- > This session requires Python 3.10.
137
+ To upgrade a single dependency, for instance when adjusting constraints on a package, use the ` --upgrade-package ` flag followed by the package name:
138
138
139
- If you do not have Python 3.10 installed, you can use root-less podman with a Python 3.10 image as follows:
140
-
141
- ``` bash
142
- podman run --rm --tty --volume " $( pwd) :/mnt:z" --workdir /mnt docker.io/library/python:3.10 bash -c ' pip install nox ; nox -s pip-compile'
143
- ```
139
+ ``` bash
140
+ nox -s pip-compile -- --upgrade-package < package_name>
141
+ ```
144
142
145
143
## Creating release tags
146
144
You can’t perform that action at this time.
0 commit comments