Skip to content

Update PyPI workflow #289

Closed
Closed
@kafitzgerald

Description

@kafitzgerald

Our PyPI workflow could use some updates.

A note from PyPI quoted below prompted me to look into this.

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 'geocat.viz-2025.3.0.tar.gz' is incompatible with PEP 625 because the filename does not contain the normalized project name 'geocat_viz'.

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.

It looks like we also still invoke setup.py directly which has been deprecated for a bit now. This was updated on geocat-comp here: NCAR/geocat-comp#582

Making these updates might also address the issue noted from PyPI, but I don't know for sure. It doesn't appear to be a problem on comp...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @kafitzgerald

    Issue actions

      Update PyPI workflow · Issue #289 · NCAR/geocat-viz