Skip to content

Commit de12dce

Browse files
enhance: bk-storage 支持 python3.11.x (TencentBlueKing#170)
1 parent 42cef87 commit de12dce

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

sdks/bk-storages/CHANGE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## Change logs
2+
### 1.1.1
3+
- 扩展支持的 Python 版本(>=3.6,<3.12)
24

35
### 1.1.0
46
- 调整 `BKRepoStorage` 公开仓库的 url 实现: 直接返回资源的路径, 而并非生成临时访问地址

sdks/bk-storages/bkstorages/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
"""
11-
__version__ = "1.1.0"
11+
__version__ = "1.1.1"

sdks/bk-storages/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "bkstorages"
3-
version = "1.1.0"
3+
version = "1.1.1"
44
description = "File storage backends for blueking PaaS platform"
55
readme = "README.md"
66
authors = ["blueking <blueking@tencent.com>"]
@@ -20,7 +20,7 @@ requires = ["poetry-core>=1.0.0"]
2020
build-backend = "poetry.core.masonry.api"
2121

2222
[tool.poetry.dependencies]
23-
python = ">=3.6.2,<3.11"
23+
python = ">=3.6.2,<3.12"
2424
boto3 = ">=1.4.1"
2525
six = "*"
2626
requests = "*"
@@ -38,9 +38,9 @@ pytest = "6.2.5"
3838
pytest-django = "4.1.0"
3939
requests-mock = "^1.8.0"
4040
# black
41-
black = "21.7b0"
41+
black = "*"
4242
# mypy
43-
mypy = "0.910"
43+
mypy = "*"
4444
# install extension stubs if missing
4545
types-requests = "2.25.0"
4646
types-setuptools = "57.0.0"

sdks/bk-storages/tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{38}-django{111,22,32}
7+
envlist = py{311}-django{22,32}
88
isolated_build = True
99
skip_missing_interpreters = True
1010
requires =
@@ -15,7 +15,6 @@ install_dev_deps = True
1515
poetry_dep_groups =
1616
dev
1717
deps =
18-
django111: Django>=1.11,<1.12
1918
django22: Django>=2.2,<2.3
2019
django32: Django>=3.2,<3.3
2120
commands =

0 commit comments

Comments
 (0)