1
0
mirror of synced 2025-12-23 21:03:15 -05:00

Upgrade to Pip 21.1. (#3070)

Upgrade to Pip 21.1 in preparation to upgrade DBT 19.

The latest Pip has

- a stricter resolver
- access to more up to date Python wheels (e.g. #2267 is solved since as any version after Pip 21 has access to ready-compiled Python wheels, see https://issues.apache.org/jira/browse/ARROW-11835).
- in theory faster pip installs (https://github.com/pypa/pip/issues/9187#issuecomment-826037738 makes me think the current Pip version is stable enough be consumed)

Also relax the constraint for `requests` and `backoff` since both were actually specifying incompatible versions that the old Pip resolver was silently swallowing.

Test this locally first by running git clean -dfx to remove all the existing venv files. The two different Pip versions do not work well.
This commit is contained in:
Davin Chia
2021-04-28 06:40:31 +08:00
committed by GitHub
parent cc876499da
commit 2188201c7c
2 changed files with 3 additions and 3 deletions

View File

@@ -36,8 +36,8 @@ setuptools.setup(
"pydantic==1.6.1",
"airbyte-protocol",
"jsonschema==2.6.0",
"requests==2.25.1",
"backoff==1.10.0",
"requests",
"backoff",
"pytest",
"pendulum",
],

View File

@@ -23,7 +23,7 @@ class AirbytePythonPlugin implements Plugin<Project> {
pip 'mypy:0.790'
pip 'isort:5.6.4'
pip 'pytest:6.1.2'
pip 'pip:20.2'
pip 'pip:21.1'
}
project.task('isortFormat', type: PythonTask) {