Project

General

Profile

Actions

Bug #22691

closed

Fix python source package naming

Added by Peter Amstutz about 1 year ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
-
Release relationship:
Auto

Description

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

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 'arvados-cwl-runner-3.1.0.tar.gz' is incompatible with PEP 625 because the filename does not contain the normalized project name 'arvados_cwl_runner'.

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 to communicate with the PyPI to communicate with the PyPI administrators.

Same for arvados-python-client, arvados-user-activity, and arvados-cluster-activity.


Subtasks 1 (0 open1 closed)

Task #22794: ReviewClosedLucas Di Pentima08/06/2025Actions

Related issues 1 (0 open1 closed)

Has duplicate Arvados - Bug #22786: Python packages distributed via PyPI not PEP 625 compliantDuplicateActions
Actions #1

Updated by Peter Amstutz about 1 year ago

  • Position changed from -943470 to -943469
Actions #2

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz about 1 year ago

  • Description updated (diff)
Actions #4

Updated by Brett Smith about 1 year ago

setuptools introduced a change in v69.3.0 and a bugfix in v70.2.0. We could come into compliance by making sure our build tools install at least that version in their virtualenv before they do the build.

However, upgrading might require some adaptation to our build tooling too. In particular, anything that assumes the source package for $PACKAGE_NAME gets built at ${PACKAGE_NAME}*.tar.gz is going to break with this change, and will need to have similar name transformation added.

Actions #5

Updated by Peter Amstutz 12 months ago

  • Target version changed from Development 2025-04-16 to Development 2025-04-30
Actions #6

Updated by Brett Smith 11 months ago

  • Has duplicate Bug #22786: Python packages distributed via PyPI not PEP 625 compliant added
Actions #7

Updated by Peter Amstutz 11 months ago

  • Assigned To set to Brett Smith
Actions #8

Updated by Peter Amstutz 11 months ago

  • Subtask #22794 added
Actions #9

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2025-04-30 to Development 2025-05-14
Actions #10

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2025-05-14 to Development 2025-05-28
Actions #11

Updated by Peter Amstutz 10 months ago

  • Target version changed from Development 2025-05-28 to Development 2025-06-25
Actions #12

Updated by Brett Smith 9 months ago

  • Target version deleted (Development 2025-06-25)
  • Assigned To deleted (Brett Smith)
Actions #13

Updated by Brett Smith 9 months ago

  • Release set to 79
Actions #14

Updated by Brett Smith 8 months ago

Brett Smith wrote in #note-4:

setuptools introduced a change in v69.3.0 and a bugfix in v70.2.0. We could come into compliance by making sure our build tools install at least that version in their virtualenv before they do the build.

This was done a while ago in #21389, 167f35842e54f61503d07b259435f6b6ccc0fe51.

However, upgrading might require some adaptation to our build tooling too. In particular, anything that assumes the source package for $PACKAGE_NAME gets built at ${PACKAGE_NAME}*.tar.gz is going to break with this change, and will need to have similar name transformation added.

I don't currently see anything to do. None of our CI scripts depend on this. We've gotten rid of a lot of our old sdist builds because they were part of a larger install process and now we just say pip install. It's possible there's something lurking in a Jenkins script, I'll check the obvious candidates, but it's possible we've gotten this for free as part of our general modernization efforts.

Actions #15

Updated by Brett Smith 8 months ago

  • Target version set to Development 2025-08-06
  • Assigned To set to Brett Smith
  • Status changed from New to Resolved

Brett Smith wrote in #note-14:

It's possible there's something lurking in a Jenkins script, I'll check the obvious candidates, but it's possible we've gotten this for free as part of our general modernization efforts.

Doesn't look like it. The relevant Jenkins scripts just run source:build/run-build-packages-python-and-ruby.sh where the wheel glob was already flexible about name spelling and we just removed it anyway in 713d1452405279b8a5d9fdcaed451e4004f06d6e. So as far as I can tell this is done, hooray.

Actions

Also available in: Atom PDF