Skip to content

Commit

Permalink
Upgrade to Pip 21.1. (#3070)
Browse files Browse the repository at this point in the history
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 (pypa/pip#9187 (comment) 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.
  • Loading branch information
davinchia committed Apr 27, 2021
1 parent cc87649 commit 2188201
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions airbyte-integrations/bases/base-python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"pydantic==1.6.1",
"airbyte-protocol",
"jsonschema==2.6.0",
"requests==2.25.1",
"backoff==1.10.0",
"requests",
"backoff",
"pytest",
"pendulum",
],
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/groovy/airbyte-python.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2188201

Please sign in to comment.