Repository: oppia/oppia

Issue:
Update pip-tools in commons.py for version 6.6.2 to avoid "jazzband/pip-tools#1623"
<!--
  - Thanks for taking the time to report a bug in the Oppia project.
  - Before filing a new issue, please do a quick search to check that it hasn't
  - already been filed on the [issue tracker](https://github.com/oppia/oppia/issues)._
  -->

**Describe the bug**
Version 6.6.1 of pip-tools is incompatible with the current version of pip, 22.1.1.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to oppia's folder
2. Run `python -m scripts.clean`
3. Run `python -m scripts.start`
4. After a while see the error

**Observed behavior**
After running `scripts.start`, when it's installing the Oppia Tools it throws an error: `subprocess.CalledProcessError: Command '['python', '-m', 'scripts.regenerate_requirements', '--no-emit-index-url']' returned non-zero exit status 1`. After some research, I found out this issue on the pip-tools repo: [jazzband/pip-tools#1623](https://github.com/jazzband/pip-tools/issues/1623), this was a problem of compatibility between pip-tools 6.6.1 and pip 22.1.1.

**Expected behavior**
The script runs without errors.

**Desktop (please complete the following information; delete this section if the issue does not arise on desktop):**
 - OS: Ubuntu 22.04, fully up to date
 - Browser: Chrome
 - Browser-version: 101.0.4951.64

**Additional context**
I've fixed this bug in my machine, by changing the version of pip-tools to 6.6.2 on scripts/commons.py. I'm submitting a PR with the bug fix.

Update pip-tools in commons.py for version 6.6.2 to avoid "jazzband/pip-tools#1623"
<!--
  - Thanks for taking the time to report a bug in the Oppia project.
  - Before filing a new issue, please do a quick search to check that it hasn't
  - already been filed on the [issue tracker](https://github.com/oppia/oppia/issues)._
  -->

**Describe the bug**
Version 6.6.1 of pip-tools is incompatible with the current version of pip, 22.1.1.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to oppia's folder
2. Run `python -m scripts.clean`
3. Run `python -m scripts.start`
4. After a while see the error

**Observed behavior**
After running `scripts.start`, when it's installing the Oppia Tools it throws an error: `subprocess.CalledProcessError: Command '['python', '-m', 'scripts.regenerate_requirements', '--no-emit-index-url']' returned non-zero exit status 1`. After some research, I found out this issue on the pip-tools repo: [jazzband/pip-tools#1623](https://github.com/jazzband/pip-tools/issues/1623), this was a problem of compatibility between pip-tools 6.6.1 and pip 22.1.1.

**Expected behavior**
The script runs without errors.

**Desktop (please complete the following information; delete this section if the issue does not arise on desktop):**
 - OS: Ubuntu 22.04, fully up to date
 - Browser: Chrome
 - Browser-version: 101.0.4951.64

**Additional context**
I've fixed this bug in my machine, by changing the version of pip-tools to 6.6.2 on scripts/commons.py. I'm submitting a PR with the bug fix.



Discussion:

Resolving patch:
diff --git a/scripts/common.py b/scripts/common.py
--- a/scripts/common.py
+++ b/scripts/common.py
@@ -48,7 +48,7 @@
 PYLINT_QUOTES_VERSION = '0.2.4'
 PYGITHUB_VERSION = '1.55'
 WEBTEST_VERSION = '3.0.0'
-PIP_TOOLS_VERSION = '6.6.1'
+PIP_TOOLS_VERSION = '6.6.2'
 GRPCIO_VERSION = '1.41.1'
 PROTOBUF_VERSION = '3.13.0'
 SETUPTOOLS_VERSION = '58.5.3'


Test patch: