Skip to content

fix: missing sniffio dependency#287

Merged
abrahamy merged 5 commits into
mainfrom
fix/missing-dependency-sniffio
Dec 1, 2025
Merged

fix: missing sniffio dependency#287
abrahamy merged 5 commits into
mainfrom
fix/missing-dependency-sniffio

Conversation

@abrahamy

@abrahamy abrahamy commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Related Issues

Proposed Changes?

The project had requires-python = >= 3.8 but the pydantic library had a transitive dependency a version of sniffio that is not compatible with Python 3.8. Hatch could not resolve the dependencies due to this.

I also took the opportunity to migrate the project to uv as we have already done so in other projects.

How did you test it?

Notes for the reviewer

Screenshots (optional)

Checklist

  • I have updated the referenced issue with new insights and changes
  • If this is a code change, I have added unit tests
  • I've used the conventional commit specification for my PR title
  • I updated the docstrings
  • If this is a code change, I added meaningful logs and prepared Datadog visualizations and alerts

@abrahamy abrahamy requested a review from a team December 1, 2025 16:05
Comment thread .github/workflows/continuous-integration.yml Outdated
Comment thread .github/actions/integration_tests/action.yml Outdated
Comment thread .github/workflows/continuous-integration.yml Outdated
Comment thread .github/workflows/continuous-integration.yml Outdated
Comment thread .github/workflows/continuous-integration.yml Outdated
Comment thread .github/workflows/continuous-integration.yml Outdated
Comment thread .github/workflows/deploy-prod.yml Outdated
Comment thread .github/workflows/deploy.yml Outdated
@github-actions

github-actions Bot commented Dec 1, 2025

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  deepset_cloud_sdk
  cli.py
  deepset_cloud_sdk/workflows/async_client
  files.py
Project Total  

This report was generated by python-coverage-comment-action

@ArzelaAscoIi ArzelaAscoIi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

THanks for adding UV!

Comment thread pyproject.toml
"haystack-ai>=2.13.2", # only for testing
"haystack-ai>=2.13.2", # only for testing
"respx==0.22.0",
"sniffio>=1.3.1",

@anakin87 anakin87 Dec 1, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just taking a look... sorry if my question is dumb.
Why not adding sniffio to dependencies instead?

@abrahamy abrahamy merged commit 0dce623 into main Dec 1, 2025
7 of 8 checks passed
@abrahamy abrahamy deleted the fix/missing-dependency-sniffio branch December 1, 2025 19:11
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.

Missing sniffio dependency

3 participants