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
9 changes: 4 additions & 5 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.6'
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -43,10 +43,10 @@ jobs:
strategy:
max-parallel: 1
matrix:
python-version: [3.6, 3.9]
python-version: [3.6, 3.7, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -63,4 +63,3 @@ jobs:
USE_REGION: US
run:
nosetests -v

6 changes: 6 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [3.0.2] - 2024-07-03

## Chore

- Pin requests/urllib version on Python 3.7+

## [3.0.1] - 2024-06-25

## Fixed
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ arrow>=1.0.0,<2.0.0; python_version >= '3.6'
iso8601>=0.1.14
six>=1.11.0
qiniu>=7.3.1
requests<=2.31.0
urllib3<=1.26.18
requests<=2.31.0; python_version >= '3.7'
urllib3<=1.26.18; python_version >= '3.7'
requests-toolbelt==1.0.0
Werkzeug>=0.16.0,<2.0.0
secure-cookie>=0.1.0,<1.0.0
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
'iso8601>=0.1.14',
'six>=1.11.0',
'qiniu==7.3.1',
'requests>=2.25.1',
"requests<=2.31.0; python_version >= '3.7'",
"urllib3<=1.26.18; python_version >= '3.7'",
'requests-toolbelt>=1.0.0',
'Werkzeug>=0.16.0,<2.0.0',
'secure-cookie>=0.1.0,<1.0.0',
Expand All @@ -22,7 +23,7 @@

setup(
name='leancloud',
version='3.0.1',
version='3.0.2',
description='LeanCloud Python SDK',
url='https://leancloud.cn/',
author='asaka',
Expand Down