Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

build: update license identifiers in setup.cfg#281

Merged
parthea merged 1 commit intomainfrom
fix-setup-cfg
Mar 24, 2025
Merged

build: update license identifiers in setup.cfg#281
parthea merged 1 commit intomainfrom
fix-setup-cfg

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Mar 24, 2025

Fixing lint warnings as license classifiers are deprecated as per the warning in the log below:

(.venv) partheniou@partheniou-vm-3:~/git/python-crc32c$ python setup.py check --restructuredtext --strict
#### using global install of 'crc32c'
##### sources: ['src/google_crc32c/_crc32c.c']
##### module kwargs: {}
/usr/local/google/home/partheniou/git/python-crc32c/.venv/lib/python3.12/site-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()
running check
warning: check: Bullet list ends without a blank line; unexpected unindent. (line 27)

Compiling the C Extension for the crc32c library failed. Falling back to pure Python build.
/usr/local/google/home/partheniou/git/python-crc32c/.venv/lib/python3.12/site-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()
running check
warning: check: Bullet list ends without a blank line; unexpected unindent. (line 27)

error: Please correct your package.

The change in README.md fixes this warning warning: check: Bullet list ends without a blank line; unexpected unindent. (line 27)

@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Mar 24, 2025
@parthea parthea marked this pull request as ready for review March 24, 2025 22:05
@parthea parthea requested a review from a team March 24, 2025 22:05
@parthea parthea enabled auto-merge (squash) March 24, 2025 22:17
@parthea parthea merged commit e8dfb62 into main Mar 24, 2025
9 checks passed
@parthea parthea deleted the fix-setup-cfg branch March 24, 2025 22:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants