deltachat / deltachat-core-rust

Delta Chat Rust Core library, used by Android/iOS/desktop apps, bindings and bots 📧
https://delta.chat/en/contribute
Other
678 stars 86 forks source link

Make deltachat-rpc-server Python package PEP 625 compatible #6244

Open link2xt opened 1 day ago

link2xt commented 1 day ago

Got this email:

This email is notifying you of an upcoming deprecation that we have determined may affect you as a result of your recent upload to 'deltachat-rpc-server'. In the future, PyPI will require all newly uploaded source distribution filenames to comply with [PEP 625](https://peps.python.org/pep-0625/). Any source distributions already uploaded will remain in place as-is and do not need to be updated. Specifically, your recent upload of 'deltachat-rpc-server-1.150.0.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'deltachat_rpc_server'. In most cases, this can be resolved by upgrading the version of your build tooling to a later version that supports PEP 625 and produces compliant filenames. If you have questions, you can email admin@pypi.org to communicate with the PyPI admin@pypi.org to communicate with the PyPI administrators.
link2xt commented 1 day ago

Seems the problem is that filename should have underscores instead of - like it is for deltachat-rpc-client: https://pypi.org/project/deltachat-rpc-client/#files

adbenitez commented 21 hours ago

yes basically change:

[project]
name = "deltachat-rpc-client"

to:

[project]
name = "deltachat_rpc_client"

if I understood the email correctly

link2xt commented 21 hours ago

No, it's about source package filenames, not the internal metadata.