Commit 4e7e207
Fix OSS build failures
Summary:
Changes for OSS thrift-python compatibility:
`sink.pyx`: Cython requires `noexcept` on callback functions. Adds it to `sink_final_resp_callback`.
`adapter.py`: GitHub CI runs in UTC while `DatetimeAdapter.from_thrift` uses local timezone. Changes test assertion to use `datetime.fromtimestamp()` for timezone-agnostic comparison.
Reviewed By: prakashgayasen
Differential Revision: D90645108
fbshipit-source-id: cdf2595d20c1019d5b4efd1d388331e9dc7bdb291 parent 35d7c22 commit 4e7e207
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments