Skip to content

feat: deprecate Function (Value) in hugr-py too#2882

Merged
acl-cqc merged 4 commits intomainfrom
acl/deprecate_func_py
Feb 25, 2026
Merged

feat: deprecate Function (Value) in hugr-py too#2882
acl-cqc merged 4 commits intomainfrom
acl/deprecate_func_py

Conversation

@acl-cqc
Copy link
Copy Markdown
Contributor

@acl-cqc acl-cqc commented Feb 18, 2026

Rust equivalent deprecated in #2770 but that PR missed doing anything to the python.

There are uses of the deprecated classes in python but I don't see any build errors so I wonder how much this @deprecated achieves...

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.81%. Comparing base (93d2377) to head (0fc3e75).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2882   +/-   ##
=======================================
  Coverage   83.80%   83.81%           
=======================================
  Files         267      267           
  Lines       53606    53610    +4     
  Branches    47732    47732           
=======================================
+ Hits        44927    44931    +4     
  Misses       6272     6272           
  Partials     2407     2407           
Flag Coverage Δ
python 88.48% <100.00%> (+<0.01%) ⬆️

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

☔ 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.

@acl-cqc acl-cqc marked this pull request as ready for review February 20, 2026 09:11
@acl-cqc acl-cqc requested a review from a team as a code owner February 20, 2026 09:11
@acl-cqc acl-cqc requested a review from doug-q February 20, 2026 09:11
Copy link
Copy Markdown
Collaborator

@doug-q doug-q left a comment

Choose a reason for hiding this comment

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

looks good

@acl-cqc acl-cqc added this pull request to the merge queue Feb 25, 2026
Merged via the queue into main with commit 043fec2 Feb 25, 2026
30 checks passed
@acl-cqc acl-cqc deleted the acl/deprecate_func_py branch February 25, 2026 11:39
github-merge-queue bot pushed a commit that referenced this pull request Mar 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.15.5](hugr-py-v0.15.4...hugr-py-v0.15.5)
(2026-03-16)


### Features

* Define pass application scopes
([#2772](#2772))
([847b864](847b864))
* deprecate Function (Value) in hugr-py too
([#2882](#2882))
([043fec2](043fec2))
* Improve rendering of tags and cases
([#2943](#2943))
([6ba9e45](6ba9e45))


### Bug Fixes

* **py:** Load and resolve lower_funcs in extensions
([#2924](#2924))
([6dfc8e3](6dfc8e3))


### Documentation

* Add specification to sphinx docs
([#2907](#2907))
([46ea04b](46ea04b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Agustín Borgna <[email protected]>
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