Skip to content

Commit fa0e10d

Browse files
committed
[update] add github issue template & boost version to 0.0.2
1 parent 7b99234 commit fa0e10d

File tree

5 files changed

+196
-1
lines changed

5 files changed

+196
-1
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: "🐞 Bug reports"
2+
description: Report Bug to help us improve IMDLdataflow
3+
labels: bug
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Please briefly describe your issue, and try to use the search function with relevant keywords to look for solutions in existing issues first.
10+
请简要描述你的困难,并优先活用搜索功能配合关键字在现有issue中寻找解决方案。
11+
12+
- type: checkboxes
13+
id: reminder
14+
attributes:
15+
label: Reminder
16+
description: |
17+
Please ensure you have carefully searched the existing issues.
18+
请确保您已经认真搜索过现有的 issues。
19+
options:
20+
- label: I have read the above rules and searched the existing issues.
21+
required: true
22+
23+
- type: textarea
24+
id: system-info
25+
attributes:
26+
label: System Info
27+
description: |
28+
Please share your system info with us. You can run the command **dataflow env** and copy-paste its output below.
29+
请提供您的系统信息。您可以在命令行运行 **dataflow env** 并将其输出复制到该文本框中。
30+
placeholder: dataflow version, platform, python version, ...
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: reproduction
36+
attributes:
37+
label: Reproduction
38+
description: |
39+
Please provide entry arguments, error messages and stack traces that reproduces the problem.
40+
请提供入口参数,错误日志以及异常堆栈以便于我们复现问题。
41+
value: |
42+
```text
43+
Put your message here.
44+
```
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: others
50+
attributes:
51+
label: Others
52+
description: |
53+
Describe your issue or bug detailly here.
54+
详细描述你的问题或发现的bug。
55+
validations:
56+
required: false
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "🤔 ask for help"
2+
description: Ask for help to others here, like model performance, something won't work.
3+
labels: question
4+
5+
body:
6+
- type: textarea
7+
id: system-info
8+
attributes:
9+
label: System Info
10+
description: |
11+
Please share your system info with us. You can run the command **dataflow env** and copy-paste its output below.
12+
请提供您的系统信息。您可以在命令行运行 **dataflow env** 并将其输出复制到该文本框中。
13+
placeholder: dataflow version, platform, python version, ...
14+
validations:
15+
required: true
16+
17+
- type: textarea
18+
id: reproduction
19+
attributes:
20+
label: Reproduction
21+
description: |
22+
Please provide entry script.
23+
请提供入口的脚本。
24+
value: |
25+
```text
26+
Put your script here
27+
```
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: others
33+
attributes:
34+
label: Others
35+
description: |
36+
Describe your issue detailly here.
37+
详细描述你的问题。
38+
validations:
39+
required: false
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "✨ Feature Request"
2+
description: Suggest an idea for new features. 请求加入的有趣的新功能。
3+
labels: enhancement
4+
5+
body:
6+
- type: textarea
7+
id: system-info
8+
attributes:
9+
label: System Info
10+
description: |
11+
Please share your system info with us. You can run the command **benco env** and copy-paste its output below.
12+
请提供您的系统信息。您可以在命令行运行 **dataflow env** 并将其输出复制到该文本框中。
13+
placeholder: dataflow version, platform, python version, ...
14+
validations:
15+
required: true
16+
17+
- type: textarea
18+
id: others
19+
attributes:
20+
label: Others
21+
description: |
22+
Describe feature you want detailly here.
23+
详细描述你期待的新功能。
24+
validations:
25+
required: false
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# This workflow will upload a Python Package to PyPI when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
release-build:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.12"
28+
29+
- name: Build release distributions
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install -r requirements.txt
33+
pip install build twine
34+
python -m build --sdist --wheel
35+
36+
- name: Verify distribution
37+
run: |
38+
twine check dist/*
39+
40+
- name: Upload distributions
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: release-dists
44+
path: dist/
45+
46+
pypi-publish:
47+
runs-on: ubuntu-latest
48+
needs:
49+
- release-build
50+
permissions:
51+
# IMPORTANT: this permission is mandatory for trusted publishing
52+
id-token: write
53+
54+
# Dedicated environments with protections for publishing are strongly recommended.
55+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
56+
environment:
57+
name: pypi
58+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
59+
# url: https://pypi.org/p/YOURPROJECT
60+
#
61+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
62+
# ALTERNATIVE: exactly, uncomment the following line instead:
63+
# url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }}
64+
65+
steps:
66+
- name: Retrieve release distributions
67+
uses: actions/download-artifact@v4
68+
with:
69+
name: release-dists
70+
path: dist/
71+
72+
- name: Publish release distributions to PyPI
73+
uses: pypa/gh-action-pypi-publish@release/v1
74+
with:
75+
packages-dir: dist/

dataflow/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.0.1'
1+
__version__ = '0.0.2'
22
short_version = __version__
33

44
def parse_version_info(version_str):

0 commit comments

Comments
 (0)