Skip to content

Refine dependency bounds and adjust Pyright configuration#1773

Open
mhusnain-tech wants to merge 1 commit intosbi-dev:mainfrom
mhusnain-tech:patch-4
Open

Refine dependency bounds and adjust Pyright configuration#1773
mhusnain-tech wants to merge 1 commit intosbi-dev:mainfrom
mhusnain-tech:patch-4

Conversation

@mhusnain-tech
Copy link

  • Add upper bounds for torch (<3.0) and numpy (<3.0)
  • Define minimum supported versions for core dependencies
  • Refine Pyright configuration to better handle Torch stub issues
  • Improve overall packaging stability

- Add upper bounds for torch (<3.0) and numpy (<3.0)
- Define minimum supported versions for core dependencies
- Refine Pyright configuration to better handle Torch stub issues
- Improve overall packaging stability
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@b546366). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1773   +/-   ##
=======================================
  Coverage        ?   86.75%           
=======================================
  Files           ?      141           
  Lines           ?    12317           
  Branches        ?        0           
=======================================
  Hits            ?    10685           
  Misses          ?     1632           
  Partials        ?        0           
Flag Coverage Δ
fast 83.30% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@manuelgloeckler
Copy link
Contributor

Dear @mhusnain-tech ,

this comes closer, but there are still 12 errors left (which could however be just valid insufficient typing on our side, at least for some).

I would prefer to keep the pyproject.toml as is (i.e. remove the introduced changes). Except for the "disabled" pyright options. Although for this one would have to further investigate the current pyright errors that are reported:

  • fix wrong/insufficient typing on our end
  • identify issues that are external. If this is a "one-time" problem, "type:ignore" it, otherwise we have to disable this check again.

Kind regards,
Manuel

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