twisted / pydoctor

This is pydoctor, an API documentation generator that works by static analysis.
https://pydoctor.readthedocs.io/
Other
179 stars 47 forks source link

Release automation is broken #794

Closed tristanlatr closed 1 month ago

tristanlatr commented 1 month ago

The error is

 ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         User 'twistedchecker-robot' does not have a verified primary email     
         address. Please add a verified primary email before attempting to      
         upload to PyPI. See https://pypi.org/help/#verified-email for more     
         information.   

@adiroiban @glyph

Other warnings are:

Warning: Input 'user' has been deprecated with message: UNSUPPORTED GITHUB ACTION VERSION

You are using `pypa/gh-action-pypi-publish@master`. The `master` branch of this project has been sunset and will not receive any updates, not even security bug fixes. Please, make sure to use a supported version. If you want to pin to v1 major version, use `pypa/gh-action-pypi-publish@release/v1`. If you feel adventurous, you may opt to use use `pypa/gh-action-pypi-publish@unstable/v1` instead. A more general recommendation is to pin to exact tags or commit SHAs.

Please also consider migrating your setup to use secretless publishing: https://github.com/marketplace/actions/pypi-publish#trusted-publishing

https://stand-with-ukraine.pp.ua/

Warning: Input 'password' has been deprecated with message: UNSUPPORTED GITHUB ACTION VERSION
tristanlatr commented 1 month ago

The full log: https://github.com/twisted/pydoctor/actions/runs/9034665989/job/24827875518

adiroiban commented 1 month ago

Hi @tristanlatr sorry for missing this.

We can fix this.

The first step is to stop using the twistedchecker-robot user and instead use the PyPI automated publish process

I see that there is no PR for a release candidate ... I will make the changes on https://github.com/twisted/pydoctor/pull/767 so that we can test that the publishing works

adiroiban commented 1 month ago

I am happy to help with the build system.

I saw the mention, but it was not clear that you need help to fix this.

Feel free to ping me any time, but try to be explicit that help is needed and things are blocked :)

At this point, I am only working on critical / urgent tasks :(