HARRISBURG, Pa. – The main appropriations bill in a $32.7 billion spending package for Pennsylvania’s approaching fiscal year headed to Gov. Tom Wolf’s desk on Friday, more than a week early and without the partisan acrimony that marked the last three years.

Wolf was expected to sign it later Friday, barely three days after House officials made public the first details of a product negotiated behind closed doors between the Democratic governor and Republican majority leaders.

The Senate voted 47-2 on Friday. The bill won overwhelming House support on Wednesday.

The broad support for the package, and the lack of any public fight, came after three years of topsy-turvy budgets hashed out by Wolf and the Legislature’s big Republican majorities.

It will be the first full spending bill signed by Wolf, who is running for a second term in the November general election.

Easing the process are projections for two straight years of solid revenue gains, perhaps the strongest two-year period of growth since before the recession a decade ago, and a couple big pots of money that fell into the state’s lap.

It also helped that Wolf floated the modest budget proposal of his first term, and June’s budget talks seemed free of negotiators drawing contentious lines in the sand.

The budget bill passed amid a flurry of activity in lawmakers’ bid to wrap up hundreds of pages of budget-related legislation and a number of other pending bills, from bolstering school safety to helping electric utilities recoup costs faster. Looming over it was a desire by lawmakers to leave the Capitol and return to the campaign trail ahead of November’s election.

Senate Appropriations Committee Chairman Patrick Browne, R-Lehigh, suggested that the state has turned a fiscal corner after a decade of trying to fix persistent post-recession deficits with belt-tightening and short-lived Band-Aids, rather than broad tax increases.

“Today marks a very hard-fought for and welcome change from the experience of the last decade, and a platform to look to the future with the opportunity that fiscal strength and stability will bring,” Browne said in his floor speech.

The new fiscal year begins July 1.

The package boosts spending through the state’s main operating account by $700 million, or 2 percent, largely for schools, social services, pensions and prisons.

Still, House officials say the package relies on roughly $1 billion in one-time cash to cover bills. Most of that is being spent on Medicaid costs off-budget, a maneuver that critics say masks the true spending increase and the true cost of state government.

It also likely ensures that budget makers will have to find a new source of cash in a year to replace it and cover rising costs for things like health care, prisons and pensions.

At the same time, the state will face rising borrowing costs after issuing bonds for long-delayed school construction projects and borrowing heavily to backfill last year’s $2.2 billion deficit.

The state spending package is notable for a new $60 million off-budget school-safety grant program, spurred by the February shooting at a Parkland, Florida, high school that killed 17 people.

Under the bill, school districts could apply for a grant for a wide range of purposes, including safety and security assessments, security-related technology, training, counselors, police officers and anti-violence programs.

Meanwhile, Wolf won $40 million more, most of what he had sought, to expand high-demand computer and industrial skills training in high schools and colleges.

Republicans rejected Wolf’s overtures for a fourth straight year for a severance tax on Marcellus Shale natural gas drilling and Wolf’s request for municipalities to start paying a fee to cover a portion of the state police coverage they receive.