- Fix memory leak when lambda/local functions are used as argument for
`~.psycopg.types.json.set_json_dumps()`, `~.psycopg.types.json.set_json_loads()`
(:ticket:`#1108`).
+- Fix `psycopg_binary.__version__`.
Current release
shutil.move(str(target / "psycopg_c"), str(target / "psycopg_binary"))
shutil.move(str(target / "README-binary.rst"), str(target / "README.rst"))
sed_i("psycopg-c", "psycopg-binary", target / "pyproject.toml")
+sed_i("psycopg-c", "psycopg-binary", target / "psycopg_binary/version.py")
sed_i(r'"psycopg_c([\./][^"]+)?"', r'"psycopg_binary\1"', target / "pyproject.toml")
sed_i(r"__impl__\s*=.*", '__impl__ = "binary"', target / "psycopg_binary/pq.pyx")
for dirpath, dirnames, filenames in os.walk(target):