mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
- Remove outdated info about Python 3.10
- Add example of updating a single package
(cherry picked from commit ef4fe42bbb)
Co-authored-by: Don Naro <dnaro@redhat.com>
This commit is contained in:
10
README.md
10
README.md
@@ -134,13 +134,11 @@ To synchronize dependency lock files with base requirements files without changi
|
||||
nox -s pip-compile -- --no-upgrade
|
||||
```
|
||||
|
||||
> This session requires Python 3.10.
|
||||
To upgrade a single dependency, for instance when adjusting constraints on a package, use the `--upgrade-package` flag followed by the package name:
|
||||
|
||||
If you do not have Python 3.10 installed, you can use root-less podman with a Python 3.10 image as follows:
|
||||
|
||||
```bash
|
||||
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'
|
||||
```
|
||||
``` bash
|
||||
nox -s pip-compile -- --upgrade-package <package_name>
|
||||
```
|
||||
|
||||
## Creating release tags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user