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

Update dependencies and adjust pyproject.toml #21

Merged
merged 8 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 69 additions & 70 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,70 @@
---
# the GitHub Action https://github.com/marketplace/actions/github-labeler.
- name: ":bell: automerge"
color: "8f4fbc"
description: ""
- name: ":robot: bot"
color: "69cde9"
description: ""
- name: ":bug: bug"
color: "b60205"
description: ""
- name: ":warning: breaking change"
color: "b60205"
description: ""
- name: ":game_die: dependencies"
color: "0366d6"
description: ""
- name: ":memo: documentation"
color: "c5def5"
description: ""
- name: ":busts_in_silhouette: duplicate"
color: "cccccc"
description: ""
- name: ":speech_balloon: translation"
color: "b2a8a6"
description: ""
- name: ":wrench: enhancement"
color: "0054ca"
description: ""
- name: ":rocket: feature"
color: "0e8a16"
description: ""
- name: ":mega: feedback"
color: "03a9f4"
description: ""
- name: ":clock10: future maybe"
color: "fef2c0"
description: ""
- name: ":hatching_chick: good first issue"
color: "7057ff"
description: ""
- name: ":pray: help wanted"
color: "4caf50"
description: ""
- name: ":no_entry_sign: invalid"
color: "e6e6e6"
description: ""
- name: ":mag: investigate"
color: "e6625b"
description: ""
- name: ":thinking: needs more info"
color: "795548"
description: ""
- name: ":pushpin: pinned"
color: "28008e"
description: ""
- name: ":question: question"
color: "3f51b5"
description: ""
- name: ":skull: stale"
color: "237da0"
description: ""
- name: ":eyes: upstream"
color: "fbca04"
description: ""
- name: ":construction_worker: WIP"
color: "668000"
description: ""
- name: ":coffin: wontfix"
color: "ffffff"
description: ""
- name: ':bell: automerge'
color: 8f4fbc
description: ''
- name: ':robot: bot'
color: 69cde9
description: ''
- name: ':bug: bug'
color: b60205
description: ''
- name: ':warning: breaking change'
color: b60205
description: ''
- name: ':game_die: dependencies'
color: 0366d6
description: ''
- name: ':memo: documentation'
color: c5def5
description: ''
- name: ':busts_in_silhouette: duplicate'
color: cccccc
description: ''
- name: ':speech_balloon: translation'
color: b2a8a6
description: ''
- name: ':wrench: enhancement'
color: 0054ca
description: ''
- name: ':rocket: feature'
color: 0e8a16
description: ''
- name: ':mega: feedback'
color: 03a9f4
description: ''
- name: ':clock10: future maybe'
color: fef2c0
description: ''
- name: ':hatching_chick: good first issue'
color: 7057ff
description: ''
- name: ':pray: help wanted'
color: 4caf50
description: ''
- name: ':no_entry_sign: invalid'
color: e6e6e6
description: ''
- name: ':mag: investigate'
color: e6625b
description: ''
- name: ':thinking: needs more info'
color: '795548'
description: ''
- name: ':pushpin: pinned'
color: 28008e
description: ''
- name: ':question: question'
color: 3f51b5
description: ''
- name: ':skull: stale'
color: 237da0
description: ''
- name: ':eyes: upstream'
color: fbca04
description: ''
- name: ':construction_worker: WIP'
color: '668000'
description: ''
- name: ':coffin: wontfix'
color: ffffff
description: ''
28 changes: 14 additions & 14 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ tag-template: v$RESOLVED_VERSION
change-template: '- #$NUMBER $TITLE @$AUTHOR'
sort-direction: ascending
categories:
- title: "⚠️ Breaking changes"
labels: [":warning: breaking change"]
- title: "🚀 Features"
labels: [":rocket: feature"]
- title: "🔧 Code enhancements"
labels: [":wrench: enhancement"]
- title: "🐛 Bug Fixes"
labels: [":bug: bug"]
- title: "💬 Translations"
labels: [":speech_balloon: translation"]
- title: "📝 Documentation"
labels: [":memo: documentation"]
- title: "🎲 Dependencies"
labels: [":game_die: dependencies"]
- title: ⚠️ Breaking changes
labels: [':warning: breaking change']
- title: 🚀 Features
labels: [':rocket: feature']
- title: 🔧 Code enhancements
labels: [':wrench: enhancement']
- title: 🐛 Bug Fixes
labels: [':bug: bug']
- title: 💬 Translations
labels: [':speech_balloon: translation']
- title: 📝 Documentation
labels: [':memo: documentation']
- title: 🎲 Dependencies
labels: [':game_die: dependencies']
version-resolver:
major:
labels:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/check-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,3 @@ jobs:
echo "Error: Version mismatch between pyproject.toml ($pyproject_version) and manifest.json ($manifest_version)"
exit 1
fi

pyproject_dependencies=$(poetry show --only main | awk -F' ' '{print $1}')
echo "pyproject.toml dependecies: \n$pyproject_dependencies"
manifest_dependencies=$(jq -r '.requirements[]' custom_components/qss/manifest.json)
echo "manifest.json dependecies: \n$manifest_dependencies"
for dependency in $pyproject_dependencies; do
matching_dependency=$(echo "$manifest_dependencies" | grep "$dependency")
if [[ -z "$matching_dependency" ]]; then
echo "Error: Missing dependency $dependency in manifest.json"
exit 1
fi
done
2 changes: 1 addition & 1 deletion .github/workflows/run-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Pre-commit
strategy:
matrix:
python-version: [3.9]
python-version: [3.11]
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
Expand Down
2 changes: 1 addition & 1 deletion custom_components/qss/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"iot_class": "local_push",
"issue_tracker": "https://github.com/CM000n/QSS/issues",
"requirements": [
"questdb>=1.0,<2.0",
"questdb>=1.2,<2.0",
"tenacity>=8.0"
],
"version": "v0.0.9"
Expand Down
Loading
Loading