KEMBAR78
feat: move setup tools to build dependency by NguyenHoangSon96 · Pull Request #141 · InfluxCommunity/influxdb3-python · GitHub
Skip to content

Conversation

@NguyenHoangSon96
Copy link
Contributor

@NguyenHoangSon96 NguyenHoangSon96 commented Jun 2, 2025

Issue link #695

Proposed Changes

  • Move the "setuptools" package to build dependency to accommodate new check from the homeassistant library

_ Before the fix
Screenshot 2025-06-02 at 08 11 57

_ After the fix: I think the new error message means we have had solved the dependency issue, check out "home-assistant-core/script/hassfest/requirements.py" line 169. The new error message is for the homeassistant team
Screenshot 2025-06-02 at 08 20 33

_ My steps to reproduce the issue:

  • Checkout Home assistant core repo

  • Run "source venv/bin/activate"

  • Run "python3 -m script.gen_requirements_all && pip3.13 install -r requirements_all.txt"

  • Run "python3 -m script.hassfest --integration-path "home-assistant-core/homeassistant/components/influxdb" --requirement"

  • My steps to fix

  • Build influxdb-python3 with the latest change -> Upload to PyPi https://pypi.org/project/sonnh-influxdb3-python/. After that, replace the content of "homeassistant/components/influxdb/manifest.json" like this
    manifest.json

  • Run the same steps as when reproducing the issue again

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • Tests pass
  • Commit messages are conventional
  • Sign CLA (if not already signed)

@NguyenHoangSon96 NguyenHoangSon96 self-assigned this Jun 2, 2025
@codecov
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.44%. Comparing base (7b9e802) to head (12d8b8f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #141   +/-   ##
=======================================
  Coverage   65.44%   65.44%           
=======================================
  Files          35       35           
  Lines        2266     2266           
=======================================
  Hits         1483     1483           
  Misses        783      783           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@karel-rehor karel-rehor left a comment

Choose a reason for hiding this comment

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

Setup steps now work for me. Verified PyPi package using Sonnh's build. All changes make sense. 🚴 🏁

@NguyenHoangSon96 NguyenHoangSon96 force-pushed the feat/move-setuptools-build-dependency branch from 0638535 to 12d8b8f Compare June 10, 2025 01:49
@NguyenHoangSon96 NguyenHoangSon96 merged commit f0f47e0 into main Jun 10, 2025
13 of 14 checks passed
@NguyenHoangSon96 NguyenHoangSon96 deleted the feat/move-setuptools-build-dependency branch June 10, 2025 01:51
@karel-rehor karel-rehor added this to the 0.14.0 milestone Jun 18, 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