Skip to content

Fix build configuration#299

Merged
masklinn merged 3 commits intoua-parser:masterfrom
masklinn:build-cleanup
Mar 29, 2026
Merged

Fix build configuration#299
masklinn merged 3 commits intoua-parser:masterfrom
masklinn:build-cleanup

Conversation

@masklinn
Copy link
Copy Markdown
Contributor

Fixes #292

License classifiers are deprecated thanks to the existence of
`project.license`.

Fixes ua-parser#292
- Per PEP 639 the `project.license.text` format is legacy and
  deprecated.
- Fix the value to be the correct SPDX (short) identifier for Apache
  2.

Fixes ua-parser#292
It's not configured, it's not being used anywhere, it generates build
warnings...

Fixes ua-parser#292
@masklinn masklinn enabled auto-merge (rebase) March 29, 2026 09:50
@masklinn
Copy link
Copy Markdown
Contributor Author

Might make sense to add a CI job doing a -mbuild just to check for warnings, though it's not clear that there's a "checker" mode. When using setuptools I assume -Werror might be an option to convert the deprecation warnings but...

@masklinn masklinn merged commit 891837c into ua-parser:master Mar 29, 2026
36 checks passed
@masklinn masklinn deleted the build-cleanup branch March 29, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyproject.toml / -mbuild warnings

1 participant