zestsoftware / zest.releaser

Python software releasing made easy and repeatable
https://zestreleaser.readthedocs.io
GNU General Public License v2.0
198 stars 62 forks source link

`build` has changed the ProjectBuilder API in 1.0.0 #433

Closed wosc closed 9 months ago

wosc commented 10 months ago
File "/srv/jenkins/.local/share/virtualenvs/bin-RMo-sxFa/lib/python3.11/site-packages/zest/releaser/release.py", line 150, in _upload_distributions
    builder = ProjectBuilder(srcdir=".", runner=_project_builder_runner)
TypeError: ProjectBuilder.__init__() got an unexpected keyword argument 'srcdir'

AFACT this happend in build 1.0.0, or more precisely in this PR

Pinning build < 1.0.0 can be done as a workaround for now, but I guess zest.releaser will need to update its usage.

matthewhegarty commented 9 months ago

I had to add this to my requirements file: zest.releaser < 9.0.0

reinout commented 9 months ago

I've released 9.1.0 with the fix.