1
0
mirror of https://github.com/badges/shields.git synced 2025-04-17 08:37:04 +03:00
Jeremy Lainé 015ea0023e
[PyPI] Fix license for packages following PEP 639 (#11001)
* [PyPI] Fix license for packages following PEP 639

PEP 639 states that the preferred way of documenting a Python project's
license is an SPDX expression in a `License-Expression` metadata field.
PyPI exposes this information in `info.license_expression` in its JSON
data.

Fixes: #11000

* add license_expression to pypi response schema

* move comments inline into the relevant blocks

* assign both license and license_expression to intermediate variables

* always pass a license_expression in test input objects

---------

Co-authored-by: chris48s <git@chris-shaw.dev>
2025-04-06 18:31:44 +00:00
..
2024-07-22 17:54:34 +00:00
2024-03-23 19:54:57 +00:00
2024-03-23 19:54:57 +00:00
2025-03-02 11:16:02 +00:00
2024-01-16 20:16:04 +00:00
2024-03-18 13:53:59 +00:00
2024-12-31 13:54:25 +00:00
2024-12-31 13:54:25 +00:00
2024-08-25 20:30:53 +01:00
2024-12-23 09:47:17 +00:00
2023-12-20 16:28:41 +00:00
2024-03-23 19:54:57 +00:00
2024-12-31 13:54:25 +00:00
2023-07-03 16:59:04 +00:00
2024-02-14 18:53:08 +00:00
2024-07-13 14:04:22 +01:00
2024-11-04 19:05:32 +00:00
2021-11-03 18:49:10 +00:00
2021-07-09 12:53:55 +01:00
2021-07-09 12:53:55 +01:00