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 to qestdb 2.0.3 API #53

Merged
merged 4 commits into from
Jan 3, 2025
Merged

Update to qestdb 2.0.3 API #53

merged 4 commits into from
Jan 3, 2025

Conversation

antst
Copy link
Contributor

@antst antst commented Dec 5, 2024

This implements qestdb-2.0 API and lift qestdb dependancy to questdb==2.0.3, as only 2.0.3 version of questdb python module client can be build by pip from sources (if Rust compiler "cargo" is installed).
Earlier versions have bugs here and there and PIP can not build them.
Also, it is much easier to convince questdb people to provide binaries (to avoid building altogether) for recent client, than for old one.

@antst
Copy link
Contributor Author

antst commented Dec 10, 2024

@CM000n please, look at it. As everyone, who upgraded to 2024.12, has problem currently.

@mgumz
Copy link
Contributor

mgumz commented Dec 11, 2024

@antst

Logger: homeassistant.setup
Source: setup.py:269
First occurred: 07:04:57 (1 occurrences)
Last logged: 07:04:57

Setup failed for custom integration 'qss': Requirements for qss not found: ['questdb==2.0.3'].

I git-cloned your branch to custom_components (or rather only the qss subfolder). HA:2024.12.2

@antst
Copy link
Contributor Author

antst commented Dec 11, 2024

@antst

Logger: homeassistant.setup
Source: setup.py:269
First occurred: 07:04:57 (1 occurrences)
Last logged: 07:04:57

Setup failed for custom integration 'qss': Requirements for qss not found: ['questdb==2.0.3'].

I git-cloned your branch to custom_components (or rather only the qss subfolder). HA:2024.12.2

As there is no prebuilt wheel for questdb yet, and there are couple of obstacles which prevent installation of questdb from sources automatically, you need to look for instructions here:
#52 (comment)

@CM000n
Copy link
Owner

CM000n commented Dec 11, 2024

hello @antst. Thank you very much for this PR 😊 Can you please also adjust the pyproject.toml file and update the lock file

@CM000n
Copy link
Owner

CM000n commented Dec 11, 2024

Also pre-commit hooks are failing at the moment 😉

@CM000n CM000n assigned CM000n and antst and unassigned CM000n Dec 11, 2024
@mgumz
Copy link
Contributor

mgumz commented Dec 12, 2024

@antst works.

@antst
Copy link
Contributor Author

antst commented Dec 12, 2024

hello @antst. Thank you very much for this PR 😊 Can you please also adjust the pyproject.toml file and update the lock file

I updated deps and version in project file and mainifest and incorporated changes which should make liniter happy. But I have zero clue about lock file. Keep in mind, I am not python dev :)

@saintman23
Copy link

Lookingforward for a fix to use QuestDB with latrest HA...

@antst
Copy link
Contributor Author

antst commented Dec 30, 2024

@CM000n
I accidentally resolved conversation about dependency. But summary is simple: one can not intentionally put as dependency something which is broken :) And patch-releases prior 2.0.3 are broken :)
change to be >=2.0.3.

dependabot bot and others added 3 commits December 30, 2024 15:28
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v2.0.8...v2.0.9)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.9 to 2.1.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v2.0.9...v2.1.0)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants