Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.11.10版本兼容 #240

Conversation

huangpixu
Copy link

python3.11.10版本兼容

boto3 = "^1.9.130"
bamboo-engine = "2.6.2"
jsonschema = "^4.17.0"
ujson = ">=5.9"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不建议只用 >=,尽量选一个能保证兼容的范围,假设 ujson 出了一个不兼容版本 6.0,就可能会升上去

@@ -1,6 +1,6 @@
[tool.poetry]
name = "bamboo-pipeline"
version = "3.24.6"
version = "3.24.7"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python 版本不向下兼容的话,更新大版本号

@@ -43,6 +36,7 @@

RERUN_MAX_LIMIT = pipeline_settings.PIPELINE_RERUN_MAX_TIMES
NAME_MAX_LENGTH = 64
revoke = current_app.control.revoke
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果不需要做兼容,是不是可以不赋值

@@ -1,23 +1,23 @@
[tool.poetry]
name = "bamboo-engine"
version = "2.6.1"
version = "2.6.2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

大版本更新

pyparsing = "^2.2.0"
Mako = "^1.1.4"
prometheus-client = "^0.9.0"
python = ">= 3.11"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不做 单边无限制

@huangpixu huangpixu closed this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants