forked from pypi/warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement PEP 639, Metadata 2.4 (pypi#16949)
* run from my fork of packaging temporarily * add License-File and License-Expression fields to Release * store license-expression and license-files when included * enforce that license-files exist in distributions * enforce License/License-Expression mutual exclusion * clarify Release.license_files contents in comment * refactor license-file check for tar.gz sdists * harmonize with the definition of "root license directory"/"license directory" from PEP 639 > The directory under which license files are stored in a project source tree, distribution archive or installed project. Also, the root directory that their paths recorded in the License-File Core Metadata field are relative to. Defined to be the project root directory for a project source tree or source distribution; and a subdirectory named licenses of the directory containing the built metadata— i.e., the .dist-info/licenses directory— for a Built Distribution or installed project. * fix comment * sync License-File(s) and License-Expression metadata to Big Query * add license_files and license_expression to JSON API * display License-Expression in project details if provided * move to first commit of pypa/packaging including spdx bits! * update to latest pypa/packaging commit * zip file license-files check: add note to remove when 625 is implemented * add 2 minute lock and statement timeouts to migrations * remove redundant metadata version gate for license-files check
- Loading branch information
Showing
11 changed files
with
550 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.