Commit d4ec271
Fix add_thread_tag signature for pyroscope-io 1.x and lock dependency (#31)
pyroscope-io 1.0.x dropped the thread_id parameter from add_thread_tag
and remove_thread_tag, changing the signature from (thread_id, key, value)
to (key, value). Update all call sites accordingly and remove the now-unused
threading import.
Also constrain the pyroscope-io dependency to >=1.0.0, <2.0.0 to prevent
accidental installation of the incompatible 0.x series and to guard against
future breaking changes in 2.x.
Fixes #30
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1b3b46b commit d4ec271
2 files changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
0 commit comments