Usually your individual bankruptcy will not affect your new spouse. If you are filing for a Chapter 7, is can be helpful to wait until after you receive your discharge to get married just in case.
Your bankruptcy will only impact your spouse if you share joint debt. If you have any joint debts where your spouse is a cosigner s/he will need to keep up with payments. It could also impact any new loan for joint debt, if your lower credit score leads to a higher interest rate. If you’re about to get married, check out our article on how bankruptcy works when it comes to getting married for more information.