Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.cfg -> pyproject.toml #2860

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MetRonnie
Copy link
Contributor

@MetRonnie MetRonnie commented Feb 25, 2025

This email is notifying you of an upcoming deprecation that we have determined may affect you as a result of your recent upload to 'metomi-rose'.

In the future, PyPI will require all newly uploaded source distribution filenames to comply with PEP 625. Any source distributions already uploaded will remain in place as-is and do not need to be updated.

Specifically, your recent upload of 'metomi-rose-2.4.1.tar.gz' is incompatible with PEP 625 because it does not contain the normalized project name 'metomi_rose'.

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. You do not need to remove the file.

If you have questions, you can email admin@pypi.org to communicate with the PyPI admin@pypi.org to communicate with the PyPI administrators.

@MetRonnie MetRonnie added this to the 2.5.0 milestone Feb 25, 2025
Comment on lines 30 to +32
uses: actions/setup-python@v5
with:
# return to 3.x once cylc-flow is compatible with 3.10+ (pyuv)
python-version: '3.9'
python-version: '3.x'
Copy link
Contributor Author

@MetRonnie MetRonnie Feb 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we needed to specify the setuptools version in pyproject.toml[build-system] in order to fix the PEP 625 incompatibility, but it turns out it was just that we needed to use a newer Python version for the build (the minimum version of setuptools that is compatible with PEP 625 is not available on Python 3.9)

Seeing as I'd done the legwork (with the help of Copilot), I've kept the pyproject.toml conversion.

]
readme = "README.md"
license = { text = "GPL" }
keywords = ["hpc", "weather-modelling", "weather-model", "meteorological-suites", "meteorological-modelling", "meteorological-models"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only semi relevent, but we should consider adding "workflows" and "workflow automation" to this list.

@MetRonnie
Copy link
Contributor Author

(3.x test failure fixed by #2861)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants