Ensure package long description is consistent & up to date

Open
#433 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
build-system

Research direction

Start with the long description fields in setup.py, then compare the duplicated text in the three other locations referenced by the issue. Read the linked commit for the immediate CF-version update and inspect how packaging metadata is currently built. Done means the proposed pyproject.toml approach removes duplication while keeping the PyPI long description consistent with the other copies.

Written by the indexing model from the issue text.

Description

documentation

The cfdm PyPI page presently references support for the CF version 1.11, which is a few years old, because the content there is pulled from the packaging 'long_description', which hasn't been updated regularly or kept consistent with equivalent text in three other places (see NCAS-CMS/cf-python#106 for a Issue from a while back I raised about the duplication, applying equally to the cfdm codebase.

I've put an immediate fix commit to update that to v1.13 in the codebase (see https://github.com/NCAS-CMS/cfdm/commit/fdfb2ed5e29daed44971fbe959a4f8c99378b227) but that won't reflect in the PyPI page until next release and we should ideally find a way to keep this up to date via also reducing the duplication of that same content, so it doesn't get out of date again.

The simplest way to sort this is to update to a pyproject.toml and pull in text from one location to relevant fields there.

Dominant language
Python
Stars
32
Forks
14
Avg merge
3d 20h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NCAS-CMS/cfdm

All issues in NCAS-CMS/cfdm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.