Commit 9e85bd62 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'ee-12032-defaults-to-python-3-docs' into 'master'

Document that License Compliance defaults to Python 3

See merge request gitlab-org/gitlab-ce!31910
parents 4e01a9e0 6a858241
...@@ -169,9 +169,9 @@ If you still need to run tests during `mvn install`, add `-DskipTests=false` to ...@@ -169,9 +169,9 @@ If you still need to run tests during `mvn install`, add `-DskipTests=false` to
> [Introduced](https://gitlab.com/gitlab-org/security-products/license-management/merge_requests/36) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.0. > [Introduced](https://gitlab.com/gitlab-org/security-products/license-management/merge_requests/36) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.0.
License Compliance uses Python 2.7 and pip 10.0 by default. License Compliance uses Python 3.5 and pip 19.1 by default.
If your project requires Python 3, you can switch to Python 3.5 and pip 19.1 If your project requires Python 2, you can switch to Python 2.7 and pip 10.0
by setting the `LM_PYTHON_VERSION` environment variable to `3`. by setting the `LM_PYTHON_VERSION` environment variable to `2`.
```yaml ```yaml
include: include:
...@@ -179,7 +179,7 @@ include: ...@@ -179,7 +179,7 @@ include:
license_management: license_management:
variables: variables:
LM_PYTHON_VERSION: 3 LM_PYTHON_VERSION: 2
``` ```
## Project policies for License Compliance ## Project policies for License Compliance
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment