KohlbacherLab / epytope

Python-based framework for computational immunomics
http://fred-2.github.io/
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Update pypi-publish.yml #99

Closed jonasscheid closed 10 months ago

jonasscheid commented 10 months ago

Warning after release:

Publish tagged release on PyPI Input 'password' 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 migrading your setup to use secretless publishing: https://github.com/marketplace/actions/pypi-publish#trusted-publishing

Adjusted according to https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

christopher-mohr commented 10 months ago

Did you find anything on the error message?

ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
Start filename for 'epytope' with 'epytope'.

jonasscheid commented 10 months ago

I think it is releated to inserting the timestamp in the filename of the tarball --> https://peps.python.org/pep-0625/#specification Convention is {distribution}-{version}.tar.gz.

jonasscheid commented 10 months ago

I'll force push from dev to main later if you are fine with this and approved this one

christopher-mohr commented 10 months ago

I'll force push from dev to main later if you are fine with this and approved this one

approved, or just open a PR? Also don't forget to delete the old release