Skip to content

Commit e7c6d37

Browse files
authored
refactor: update deps of blue-krill to remove urllib3 (#252)
1 parent 47fe8ce commit e7c6d37

5 files changed

Lines changed: 204 additions & 48 deletions

File tree

sdks/blue-krill/CHANGE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
## Change logs
22

3+
### 2.2.0
4+
5+
- 更新依赖,移除 urllib3,增大 curlify 最大支持版本
6+
37
### 2.1.5
48

59
- Fix: BKRepoManager 和 BKGenericRepo 不支持 endpoint_url 带子路径的问题
610

7-
811
### 2.1.4
912

1013
- Fix: `TaskPoller.__init_subclass__``CallbackHandler.__init_subclass__` 中同名子类注册覆盖的问题

sdks/blue-krill/blue_krill/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
# We undertake not to change the open source license (MIT license) applicable
1616
# to the current version of the project delivered to anyone in the future.
1717

18-
__version__ = "2.1.5"
18+
__version__ = "2.2.0"

sdks/blue-krill/noxfile.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ def tests(session):
4242
# Prepare pip and poetry
4343
session.run("python", "-m", "ensurepip", "--upgrade")
4444
session.install("poetry")
45-
session.run("poetry", "self", "add", "poetry-plugin-export@latest")
45+
46+
if session.python == "3.9":
47+
# Install the last compatible version of the plugin
48+
session.run("poetry", "self", "add", "poetry-plugin-export@1.9.0")
49+
else:
50+
session.run("poetry", "self", "add", "poetry-plugin-export@latest")
4651

4752
# Install dev/test dependencies
4853
session.install("-e", ".[all]")

0 commit comments

Comments
 (0)