EnterpriseDB / barman

Barman - Backup and Recovery Manager for PostgreSQL
https://www.pgbarman.org/
GNU General Public License v3.0
2.06k stars 191 forks source link

python 3.10 and snappy compression throw error #872

Closed firetee13 closed 10 months ago

firetee13 commented 10 months ago

Hi , upgraded python to 3.10 and I am using snappy compression. This is the error that I get when I try to make a backup with barman cloud

PY_SSIZE_T_CLEAN macro must be defined for '#' formats

mikewallace1979 commented 10 months ago

Which version of the python-snappy library do you have?

This particular issue looks like it was fixed in python-snappy 0.6.0: https://github.com/andrix/python-snappy/issues/97

firetee13 commented 10 months ago

thanks , this fixed it.