Skip to content

pyzfs: update license tags/classifiers#18356

Merged
behlendorf merged 1 commit intoopenzfs:masterfrom
robn:pyzfs-spdx-tag
Mar 23, 2026
Merged

pyzfs: update license tags/classifiers#18356
behlendorf merged 1 commit intoopenzfs:masterfrom
robn:pyzfs-spdx-tag

Conversation

@robn
Copy link
Member

@robn robn commented Mar 20, 2026

[Sponsors: TrueNAS]

Motivation and Context

I got annoyed at this noise in the build:

/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()

Description

The standard for package license metadata[1] is a SPDX identifier in the the license and that's all. So, updating that, remove the deprecated license classifier, and adding a tag at the top of the file for spdxcheck to find.

  1. https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license

How Has This Been Tested?

Built, observed noise, changed it, built again, observed (relative) silence.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

The standard for package license metadata[1] is a SPDX identifier in the
the `license` and that's all. So, updating that, remove the deprecated
license classifier, and adding a tag at the top of the file for
spdxcheck to find.

1. https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license

Sponsored-by: TrueNAS
Signed-off-by: Rob Norris <rob.norris@truenas.com>
@amotin amotin added the Status: Accepted Ready to integrate (reviewed, tested) label Mar 23, 2026
@behlendorf behlendorf merged commit ef47c3a into openzfs:master Mar 23, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Accepted Ready to integrate (reviewed, tested)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants