Skip to content

Commit 4f457ac

Browse files
authored
Merge pull request #21 from CM000n/enhancement/using_stub_files
Update dependencies and adjust pyproject.toml
2 parents caef913 + 21feccf commit 4f457ac

File tree

7 files changed

+528
-356
lines changed

7 files changed

+528
-356
lines changed

.github/labels.yml

+69-70
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,70 @@
1-
---
21
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
3-
- name: ":bell: automerge"
4-
color: "8f4fbc"
5-
description: ""
6-
- name: ":robot: bot"
7-
color: "69cde9"
8-
description: ""
9-
- name: ":bug: bug"
10-
color: "b60205"
11-
description: ""
12-
- name: ":warning: breaking change"
13-
color: "b60205"
14-
description: ""
15-
- name: ":game_die: dependencies"
16-
color: "0366d6"
17-
description: ""
18-
- name: ":memo: documentation"
19-
color: "c5def5"
20-
description: ""
21-
- name: ":busts_in_silhouette: duplicate"
22-
color: "cccccc"
23-
description: ""
24-
- name: ":speech_balloon: translation"
25-
color: "b2a8a6"
26-
description: ""
27-
- name: ":wrench: enhancement"
28-
color: "0054ca"
29-
description: ""
30-
- name: ":rocket: feature"
31-
color: "0e8a16"
32-
description: ""
33-
- name: ":mega: feedback"
34-
color: "03a9f4"
35-
description: ""
36-
- name: ":clock10: future maybe"
37-
color: "fef2c0"
38-
description: ""
39-
- name: ":hatching_chick: good first issue"
40-
color: "7057ff"
41-
description: ""
42-
- name: ":pray: help wanted"
43-
color: "4caf50"
44-
description: ""
45-
- name: ":no_entry_sign: invalid"
46-
color: "e6e6e6"
47-
description: ""
48-
- name: ":mag: investigate"
49-
color: "e6625b"
50-
description: ""
51-
- name: ":thinking: needs more info"
52-
color: "795548"
53-
description: ""
54-
- name: ":pushpin: pinned"
55-
color: "28008e"
56-
description: ""
57-
- name: ":question: question"
58-
color: "3f51b5"
59-
description: ""
60-
- name: ":skull: stale"
61-
color: "237da0"
62-
description: ""
63-
- name: ":eyes: upstream"
64-
color: "fbca04"
65-
description: ""
66-
- name: ":construction_worker: WIP"
67-
color: "668000"
68-
description: ""
69-
- name: ":coffin: wontfix"
70-
color: "ffffff"
71-
description: ""
2+
- name: ':bell: automerge'
3+
color: 8f4fbc
4+
description: ''
5+
- name: ':robot: bot'
6+
color: 69cde9
7+
description: ''
8+
- name: ':bug: bug'
9+
color: b60205
10+
description: ''
11+
- name: ':warning: breaking change'
12+
color: b60205
13+
description: ''
14+
- name: ':game_die: dependencies'
15+
color: 0366d6
16+
description: ''
17+
- name: ':memo: documentation'
18+
color: c5def5
19+
description: ''
20+
- name: ':busts_in_silhouette: duplicate'
21+
color: cccccc
22+
description: ''
23+
- name: ':speech_balloon: translation'
24+
color: b2a8a6
25+
description: ''
26+
- name: ':wrench: enhancement'
27+
color: 0054ca
28+
description: ''
29+
- name: ':rocket: feature'
30+
color: 0e8a16
31+
description: ''
32+
- name: ':mega: feedback'
33+
color: 03a9f4
34+
description: ''
35+
- name: ':clock10: future maybe'
36+
color: fef2c0
37+
description: ''
38+
- name: ':hatching_chick: good first issue'
39+
color: 7057ff
40+
description: ''
41+
- name: ':pray: help wanted'
42+
color: 4caf50
43+
description: ''
44+
- name: ':no_entry_sign: invalid'
45+
color: e6e6e6
46+
description: ''
47+
- name: ':mag: investigate'
48+
color: e6625b
49+
description: ''
50+
- name: ':thinking: needs more info'
51+
color: '795548'
52+
description: ''
53+
- name: ':pushpin: pinned'
54+
color: 28008e
55+
description: ''
56+
- name: ':question: question'
57+
color: 3f51b5
58+
description: ''
59+
- name: ':skull: stale'
60+
color: 237da0
61+
description: ''
62+
- name: ':eyes: upstream'
63+
color: fbca04
64+
description: ''
65+
- name: ':construction_worker: WIP'
66+
color: '668000'
67+
description: ''
68+
- name: ':coffin: wontfix'
69+
color: ffffff
70+
description: ''

.github/release-drafter.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ tag-template: v$RESOLVED_VERSION
33
change-template: '- #$NUMBER $TITLE @$AUTHOR'
44
sort-direction: ascending
55
categories:
6-
- title: "⚠️ Breaking changes"
7-
labels: [":warning: breaking change"]
8-
- title: "🚀 Features"
9-
labels: [":rocket: feature"]
10-
- title: "🔧 Code enhancements"
11-
labels: [":wrench: enhancement"]
12-
- title: "🐛 Bug Fixes"
13-
labels: [":bug: bug"]
14-
- title: "💬 Translations"
15-
labels: [":speech_balloon: translation"]
16-
- title: "📝 Documentation"
17-
labels: [":memo: documentation"]
18-
- title: "🎲 Dependencies"
19-
labels: [":game_die: dependencies"]
6+
- title: ⚠️ Breaking changes
7+
labels: [':warning: breaking change']
8+
- title: 🚀 Features
9+
labels: [':rocket: feature']
10+
- title: 🔧 Code enhancements
11+
labels: [':wrench: enhancement']
12+
- title: 🐛 Bug Fixes
13+
labels: [':bug: bug']
14+
- title: 💬 Translations
15+
labels: [':speech_balloon: translation']
16+
- title: 📝 Documentation
17+
labels: [':memo: documentation']
18+
- title: 🎲 Dependencies
19+
labels: [':game_die: dependencies']
2020
version-resolver:
2121
major:
2222
labels:

.github/workflows/check-versions.yml

-12
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,3 @@ jobs:
4141
echo "Error: Version mismatch between pyproject.toml ($pyproject_version) and manifest.json ($manifest_version)"
4242
exit 1
4343
fi
44-
45-
pyproject_dependencies=$(poetry show --only main | awk -F' ' '{print $1}')
46-
echo "pyproject.toml dependecies: \n$pyproject_dependencies"
47-
manifest_dependencies=$(jq -r '.requirements[]' custom_components/qss/manifest.json)
48-
echo "manifest.json dependecies: \n$manifest_dependencies"
49-
for dependency in $pyproject_dependencies; do
50-
matching_dependency=$(echo "$manifest_dependencies" | grep "$dependency")
51-
if [[ -z "$matching_dependency" ]]; then
52-
echo "Error: Missing dependency $dependency in manifest.json"
53-
exit 1
54-
fi
55-
done

.github/workflows/run-pre-commit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Pre-commit
99
strategy:
1010
matrix:
11-
python-version: [3.9]
11+
python-version: [3.11]
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: ⤵️ Check out code from GitHub

custom_components/qss/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"iot_class": "local_push",
1010
"issue_tracker": "https://github.com/CM000n/QSS/issues",
1111
"requirements": [
12-
"questdb>=1.0,<2.0",
12+
"questdb>=1.2,<2.0",
1313
"tenacity>=8.0"
1414
],
1515
"version": "v0.0.9"

0 commit comments

Comments
 (0)