Skip to content

Commit

Permalink
enhance: bk-storage 支持 python3.11.x (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
SheepSheepChen authored May 16, 2024
1 parent 42cef87 commit de12dce
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions sdks/bk-storages/CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Change logs
### 1.1.1
- 扩展支持的 Python 版本(>=3.6,<3.12)

### 1.1.0
- 调整 `BKRepoStorage` 公开仓库的 url 实现: 直接返回资源的路径, 而并非生成临时访问地址
Expand Down
2 changes: 1 addition & 1 deletion sdks/bk-storages/bkstorages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
"""
__version__ = "1.1.0"
__version__ = "1.1.1"
8 changes: 4 additions & 4 deletions sdks/bk-storages/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bkstorages"
version = "1.1.0"
version = "1.1.1"
description = "File storage backends for blueking PaaS platform"
readme = "README.md"
authors = ["blueking <[email protected]>"]
Expand All @@ -20,7 +20,7 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = ">=3.6.2,<3.11"
python = ">=3.6.2,<3.12"
boto3 = ">=1.4.1"
six = "*"
requests = "*"
Expand All @@ -38,9 +38,9 @@ pytest = "6.2.5"
pytest-django = "4.1.0"
requests-mock = "^1.8.0"
# black
black = "21.7b0"
black = "*"
# mypy
mypy = "0.910"
mypy = "*"
# install extension stubs if missing
types-requests = "2.25.0"
types-setuptools = "57.0.0"
Expand Down
3 changes: 1 addition & 2 deletions sdks/bk-storages/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{38}-django{111,22,32}
envlist = py{311}-django{22,32}
isolated_build = True
skip_missing_interpreters = True
requires =
Expand All @@ -15,7 +15,6 @@ install_dev_deps = True
poetry_dep_groups =
dev
deps =
django111: Django>=1.11,<1.12
django22: Django>=2.2,<2.3
django32: Django>=3.2,<3.3
commands =
Expand Down

0 comments on commit de12dce

Please sign in to comment.