Get your taxes done using TurboTax

see a pro because you probably are not adhering to the Code unless there were no profits for 2023.  the code requires allocation of profit or loss on based on weighted average % owned for whole year or if all the partners consent then a specific cut-off where income/loss is allocated based on weighted average ownership but only on the profit/loss through the date of buyout. 

also, if the partners bought the partners out rather than the partners contributing money to the partnership and the partnership redeeming their others interests then a section 754 election may be available but we lack information.