Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PEP 639, Metadata 2.4 #16949

Merged
merged 23 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2620974
run from my fork of packaging temporarily
ewdurbin Oct 22, 2024
d68ac53
add License-File and License-Expression fields to Release
ewdurbin Sep 6, 2024
40b2309
store license-expression and license-files when included
ewdurbin Oct 22, 2024
c890d8d
enforce that license-files exist in distributions
ewdurbin Oct 22, 2024
3259eb8
enforce License/License-Expression mutual exclusion
ewdurbin Oct 22, 2024
94f0d4b
clarify Release.license_files contents in comment
ewdurbin Oct 23, 2024
15daa6e
refactor license-file check for tar.gz sdists
ewdurbin Oct 23, 2024
e555ab1
harmonize with the definition of "root license directory"/"license di…
ewdurbin Oct 23, 2024
b9a10ea
fix comment
ewdurbin Oct 23, 2024
26db8df
Merge branch 'main' into pep_639
ewdurbin Oct 24, 2024
0457f44
sync License-File(s) and License-Expression metadata to Big Query
ewdurbin Oct 24, 2024
326bb61
add license_files and license_expression to JSON API
ewdurbin Oct 24, 2024
101ce02
display License-Expression in project details if provided
ewdurbin Oct 24, 2024
a00fdef
move to first commit of pypa/packaging including spdx bits!
ewdurbin Oct 24, 2024
12379e5
Merge branch 'main' into pep_639
ewdurbin Oct 25, 2024
0709950
update to latest pypa/packaging commit
ewdurbin Nov 7, 2024
19f15cf
Merge branch 'main' into pep_639
ewdurbin Nov 7, 2024
2fadec1
Merge branch 'main' into pep_639
ewdurbin Nov 7, 2024
12e16a5
Merge branch 'main' into pep_639
ewdurbin Nov 8, 2024
a968dd5
Merge branch 'main' into pep_639
ewdurbin Nov 13, 2024
a8dd469
zip file license-files check: add note to remove when 625 is implemented
ewdurbin Nov 13, 2024
74b7b8c
add 2 minute lock and statement timeouts to migrations
ewdurbin Nov 13, 2024
8c2859a
remove redundant metadata version gate for license-files check
ewdurbin Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements/deploy.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
gunicorn==23.0.0
ddtrace==2.14.2
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
9 changes: 5 additions & 4 deletions requirements/deploy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ opentelemetry-api==1.27.0 \
--hash=sha256:953d5871815e7c30c81b56d910c707588000fff7a3ca1c73e6531911d53065e7 \
--hash=sha256:ed673583eaa5f81b5ce5e86ef7cdaf622f88ef65f0b9aab40b843dcae5bef342
# via ddtrace
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
# via gunicorn
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/deploy.in
# gunicorn
protobuf==5.28.2 \
--hash=sha256:2c69461a7fcc8e24be697624c09a839976d82ae75062b11a0972e41fd2cd9132 \
--hash=sha256:35cfcb15f213449af7ff6198d6eb5f739c37d7e4f1c09b5d0641babf2cc0c68f \
Expand Down
1 change: 1 addition & 0 deletions requirements/docs-blog.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ mkdocs-material
mkdocs-rss-plugin
pillow
cairosvg
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
9 changes: 5 additions & 4 deletions requirements/docs-blog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,11 @@ msgpack==1.1.0 \
--hash=sha256:f80bc7d47f76089633763f952e67f8214cb7b3ee6bfa489b3cb6a84cfac114cd \
--hash=sha256:fd2906780f25c8ed5d7b323379f6138524ba793428db5d0e9d226d3fa6aa1788
# via cachecontrol
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
# via mkdocs
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/docs-blog.in
# mkdocs
paginate==0.5.7 \
--hash=sha256:22bd083ab41e1a8b4f3690544afb2c60c25e5c9a63a30fa2f483f6c60c8e5945 \
--hash=sha256:b885e2af73abcf01d9559fd5216b57ef722f8c42affbb63942377668e35c7591
Expand Down
1 change: 1 addition & 0 deletions requirements/docs-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ sphinx-copybutton
sphinxcontrib-httpdomain
sphinxcontrib-mermaid
myst-parser
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
9 changes: 5 additions & 4 deletions requirements/docs-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,11 @@ myst-parser==4.0.0 \
--hash=sha256:851c9dfb44e36e56d15d05e72f02b80da21a9e0d07cba96baf5e2d476bb91531 \
--hash=sha256:b9317997552424448c6096c2558872fdb6f81d3ecb3a40ce84a7518798f3f28d
# via -r requirements/docs-dev.in
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
# via sphinx
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/docs-dev.in
# sphinx
pygments==2.18.0 \
--hash=sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199 \
--hash=sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a
Expand Down
1 change: 1 addition & 0 deletions requirements/docs-user.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mkdocs
mkdocs-material
mkdocs-macros-plugin
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
6 changes: 3 additions & 3 deletions requirements/docs-user.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ mkdocs-material-extensions==1.3.1 \
--hash=sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443 \
--hash=sha256:adff8b62700b25cb77b53358dad940f3ef973dd6db797907c49e3c2ef3ab4e31
# via mkdocs-material
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/docs-user.in
# mkdocs
# mkdocs-macros-plugin
paginate==0.5.7 \
Expand Down
1 change: 1 addition & 0 deletions requirements/lint.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ types-stripe
types-WTForms
types-WebOb
types-zxcvbn
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
9 changes: 5 additions & 4 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,11 @@ mypy-zope==1.0.7 \
--hash=sha256:32a79ce78647c0bea61e7e0c0eb1233fcb97bb94e8950cca73f17d3419c602f7 \
--hash=sha256:f19de249574319d81083b15f8a022c6b15583582f23340a860922141f1b651ca
# via -r requirements/lint.in
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
# via black
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/lint.in
# black
parsy==1.1.0 \
--hash=sha256:25bd5cea2954950ebbfdf71f8bdaf7fd45a5df5325fd36a1064be2204d9d4c94 \
--hash=sha256:36173ba01a5372c7a1b32352cc73a279a49198f52252adf1c8c1ed41d1f94e8d
Expand Down
2 changes: 1 addition & 1 deletion requirements/main.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ msgpack
natsort
opensearch-py
orjson
packaging>=23.2
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
packaging_legacy
paginate>=0.5.2
paginate_sqlalchemy
Expand Down
5 changes: 2 additions & 3 deletions requirements/main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1491,9 +1491,8 @@ orjson==3.10.7 \
--hash=sha256:f4db56635b58cd1a200b0a23744ff44206ee6aa428185e2b6c4a65b3197abdcd \
--hash=sha256:fdf5197a21dd660cf19dfd2a3ce79574588f8f5e2dbf21bda9ee2d2b46924d84
# via -r requirements/main.in
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/main.in
# forcediphttpsadapter
Expand Down
1 change: 1 addition & 0 deletions requirements/tests.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ pytest-xdist
pytz
responses>=0.5.1
webtest
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip
6 changes: 3 additions & 3 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@ mirakuru==2.5.3 \
--hash=sha256:2fab68356fb98fb5358ea3ab65f5e511f34b5a0b16cfd0a0935ef15a3393f025 \
--hash=sha256:39b33f8fcdf13764a6cfe936e0feeead3902a161fec438df3be7cce98f7933c6
# via pytest-postgresql
packaging==24.1 \
--hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \
--hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124
packaging @ https://github.com/ewdurbin/packaging/archive/23df2ac6294e4df83cf05d791d97635f4b3ba067.zip \
--hash=sha256:82d7e56c655c4244a5cf039885e00e243d1864815960efb4922c694e07beb4a3
# via
# -r requirements/tests.in
# pytest
# pytest-sugar
pluggy==1.5.0 \
Expand Down
Loading