Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ commands:
pip-install-deps-27:
parameters:
requirements:
default: "tests/requirements.txt"
default: "tests/requirements-27.txt"
type: string
steps:
- run:
Expand All @@ -34,10 +34,11 @@ commands:
command: |
python -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install 'wheel>=0.29.0'
pip install -r requirements.txt
pip install -r <<parameters.requirements>>

install-couchbase-deps:
steps:
- run:
Expand All @@ -49,7 +50,7 @@ commands:
sudo dpkg -i ./couchbase-release-1.0-6-amd64.deb
sudo apt-get update
sudo apt install libcouchbase-dev -y

jobs:
python27:
docker:
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
working_directory: ~/repo
steps:
- checkout
- pip-install-deps
- pip-install-deps
- run:
name: run tests
environment:
Expand All @@ -102,7 +103,7 @@ jobs:
working_directory: ~/repo
steps:
- checkout
- pip-install-deps
- pip-install-deps
- run:
name: run tests
environment:
Expand Down
1 change: 1 addition & 0 deletions tests/clients/test_google-cloud-storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ def test_batch_operation(self, mock_requests):
def _client(self, *args, **kwargs):
# override the HTTP client to bypass the authorization
kwargs['_http'] = kwargs.get('_http', requests.Session())
kwargs['_http'].is_mtls = False

return storage.Client(*args, **kwargs)

Expand Down
33 changes: 33 additions & 0 deletions tests/requirements-27.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
aiofiles>=0.5.0;python_version>="3.5"
aiohttp>=3.5.4;python_version>="3.5"
asynqp>=0.4;python_version>="3.5"
boto3>=1.10.0
celery>=4.1.1
django>=1.11,<2.2
fastapi>=0.61.1;python_version>="3.6"
flask>=0.12.2
grpcio>=1.18.0
google-cloud-storage>=1.24.0;python_version>="3.5"
lxml>=3.4
mock>=2.0.0
moto>=1.3.16,<2.0
mysqlclient>=1.3.14;python_version>="3.5"
MySQL-python>=1.2.5;python_version<="2.7"
nose>=1.0
PyMySQL[rsa]>=0.9.1
pyOpenSSL>=16.1.0;python_version<="2.7"
psycopg2>=2.7.1
pika>=1.0.0
pymongo>=3.7.0
pyramid>=1.2
pytest>=4.6
pytest-celery
redis>3.0.0
requests>=2.17.1
rsa<=4.5
sqlalchemy>=1.1.15
spyne>=2.9,<=2.12.14
suds-jurko>=0.6
tornado>=4.5.3,<6.0
uvicorn>=0.12.2;python_version>="3.6"
urllib3[secure]!=1.25.0,!=1.25.1,<1.26,>=1.21.1
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ grpcio>=1.18.0
google-cloud-storage>=1.24.0;python_version>="3.5"
lxml>=3.4
mock>=2.0.0
moto>=1.3.16
moto>=1.3.16,<2.0
mysqlclient>=1.3.14;python_version>="3.5"
MySQL-python>=1.2.5;python_version<="2.7"
nose>=1.0
Expand Down