From 4cca0ea56651a1dd0922c9567ef39ced56e3a3a5 Mon Sep 17 00:00:00 2001 From: Dominic Davis-Foster Date: Sat, 14 May 2022 13:40:35 +0100 Subject: [PATCH] Use License-Expression in METADATA and PKG-INFO, and parse tool.whey.license-key as an SPDX expression. --- doc-source/configuration.rst | 13 +++- formate.toml | 1 + requirements.txt | 1 + tests/test_build.py | 16 +++++ .../test_build_additional_files.txt | 4 +- ...test_build_additional_files_source_dir.txt | 4 +- .../test_build_complete_COMPLETE_A_.RECORD | 2 +- .../test_build_complete_COMPLETE_A_.txt | 4 +- .../test_build_complete_COMPLETE_B_.RECORD | 2 +- .../test_build_complete_COMPLETE_B_.txt | 4 +- ...d_complete_COMPLETE_B_EXPRESSION_1_.RECORD | 6 ++ ...ild_complete_COMPLETE_B_EXPRESSION_1_.toml | 50 +++++++++++++ ...uild_complete_COMPLETE_B_EXPRESSION_1_.txt | 37 ++++++++++ ...uild_complete_COMPLETE_B_EXPRESSION_1_.yml | 44 ++++++++++++ ...d_complete_COMPLETE_B_EXPRESSION_2_.RECORD | 6 ++ ...ild_complete_COMPLETE_B_EXPRESSION_2_.toml | 49 +++++++++++++ ...uild_complete_COMPLETE_B_EXPRESSION_2_.txt | 36 ++++++++++ ...uild_complete_COMPLETE_B_EXPRESSION_2_.yml | 44 ++++++++++++ ...te_COMPLETE_B_INVALID_EXPRESSION_1_.RECORD | 6 ++ ...lete_COMPLETE_B_INVALID_EXPRESSION_1_.toml | 49 +++++++++++++ ...plete_COMPLETE_B_INVALID_EXPRESSION_1_.txt | 36 ++++++++++ ...plete_COMPLETE_B_INVALID_EXPRESSION_1_.yml | 44 ++++++++++++ ...MPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.RECORD | 6 ++ ...COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.toml | 48 +++++++++++++ ..._COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.txt | 35 ++++++++++ ..._COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.yml | 44 ++++++++++++ ...t_build_complete_LONG_REQUIREMENTS_.RECORD | 2 +- ...test_build_complete_LONG_REQUIREMENTS_.txt | 4 +- ...st_build_complete_epoch_COMPLETE_A_.RECORD | 2 +- .../test_build_complete_epoch_COMPLETE_A_.txt | 4 +- ...st_build_complete_epoch_COMPLETE_B_.RECORD | 2 +- .../test_build_complete_epoch_COMPLETE_B_.txt | 4 +- ...d_complete_epoch_LONG_REQUIREMENTS_.RECORD | 2 +- ...uild_complete_epoch_LONG_REQUIREMENTS_.txt | 4 +- .../test_build_editable_0_2_COMPLETE_A_.txt | 2 +- .../test_build_editable_0_2_COMPLETE_B_.txt | 2 +- ..._build_editable_0_2_LONG_REQUIREMENTS_.txt | 2 +- .../test_build_editable_0_3_COMPLETE_A_.txt | 4 +- .../test_build_editable_0_3_COMPLETE_B_.txt | 4 +- ..._build_editable_0_3_LONG_REQUIREMENTS_.txt | 4 +- .../test_build_editable_namespace.txt | 4 +- .../test_build_markdown_readme.RECORD | 2 +- .../test_build_markdown_readme.txt | 4 +- ...ild_source_dir_complete_COMPLETE_A_.RECORD | 2 +- ..._build_source_dir_complete_COMPLETE_A_.txt | 4 +- ...ild_source_dir_complete_COMPLETE_B_.RECORD | 2 +- ..._build_source_dir_complete_COMPLETE_B_.txt | 4 +- ..._build_source_dir_different_package.RECORD | 2 +- ...est_build_source_dir_different_package.txt | 4 +- tests/test_build_/test_build_stubs_name.txt | 2 +- .../test_build_success_authors_.txt | 2 +- .../test_build_success_classifiers_.txt | 2 +- .../test_build_success_dependencies_.txt | 2 +- .../test_build_success_description_.txt | 2 +- .../test_build_success_entry_points_.txt | 2 +- .../test_build_success_keywords_.txt | 2 +- .../test_build_success_maintainers_.txt | 2 +- .../test_build_success_minimal_.txt | 2 +- ...t_build_success_optional_dependencies_.txt | 2 +- .../test_build_success_requires_python_.txt | 2 +- ...build_success_requires_python_complex_.txt | 2 +- .../test_build_success_unicode_.txt | 2 +- .../test_build_/test_build_success_urls_.txt | 2 +- ...phen_name_underscore_package_explicit_.txt | 2 +- ...phen_name_underscore_package_implicit_.txt | 2 +- ...build_underscore_name_underscore_name_.txt | 2 +- ..._build_wheel_from_sdist_COMPLETE_A_.RECORD | 2 +- ...est_build_wheel_from_sdist_COMPLETE_A_.txt | 4 +- ..._build_wheel_from_sdist_COMPLETE_B_.RECORD | 2 +- ...est_build_wheel_from_sdist_COMPLETE_B_.txt | 4 +- ...el_from_sdist_DYNAMIC_REQUIREMENTS_.RECORD | 2 +- ...wheel_from_sdist_DYNAMIC_REQUIREMENTS_.txt | 4 +- ...wheel_from_sdist_LONG_REQUIREMENTS_.RECORD | 2 +- ...ld_wheel_from_sdist_LONG_REQUIREMENTS_.txt | 4 +- ...l_from_sdist_source_dir_COMPLETE_A_.RECORD | 2 +- ...heel_from_sdist_source_dir_COMPLETE_A_.txt | 4 +- ...l_from_sdist_source_dir_COMPLETE_B_.RECORD | 2 +- ...heel_from_sdist_source_dir_COMPLETE_B_.txt | 4 +- ...st_custom_wheel_builder_COMPLETE_A_.RECORD | 2 +- .../test_custom_wheel_builder_COMPLETE_A_.txt | 4 +- ...st_custom_wheel_builder_COMPLETE_B_.RECORD | 2 +- .../test_custom_wheel_builder_COMPLETE_B_.txt | 4 +- ...om_wheel_builder_LONG_REQUIREMENTS_.RECORD | 2 +- ...ustom_wheel_builder_LONG_REQUIREMENTS_.txt | 4 +- .../test_build_additional_files.txt | 4 +- .../test_build_complete_COMPLETE_A_.txt | 4 +- .../test_build_complete_COMPLETE_B_.txt | 4 +- ...test_build_complete_LONG_REQUIREMENTS_.txt | 4 +- .../test_build_success_authors_.txt | 2 +- .../test_build_success_classifiers_.txt | 2 +- .../test_build_success_dependencies_.txt | 2 +- .../test_build_success_description_.txt | 2 +- .../test_build_success_entry_points_.txt | 2 +- .../test_build_success_keywords_.txt | 2 +- .../test_build_success_maintainers_.txt | 2 +- .../test_build_success_minimal_.txt | 2 +- ...t_build_success_optional_dependencies_.txt | 2 +- .../test_build_success_requires_python_.txt | 2 +- ...build_success_requires_python_complex_.txt | 2 +- .../test_build_success_unicode_.txt | 2 +- .../test_build_success_urls_.txt | 2 +- tox.ini | 1 + whey/__init__.py | 9 +++ whey/__main__.py | 4 ++ whey/builder.py | 70 ++++++++++++++++--- whey/config/whey.py | 17 +++-- 106 files changed, 768 insertions(+), 124 deletions(-) create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.RECORD create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.toml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.txt create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.yml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.RECORD create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.toml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.txt create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.yml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.RECORD create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.toml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.txt create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.yml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.RECORD create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.toml create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.txt create mode 100644 tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.yml diff --git a/doc-source/configuration.rst b/doc-source/configuration.rst index 32d5147..cec49fa 100644 --- a/doc-source/configuration.rst +++ b/doc-source/configuration.rst @@ -532,13 +532,24 @@ As a minimum, the table MUST contain the keys :tconf:`~project.name` and :tconf: It is recommended to use an `SPDX Identifier`_, but note that not all map to classifiers. - :bold-title:`Example:` + .. versionchanged:: $VERSION + + :tconf:`license-key` may now be an SPDX expression, e.g. ``MIT OR Apache-2.0``. + + .. latex:clearpage:: + + :bold-title:`Examples:` .. code-block:: TOML [tool.whey] license-key = "MIT" + .. code-block:: TOML + + [tool.whey] + license-key = "MIT OR Apache-2.0" + .. tconf:: tool.whey.base-classifiers :type: :toml:`Array` of :toml:`strings ` diff --git a/formate.toml b/formate.toml index f752b9e..90a2ea8 100644 --- a/formate.toml +++ b/formate.toml @@ -44,6 +44,7 @@ known_third_party = [ "first", "handy_archives", "importlib_metadata", + "license_expression", "natsort", "packaging", "pyproject_examples", diff --git a/requirements.txt b/requirements.txt index 1579d67..d16ff29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ dist-meta>=0.1.0 dom-toml>=2.0.0 domdf-python-tools>=2.8.0 handy-archives>=0.2.0 +license-expression>=30.0.0 natsort>=7.1.1 packaging>=20.9 pyproject-parser>=0.11.0 diff --git a/tests/test_build.py b/tests/test_build.py index 14cc3f1..51cd74a 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -132,6 +132,22 @@ def check_built_wheel(filename: PathPlus, advanced_file_regression: AdvancedFile # pytest.param(COMPLETE_PROJECT_A, id="COMPLETE_PROJECT_A"), pytest.param(COMPLETE_A, id="COMPLETE_A"), pytest.param(COMPLETE_B, id="COMPLETE_B"), + pytest.param( + COMPLETE_B.replace('license-key = "MIT"', 'license-key = "MIT OR Apache-2.0"'), + id="COMPLETE_B_EXPRESSION_1", + ), + pytest.param( + COMPLETE_B.replace('license-key = "MIT"', 'license-key = "GPL-3.0+"'), + id="COMPLETE_B_EXPRESSION_2", + ), + pytest.param( + COMPLETE_B.replace('license-key = "MIT"', 'license-key = "MIT OR Apahe"'), + id="COMPLETE_B_INVALID_EXPRESSION_1", + ), + pytest.param( + COMPLETE_B.replace('license-key = "MIT"', 'license-key = "(MIT OR Apache-2.0"'), + id="COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1", + ), pytest.param(LONG_REQUIREMENTS, id="LONG_REQUIREMENTS"), ] ) diff --git a/tests/test_build_/test_build_additional_files.txt b/tests/test_build_/test_build_additional_files.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_additional_files.txt +++ b/tests/test_build_/test_build_additional_files.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_additional_files_source_dir.txt b/tests/test_build_/test_build_additional_files_source_dir.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_additional_files_source_dir.txt +++ b/tests/test_build_/test_build_additional_files_source_dir.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_complete_COMPLETE_A_.RECORD b/tests/test_build_/test_build_complete_COMPLETE_A_.RECORD index 5e7c921..ef8443e 100644 --- a/tests/test_build_/test_build_complete_COMPLETE_A_.RECORD +++ b/tests/test_build_/test_build_complete_COMPLETE_A_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_COMPLETE_A_.txt b/tests/test_build_/test_build_complete_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_complete_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_complete_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_.RECORD b/tests/test_build_/test_build_complete_COMPLETE_B_.RECORD index da45ab7..04ea701 100644 --- a/tests/test_build_/test_build_complete_COMPLETE_B_.RECORD +++ b/tests/test_build_/test_build_complete_COMPLETE_B_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=8y-1C1IzjZjVaevM0cDZantWiiYQ0gC9ECV_K_G1Lak,1472 +whey-2021.0.0.dist-info/METADATA,sha256=KYQvzdrNV2KNBxzS_e91YniP9mxV1VQNv5N0VvC4Q1M,1483 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_.txt b/tests/test_build_/test_build_complete_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_complete_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_complete_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.RECORD b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.RECORD new file mode 100644 index 0000000..c47a389 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.RECORD @@ -0,0 +1,6 @@ +whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 +whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 +whey-2021.0.0.dist-info/METADATA,sha256=I0oGbdk1MlJyLJaNJG6xNFiISzS8pR43aNGBzRja9ro,1560 +whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 +whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.toml b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.toml new file mode 100644 index 0000000..68dea5b --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.toml @@ -0,0 +1,50 @@ +[build-system] +requires = [ "whey",] +build-backend = "whey" + +[project] +name = "Whey" +version = "2021.0.0" +description = "A simple Python wheel builder for simple projects." +readme = "README.rst" +keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] +dynamic = [] +dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'",] +classifiers = [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: Apache Software License", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", +] +requires-python = ">=3.6" + +[project.license] +file = "LICENSE" + +[[project.authors]] +email = "dominic@davis-foster.co.uk" +name = "Dominic Davis-Foster" + +[project.urls] +Homepage = "https://whey.readthedocs.io/en/latest" +"Home Page" = "https://whey.readthedocs.io/en/latest" +Documentation = "https://whey.readthedocs.io/en/latest" +"Issue Tracker" = "https://github.com/repo-helper/whey/issues" +"Source Code" = "https://github.com/repo-helper/whey" + +[tool.whey] +base-classifiers = [ "Development Status :: 4 - Beta",] +python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] +python-implementations = [ "CPython", "PyPy",] +platforms = [ "Windows", "macOS", "Linux",] +license-key = "MIT OR Apache-2.0" +package = "whey" diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.txt b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.txt new file mode 100644 index 0000000..01f4e92 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.txt @@ -0,0 +1,37 @@ +Metadata-Version: 2.4 +Name: whey +Version: 2021.0.0 +Summary: A simple Python wheel builder for simple projects. +Author-email: Dominic Davis-Foster +License-Expression: MIT OR Apache-2.0 +Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel +Home-page: https://whey.readthedocs.io/en/latest +Project-URL: Home Page, https://whey.readthedocs.io/en/latest +Project-URL: Documentation, https://whey.readthedocs.io/en/latest +Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues +Project-URL: Source Code, https://github.com/repo-helper/whey +Platform: Windows +Platform: macOS +Platform: Linux +Classifier: Development Status :: 4 - Beta +Classifier: License :: OSI Approved :: Apache Software License +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.6 +Requires-Dist: django>2.1; os_name != "nt" +Requires-Dist: django>2.0; os_name == "nt" +Requires-Dist: gidgethub[httpx]>4.0.0 +Requires-Dist: httpx +Description-Content-Type: text/x-rst + + +Spam Spam Spam Spam diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.yml b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.yml new file mode 100644 index 0000000..27b0816 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_1_.yml @@ -0,0 +1,44 @@ +sdist_content: +- whey-2021.0.0/LICENSE +- whey-2021.0.0/PKG-INFO +- whey-2021.0.0/README.rst +- whey-2021.0.0/pyproject.toml +- whey-2021.0.0/requirements.txt +- whey-2021.0.0/whey/__init__.py +stderr: '' +stdout: 'Copying .../whey/__init__.py -> whey/__init__.py + + Writing whey-2021.0.0.dist-info/LICENSE + + Writing whey-2021.0.0.dist-info/entry_points.txt + + Writing whey-2021.0.0.dist-info/METADATA + + Writing whey-2021.0.0.dist-info/WHEEL + + Writing whey-2021.0.0.dist-info/RECORD + + Wheel created at .../whey-2021.0.0-py3-none-any.whl + + Copying .../whey/__init__.py -> whey/__init__.py + + Writing LICENSE + + Copying .../pyproject.toml -> pyproject.toml + + Copying .../requirements.txt -> requirements.txt + + Writing README.rst + + Writing PKG-INFO + + Source distribution created at .../whey-2021.0.0.tar.gz + + ' +wheel_content: +- whey/__init__.py +- whey-2021.0.0.dist-info/LICENSE +- whey-2021.0.0.dist-info/METADATA +- whey-2021.0.0.dist-info/WHEEL +- whey-2021.0.0.dist-info/entry_points.txt +- whey-2021.0.0.dist-info/RECORD diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.RECORD b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.RECORD new file mode 100644 index 0000000..ea82549 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.RECORD @@ -0,0 +1,6 @@ +whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 +whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 +whey-2021.0.0.dist-info/METADATA,sha256=GcB2CeihrNfxnMzS_Ml2aCgxd5B8JY77O3BGVr6BwVI,1524 +whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 +whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.toml b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.toml new file mode 100644 index 0000000..be04afa --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.toml @@ -0,0 +1,49 @@ +[build-system] +requires = [ "whey",] +build-backend = "whey" + +[project] +name = "Whey" +version = "2021.0.0" +description = "A simple Python wheel builder for simple projects." +readme = "README.rst" +keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] +dynamic = [] +dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'",] +classifiers = [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", +] +requires-python = ">=3.6" + +[project.license] +file = "LICENSE" + +[[project.authors]] +email = "dominic@davis-foster.co.uk" +name = "Dominic Davis-Foster" + +[project.urls] +Homepage = "https://whey.readthedocs.io/en/latest" +"Home Page" = "https://whey.readthedocs.io/en/latest" +Documentation = "https://whey.readthedocs.io/en/latest" +"Issue Tracker" = "https://github.com/repo-helper/whey/issues" +"Source Code" = "https://github.com/repo-helper/whey" + +[tool.whey] +base-classifiers = [ "Development Status :: 4 - Beta",] +python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] +python-implementations = [ "CPython", "PyPy",] +platforms = [ "Windows", "macOS", "Linux",] +license-key = "GPL-3.0+" +package = "whey" diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.txt b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.txt new file mode 100644 index 0000000..00ce5a6 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.txt @@ -0,0 +1,36 @@ +Metadata-Version: 2.4 +Name: whey +Version: 2021.0.0 +Summary: A simple Python wheel builder for simple projects. +Author-email: Dominic Davis-Foster +License-Expression: GPL-3.0+ +Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel +Home-page: https://whey.readthedocs.io/en/latest +Project-URL: Home Page, https://whey.readthedocs.io/en/latest +Project-URL: Documentation, https://whey.readthedocs.io/en/latest +Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues +Project-URL: Source Code, https://github.com/repo-helper/whey +Platform: Windows +Platform: macOS +Platform: Linux +Classifier: Development Status :: 4 - Beta +Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.6 +Requires-Dist: django>2.1; os_name != "nt" +Requires-Dist: django>2.0; os_name == "nt" +Requires-Dist: gidgethub[httpx]>4.0.0 +Requires-Dist: httpx +Description-Content-Type: text/x-rst + + +Spam Spam Spam Spam diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.yml b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.yml new file mode 100644 index 0000000..27b0816 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_EXPRESSION_2_.yml @@ -0,0 +1,44 @@ +sdist_content: +- whey-2021.0.0/LICENSE +- whey-2021.0.0/PKG-INFO +- whey-2021.0.0/README.rst +- whey-2021.0.0/pyproject.toml +- whey-2021.0.0/requirements.txt +- whey-2021.0.0/whey/__init__.py +stderr: '' +stdout: 'Copying .../whey/__init__.py -> whey/__init__.py + + Writing whey-2021.0.0.dist-info/LICENSE + + Writing whey-2021.0.0.dist-info/entry_points.txt + + Writing whey-2021.0.0.dist-info/METADATA + + Writing whey-2021.0.0.dist-info/WHEEL + + Writing whey-2021.0.0.dist-info/RECORD + + Wheel created at .../whey-2021.0.0-py3-none-any.whl + + Copying .../whey/__init__.py -> whey/__init__.py + + Writing LICENSE + + Copying .../pyproject.toml -> pyproject.toml + + Copying .../requirements.txt -> requirements.txt + + Writing README.rst + + Writing PKG-INFO + + Source distribution created at .../whey-2021.0.0.tar.gz + + ' +wheel_content: +- whey/__init__.py +- whey-2021.0.0.dist-info/LICENSE +- whey-2021.0.0.dist-info/METADATA +- whey-2021.0.0.dist-info/WHEEL +- whey-2021.0.0.dist-info/entry_points.txt +- whey-2021.0.0.dist-info/RECORD diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.RECORD b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.RECORD new file mode 100644 index 0000000..4e367be --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.RECORD @@ -0,0 +1,6 @@ +whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 +whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 +whey-2021.0.0.dist-info/METADATA,sha256=TSS89CnvoqawIiKT-T_gvxa-QqrNdojfIqQnyUUTPq0,1481 +whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 +whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.toml b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.toml new file mode 100644 index 0000000..5049a64 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.toml @@ -0,0 +1,49 @@ +[build-system] +requires = [ "whey",] +build-backend = "whey" + +[project] +name = "Whey" +version = "2021.0.0" +description = "A simple Python wheel builder for simple projects." +readme = "README.rst" +keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] +dynamic = [] +dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'",] +classifiers = [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", +] +requires-python = ">=3.6" + +[project.license] +file = "LICENSE" + +[[project.authors]] +email = "dominic@davis-foster.co.uk" +name = "Dominic Davis-Foster" + +[project.urls] +Homepage = "https://whey.readthedocs.io/en/latest" +"Home Page" = "https://whey.readthedocs.io/en/latest" +Documentation = "https://whey.readthedocs.io/en/latest" +"Issue Tracker" = "https://github.com/repo-helper/whey/issues" +"Source Code" = "https://github.com/repo-helper/whey" + +[tool.whey] +base-classifiers = [ "Development Status :: 4 - Beta",] +python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] +python-implementations = [ "CPython", "PyPy",] +platforms = [ "Windows", "macOS", "Linux",] +license-key = "MIT OR Apahe" +package = "whey" diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.txt b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.txt new file mode 100644 index 0000000..4fc59bf --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.txt @@ -0,0 +1,36 @@ +Metadata-Version: 2.4 +Name: whey +Version: 2021.0.0 +Summary: A simple Python wheel builder for simple projects. +Author-email: Dominic Davis-Foster +License: MIT OR Apahe +Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel +Home-page: https://whey.readthedocs.io/en/latest +Project-URL: Home Page, https://whey.readthedocs.io/en/latest +Project-URL: Documentation, https://whey.readthedocs.io/en/latest +Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues +Project-URL: Source Code, https://github.com/repo-helper/whey +Platform: Windows +Platform: macOS +Platform: Linux +Classifier: Development Status :: 4 - Beta +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.6 +Requires-Dist: django>2.1; os_name != "nt" +Requires-Dist: django>2.0; os_name == "nt" +Requires-Dist: gidgethub[httpx]>4.0.0 +Requires-Dist: httpx +Description-Content-Type: text/x-rst + + +Spam Spam Spam Spam diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.yml b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.yml new file mode 100644 index 0000000..27b0816 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_INVALID_EXPRESSION_1_.yml @@ -0,0 +1,44 @@ +sdist_content: +- whey-2021.0.0/LICENSE +- whey-2021.0.0/PKG-INFO +- whey-2021.0.0/README.rst +- whey-2021.0.0/pyproject.toml +- whey-2021.0.0/requirements.txt +- whey-2021.0.0/whey/__init__.py +stderr: '' +stdout: 'Copying .../whey/__init__.py -> whey/__init__.py + + Writing whey-2021.0.0.dist-info/LICENSE + + Writing whey-2021.0.0.dist-info/entry_points.txt + + Writing whey-2021.0.0.dist-info/METADATA + + Writing whey-2021.0.0.dist-info/WHEEL + + Writing whey-2021.0.0.dist-info/RECORD + + Wheel created at .../whey-2021.0.0-py3-none-any.whl + + Copying .../whey/__init__.py -> whey/__init__.py + + Writing LICENSE + + Copying .../pyproject.toml -> pyproject.toml + + Copying .../requirements.txt -> requirements.txt + + Writing README.rst + + Writing PKG-INFO + + Source distribution created at .../whey-2021.0.0.tar.gz + + ' +wheel_content: +- whey/__init__.py +- whey-2021.0.0.dist-info/LICENSE +- whey-2021.0.0.dist-info/METADATA +- whey-2021.0.0.dist-info/WHEEL +- whey-2021.0.0.dist-info/entry_points.txt +- whey-2021.0.0.dist-info/RECORD diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.RECORD b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.RECORD new file mode 100644 index 0000000..8c0912c --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.RECORD @@ -0,0 +1,6 @@ +whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 +whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 +whey-2021.0.0.dist-info/METADATA,sha256=8piR5Qv0Eh3Pj12MPupTfcmzHzAf03qleBmpw2pQErc,1436 +whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 +whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.toml b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.toml new file mode 100644 index 0000000..a3ce70c --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.toml @@ -0,0 +1,48 @@ +[build-system] +requires = [ "whey",] +build-backend = "whey" + +[project] +name = "Whey" +version = "2021.0.0" +description = "A simple Python wheel builder for simple projects." +readme = "README.rst" +keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] +dynamic = [] +dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'",] +classifiers = [ + "Development Status :: 4 - Beta", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", +] +requires-python = ">=3.6" + +[project.license] +file = "LICENSE" + +[[project.authors]] +email = "dominic@davis-foster.co.uk" +name = "Dominic Davis-Foster" + +[project.urls] +Homepage = "https://whey.readthedocs.io/en/latest" +"Home Page" = "https://whey.readthedocs.io/en/latest" +Documentation = "https://whey.readthedocs.io/en/latest" +"Issue Tracker" = "https://github.com/repo-helper/whey/issues" +"Source Code" = "https://github.com/repo-helper/whey" + +[tool.whey] +base-classifiers = [ "Development Status :: 4 - Beta",] +python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] +python-implementations = [ "CPython", "PyPy",] +platforms = [ "Windows", "macOS", "Linux",] +license-key = "(MIT OR Apache-2.0" +package = "whey" diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.txt b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.txt new file mode 100644 index 0000000..8d2069b --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.txt @@ -0,0 +1,35 @@ +Metadata-Version: 2.4 +Name: whey +Version: 2021.0.0 +Summary: A simple Python wheel builder for simple projects. +Author-email: Dominic Davis-Foster +License: (MIT OR Apache-2.0 +Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel +Home-page: https://whey.readthedocs.io/en/latest +Project-URL: Home Page, https://whey.readthedocs.io/en/latest +Project-URL: Documentation, https://whey.readthedocs.io/en/latest +Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues +Project-URL: Source Code, https://github.com/repo-helper/whey +Platform: Windows +Platform: macOS +Platform: Linux +Classifier: Development Status :: 4 - Beta +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.6 +Requires-Dist: django>2.1; os_name != "nt" +Requires-Dist: django>2.0; os_name == "nt" +Requires-Dist: gidgethub[httpx]>4.0.0 +Requires-Dist: httpx +Description-Content-Type: text/x-rst + + +Spam Spam Spam Spam diff --git a/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.yml b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.yml new file mode 100644 index 0000000..27b0816 --- /dev/null +++ b/tests/test_build_/test_build_complete_COMPLETE_B_SYNTAX_ERROR_EXPRESSION_1_.yml @@ -0,0 +1,44 @@ +sdist_content: +- whey-2021.0.0/LICENSE +- whey-2021.0.0/PKG-INFO +- whey-2021.0.0/README.rst +- whey-2021.0.0/pyproject.toml +- whey-2021.0.0/requirements.txt +- whey-2021.0.0/whey/__init__.py +stderr: '' +stdout: 'Copying .../whey/__init__.py -> whey/__init__.py + + Writing whey-2021.0.0.dist-info/LICENSE + + Writing whey-2021.0.0.dist-info/entry_points.txt + + Writing whey-2021.0.0.dist-info/METADATA + + Writing whey-2021.0.0.dist-info/WHEEL + + Writing whey-2021.0.0.dist-info/RECORD + + Wheel created at .../whey-2021.0.0-py3-none-any.whl + + Copying .../whey/__init__.py -> whey/__init__.py + + Writing LICENSE + + Copying .../pyproject.toml -> pyproject.toml + + Copying .../requirements.txt -> requirements.txt + + Writing README.rst + + Writing PKG-INFO + + Source distribution created at .../whey-2021.0.0.tar.gz + + ' +wheel_content: +- whey/__init__.py +- whey-2021.0.0.dist-info/LICENSE +- whey-2021.0.0.dist-info/METADATA +- whey-2021.0.0.dist-info/WHEEL +- whey-2021.0.0.dist-info/entry_points.txt +- whey-2021.0.0.dist-info/RECORD diff --git a/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.RECORD b/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.RECORD index c23bc22..600101b 100644 --- a/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.RECORD +++ b/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=YeshzZfvJxrtlwAtuAfftQdJ4qFt58hP2aiOCuHhnjA,658 +whey-2021.0.0.dist-info/METADATA,sha256=jTcoxeHOWPzD6HeGvCxKC5WrHKdjcavY56DsOL0lKuc,669 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.txt b/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.txt index 17d0869..b056d48 100644 --- a/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.txt +++ b/tests/test_build_/test_build_complete_LONG_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.RECORD b/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.RECORD index 5e7c921..ef8443e 100644 --- a/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.RECORD +++ b/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.txt b/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_complete_epoch_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.RECORD b/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.RECORD index da45ab7..04ea701 100644 --- a/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.RECORD +++ b/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=8y-1C1IzjZjVaevM0cDZantWiiYQ0gC9ECV_K_G1Lak,1472 +whey-2021.0.0.dist-info/METADATA,sha256=KYQvzdrNV2KNBxzS_e91YniP9mxV1VQNv5N0VvC4Q1M,1483 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.txt b/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_complete_epoch_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.RECORD b/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.RECORD index c23bc22..600101b 100644 --- a/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.RECORD +++ b/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=YeshzZfvJxrtlwAtuAfftQdJ4qFt58hP2aiOCuHhnjA,658 +whey-2021.0.0.dist-info/METADATA,sha256=jTcoxeHOWPzD6HeGvCxKC5WrHKdjcavY56DsOL0lKuc,669 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.txt b/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.txt index 17d0869..b056d48 100644 --- a/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.txt +++ b/tests/test_build_/test_build_complete_epoch_LONG_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_build_/test_build_editable_0_2_COMPLETE_A_.txt b/tests/test_build_/test_build_editable_0_2_COMPLETE_A_.txt index d9d1d71..e1c48ab 100644 --- a/tests/test_build_/test_build_editable_0_2_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_editable_0_2_COMPLETE_A_.txt @@ -3,7 +3,7 @@ Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_editable_0_2_COMPLETE_B_.txt b/tests/test_build_/test_build_editable_0_2_COMPLETE_B_.txt index c83eff1..a1f79b8 100644 --- a/tests/test_build_/test_build_editable_0_2_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_editable_0_2_COMPLETE_B_.txt @@ -3,7 +3,7 @@ Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_editable_0_2_LONG_REQUIREMENTS_.txt b/tests/test_build_/test_build_editable_0_2_LONG_REQUIREMENTS_.txt index a1e72cd..0e2cff8 100644 --- a/tests/test_build_/test_build_editable_0_2_LONG_REQUIREMENTS_.txt +++ b/tests/test_build_/test_build_editable_0_2_LONG_REQUIREMENTS_.txt @@ -3,7 +3,7 @@ Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.txt b/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.txt index d9d1d71..e5a1ef5 100644 --- a/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_editable_0_3_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.txt b/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.txt index c83eff1..5872ea5 100644 --- a/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_editable_0_3_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.txt b/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.txt index a1e72cd..aa5081e 100644 --- a/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.txt +++ b/tests/test_build_/test_build_editable_0_3_LONG_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_build_/test_build_editable_namespace.txt b/tests/test_build_/test_build_editable_namespace.txt index f678200..00d0ada 100644 --- a/tests/test_build_/test_build_editable_namespace.txt +++ b/tests/test_build_/test_build_editable_namespace.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: default-values Version: 0.5.0 Summary: Sphinx extension to show default values in documentation. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: documentation,sphinx Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_markdown_readme.RECORD b/tests/test_build_/test_build_markdown_readme.RECORD index 162deb0..b7f8032 100644 --- a/tests/test_build_/test_build_markdown_readme.RECORD +++ b/tests/test_build_/test_build_markdown_readme.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=sWIMA-If3tkomjsTfdnlb5Hf8JTCkRTM88ISvNRrzvc,1475 +whey-2021.0.0.dist-info/METADATA,sha256=OdZ31CbvzxjZM_5Gqwak3lafXKJZdcWpc8y295hV3hM,1486 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_markdown_readme.txt b/tests/test_build_/test_build_markdown_readme.txt index 8ecf748..a22d1a4 100644 --- a/tests/test_build_/test_build_markdown_readme.txt +++ b/tests/test_build_/test_build_markdown_readme.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.RECORD b/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.RECORD index 5e7c921..ef8443e 100644 --- a/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.RECORD +++ b/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.txt b/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_source_dir_complete_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.RECORD b/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.RECORD index da45ab7..04ea701 100644 --- a/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.RECORD +++ b/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=8y-1C1IzjZjVaevM0cDZantWiiYQ0gC9ECV_K_G1Lak,1472 +whey-2021.0.0.dist-info/METADATA,sha256=KYQvzdrNV2KNBxzS_e91YniP9mxV1VQNv5N0VvC4Q1M,1483 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.txt b/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_source_dir_complete_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_source_dir_different_package.RECORD b/tests/test_build_/test_build_source_dir_different_package.RECORD index b871b86..b57a8da 100644 --- a/tests/test_build_/test_build_source_dir_different_package.RECORD +++ b/tests/test_build_/test_build_source_dir_different_package.RECORD @@ -1,6 +1,6 @@ SpamSpam/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_source_dir_different_package.txt b/tests/test_build_/test_build_source_dir_different_package.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_source_dir_different_package.txt +++ b/tests/test_build_/test_build_source_dir_different_package.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_stubs_name.txt b/tests/test_build_/test_build_stubs_name.txt index d6c921b..d9c29ab 100644 --- a/tests/test_build_/test_build_stubs_name.txt +++ b/tests/test_build_/test_build_stubs_name.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam-spam-stubs Version: 2020.0.0 diff --git a/tests/test_build_/test_build_success_authors_.txt b/tests/test_build_/test_build_success_authors_.txt index c76a38b..f27c923 100644 --- a/tests/test_build_/test_build_success_authors_.txt +++ b/tests/test_build_/test_build_success_authors_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Author-email: hi@pradyunsg.me diff --git a/tests/test_build_/test_build_success_classifiers_.txt b/tests/test_build_/test_build_success_classifiers_.txt index 18b1a1e..59223b1 100644 --- a/tests/test_build_/test_build_success_classifiers_.txt +++ b/tests/test_build_/test_build_success_classifiers_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Classifier: Development Status :: 4 - Beta diff --git a/tests/test_build_/test_build_success_dependencies_.txt b/tests/test_build_/test_build_success_dependencies_.txt index e7d121d..61858c0 100644 --- a/tests/test_build_/test_build_success_dependencies_.txt +++ b/tests/test_build_/test_build_success_dependencies_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Dist: django>2.1; os_name != "nt" diff --git a/tests/test_build_/test_build_success_description_.txt b/tests/test_build_/test_build_success_description_.txt index 4dd8166..0c71010 100644 --- a/tests/test_build_/test_build_success_description_.txt +++ b/tests/test_build_/test_build_success_description_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Summary: Lovely Spam! Wonderful Spam! diff --git a/tests/test_build_/test_build_success_entry_points_.txt b/tests/test_build_/test_build_success_entry_points_.txt index 839a015..ef831ac 100644 --- a/tests/test_build_/test_build_success_entry_points_.txt +++ b/tests/test_build_/test_build_success_entry_points_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 diff --git a/tests/test_build_/test_build_success_keywords_.txt b/tests/test_build_/test_build_success_keywords_.txt index 7d2d1e4..07f7bcf 100644 --- a/tests/test_build_/test_build_success_keywords_.txt +++ b/tests/test_build_/test_build_success_keywords_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Keywords: bacon,egg,Lobster Thermidor,sausage,tomatoes diff --git a/tests/test_build_/test_build_success_maintainers_.txt b/tests/test_build_/test_build_success_maintainers_.txt index 41cd0cd..b9fe474 100644 --- a/tests/test_build_/test_build_success_maintainers_.txt +++ b/tests/test_build_/test_build_success_maintainers_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Author-email: Brett Cannon diff --git a/tests/test_build_/test_build_success_minimal_.txt b/tests/test_build_/test_build_success_minimal_.txt index 839a015..ef831ac 100644 --- a/tests/test_build_/test_build_success_minimal_.txt +++ b/tests/test_build_/test_build_success_minimal_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 diff --git a/tests/test_build_/test_build_success_optional_dependencies_.txt b/tests/test_build_/test_build_success_optional_dependencies_.txt index 01c931b..12b6382 100644 --- a/tests/test_build_/test_build_success_optional_dependencies_.txt +++ b/tests/test_build_/test_build_success_optional_dependencies_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Dist: matplotlib>=3.0.0; (platform_machine != "aarch64" or python_version > "3.6") and extra == 'test' diff --git a/tests/test_build_/test_build_success_requires_python_.txt b/tests/test_build_/test_build_success_requires_python_.txt index d118c6e..397c676 100644 --- a/tests/test_build_/test_build_success_requires_python_.txt +++ b/tests/test_build_/test_build_success_requires_python_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Python: >=3.8 diff --git a/tests/test_build_/test_build_success_requires_python_complex_.txt b/tests/test_build_/test_build_success_requires_python_complex_.txt index a984c67..a4fa23a 100644 --- a/tests/test_build_/test_build_success_requires_python_complex_.txt +++ b/tests/test_build_/test_build_success_requires_python_complex_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Python: !=3.0.*,!=3.2.*,>=2.7 diff --git a/tests/test_build_/test_build_success_unicode_.txt b/tests/test_build_/test_build_success_unicode_.txt index 1a1c81b..d65c44c 100644 --- a/tests/test_build_/test_build_success_unicode_.txt +++ b/tests/test_build_/test_build_success_unicode_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Summary: Factory ⸻ A code generator 🏭 diff --git a/tests/test_build_/test_build_success_urls_.txt b/tests/test_build_/test_build_success_urls_.txt index 02e8a40..8237627 100644 --- a/tests/test_build_/test_build_success_urls_.txt +++ b/tests/test_build_/test_build_success_urls_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Home-page: example.com diff --git a/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_explicit_.txt b/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_explicit_.txt index 3a6214c..b819d3b 100644 --- a/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_explicit_.txt +++ b/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_explicit_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam-spam Version: 2020.0.0 diff --git a/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_implicit_.txt b/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_implicit_.txt index 3a6214c..b819d3b 100644 --- a/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_implicit_.txt +++ b/tests/test_build_/test_build_underscore_name_hyphen_name_underscore_package_implicit_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam-spam Version: 2020.0.0 diff --git a/tests/test_build_/test_build_underscore_name_underscore_name_.txt b/tests/test_build_/test_build_underscore_name_underscore_name_.txt index 3a6214c..b819d3b 100644 --- a/tests/test_build_/test_build_underscore_name_underscore_name_.txt +++ b/tests/test_build_/test_build_underscore_name_underscore_name_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam-spam Version: 2020.0.0 diff --git a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.RECORD b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.RECORD index 5e7c921..ef8443e 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.RECORD +++ b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.txt b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.RECORD b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.RECORD index da45ab7..04ea701 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.RECORD +++ b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=8y-1C1IzjZjVaevM0cDZantWiiYQ0gC9ECV_K_G1Lak,1472 +whey-2021.0.0.dist-info/METADATA,sha256=KYQvzdrNV2KNBxzS_e91YniP9mxV1VQNv5N0VvC4Q1M,1483 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.txt b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_wheel_from_sdist_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.RECORD b/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.RECORD index 5e7c921..ef8443e 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.RECORD +++ b/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.txt b/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.txt +++ b/tests/test_build_/test_build_wheel_from_sdist_DYNAMIC_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.RECORD b/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.RECORD index c23bc22..600101b 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.RECORD +++ b/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=YeshzZfvJxrtlwAtuAfftQdJ4qFt58hP2aiOCuHhnjA,658 +whey-2021.0.0.dist-info/METADATA,sha256=jTcoxeHOWPzD6HeGvCxKC5WrHKdjcavY56DsOL0lKuc,669 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.txt b/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.txt index 17d0869..b056d48 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.txt +++ b/tests/test_build_/test_build_wheel_from_sdist_LONG_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.RECORD b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.RECORD index 5e7c921..ef8443e 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.RECORD +++ b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.txt b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.txt +++ b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.RECORD b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.RECORD index da45ab7..04ea701 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.RECORD +++ b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=8y-1C1IzjZjVaevM0cDZantWiiYQ0gC9ECV_K_G1Lak,1472 +whey-2021.0.0.dist-info/METADATA,sha256=KYQvzdrNV2KNBxzS_e91YniP9mxV1VQNv5N0VvC4Q1M,1483 whey-2021.0.0.dist-info/WHEEL,sha256=Z8ApXUcOYK5VMz9yebTyUF13KAMNT6RSnd-lLcivEVA,84 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.txt b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.txt +++ b/tests/test_build_/test_build_wheel_from_sdist_source_dir_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.RECORD b/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.RECORD index ac6734d..a54e938 100644 --- a/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.RECORD +++ b/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=Kt-Pv11iCkvNL7YcilCNYD7iYBD4mXWCg-p_PGdn49Q,1410 +whey-2021.0.0.dist-info/METADATA,sha256=wQgDuhUDBI8we_Vo0p9J3qj-8xjj_BPijZxsXPp8D9o,1421 whey-2021.0.0.dist-info/WHEEL,sha256=r2SGDgzin6Yt4GzNx_Bg7ya-CuSBkCRIHxIIrSDZ-FM,95 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.txt b/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.txt +++ b/tests/test_build_/test_custom_wheel_builder_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.RECORD b/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.RECORD index baa71ed..136cbfe 100644 --- a/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.RECORD +++ b/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=8y-1C1IzjZjVaevM0cDZantWiiYQ0gC9ECV_K_G1Lak,1472 +whey-2021.0.0.dist-info/METADATA,sha256=KYQvzdrNV2KNBxzS_e91YniP9mxV1VQNv5N0VvC4Q1M,1483 whey-2021.0.0.dist-info/WHEEL,sha256=r2SGDgzin6Yt4GzNx_Bg7ya-CuSBkCRIHxIIrSDZ-FM,95 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.txt b/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.txt +++ b/tests/test_build_/test_custom_wheel_builder_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.RECORD b/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.RECORD index c72861f..e81a5c5 100644 --- a/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.RECORD +++ b/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.RECORD @@ -1,6 +1,6 @@ whey/__init__.py,sha256=LVQwFWJ6dxQ2sw6nn9Ds2o34vNd7PVVmHK9aDW6AmIY,21 whey-2021.0.0.dist-info/LICENSE,sha256=5wizT6r_v4VTz5CuAQ2HSwrPhYUFwQypVskUSmY1reQ,20 -whey-2021.0.0.dist-info/METADATA,sha256=YeshzZfvJxrtlwAtuAfftQdJ4qFt58hP2aiOCuHhnjA,658 +whey-2021.0.0.dist-info/METADATA,sha256=jTcoxeHOWPzD6HeGvCxKC5WrHKdjcavY56DsOL0lKuc,669 whey-2021.0.0.dist-info/WHEEL,sha256=r2SGDgzin6Yt4GzNx_Bg7ya-CuSBkCRIHxIIrSDZ-FM,95 whey-2021.0.0.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 whey-2021.0.0.dist-info/RECORD,, diff --git a/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.txt b/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.txt index 17d0869..b056d48 100644 --- a/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.txt +++ b/tests/test_build_/test_custom_wheel_builder_LONG_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_foreman_/test_build_additional_files.txt b/tests/test_foreman_/test_build_additional_files.txt index 6491f10..9ff5414 100644 --- a/tests/test_foreman_/test_build_additional_files.txt +++ b/tests/test_foreman_/test_build_additional_files.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_foreman_/test_build_complete_COMPLETE_A_.txt b/tests/test_foreman_/test_build_complete_COMPLETE_A_.txt index e63f285..6e97825 100644 --- a/tests/test_foreman_/test_build_complete_COMPLETE_A_.txt +++ b/tests/test_foreman_/test_build_complete_COMPLETE_A_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest diff --git a/tests/test_foreman_/test_build_complete_COMPLETE_B_.txt b/tests/test_foreman_/test_build_complete_COMPLETE_B_.txt index 6491f10..9ff5414 100644 --- a/tests/test_foreman_/test_build_complete_COMPLETE_B_.txt +++ b/tests/test_foreman_/test_build_complete_COMPLETE_B_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Home Page, https://whey.readthedocs.io/en/latest diff --git a/tests/test_foreman_/test_build_complete_LONG_REQUIREMENTS_.txt b/tests/test_foreman_/test_build_complete_LONG_REQUIREMENTS_.txt index 17d0869..b056d48 100644 --- a/tests/test_foreman_/test_build_complete_LONG_REQUIREMENTS_.txt +++ b/tests/test_foreman_/test_build_complete_LONG_REQUIREMENTS_.txt @@ -1,9 +1,9 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster -License: MIT +License-Expression: MIT Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python diff --git a/tests/test_foreman_/test_build_success_authors_.txt b/tests/test_foreman_/test_build_success_authors_.txt index c76a38b..f27c923 100644 --- a/tests/test_foreman_/test_build_success_authors_.txt +++ b/tests/test_foreman_/test_build_success_authors_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Author-email: hi@pradyunsg.me diff --git a/tests/test_foreman_/test_build_success_classifiers_.txt b/tests/test_foreman_/test_build_success_classifiers_.txt index 18b1a1e..59223b1 100644 --- a/tests/test_foreman_/test_build_success_classifiers_.txt +++ b/tests/test_foreman_/test_build_success_classifiers_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Classifier: Development Status :: 4 - Beta diff --git a/tests/test_foreman_/test_build_success_dependencies_.txt b/tests/test_foreman_/test_build_success_dependencies_.txt index e7d121d..61858c0 100644 --- a/tests/test_foreman_/test_build_success_dependencies_.txt +++ b/tests/test_foreman_/test_build_success_dependencies_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Dist: django>2.1; os_name != "nt" diff --git a/tests/test_foreman_/test_build_success_description_.txt b/tests/test_foreman_/test_build_success_description_.txt index 4dd8166..0c71010 100644 --- a/tests/test_foreman_/test_build_success_description_.txt +++ b/tests/test_foreman_/test_build_success_description_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Summary: Lovely Spam! Wonderful Spam! diff --git a/tests/test_foreman_/test_build_success_entry_points_.txt b/tests/test_foreman_/test_build_success_entry_points_.txt index 839a015..ef831ac 100644 --- a/tests/test_foreman_/test_build_success_entry_points_.txt +++ b/tests/test_foreman_/test_build_success_entry_points_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 diff --git a/tests/test_foreman_/test_build_success_keywords_.txt b/tests/test_foreman_/test_build_success_keywords_.txt index 7d2d1e4..07f7bcf 100644 --- a/tests/test_foreman_/test_build_success_keywords_.txt +++ b/tests/test_foreman_/test_build_success_keywords_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Keywords: bacon,egg,Lobster Thermidor,sausage,tomatoes diff --git a/tests/test_foreman_/test_build_success_maintainers_.txt b/tests/test_foreman_/test_build_success_maintainers_.txt index 41cd0cd..b9fe474 100644 --- a/tests/test_foreman_/test_build_success_maintainers_.txt +++ b/tests/test_foreman_/test_build_success_maintainers_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Author-email: Brett Cannon diff --git a/tests/test_foreman_/test_build_success_minimal_.txt b/tests/test_foreman_/test_build_success_minimal_.txt index 839a015..ef831ac 100644 --- a/tests/test_foreman_/test_build_success_minimal_.txt +++ b/tests/test_foreman_/test_build_success_minimal_.txt @@ -1,3 +1,3 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 diff --git a/tests/test_foreman_/test_build_success_optional_dependencies_.txt b/tests/test_foreman_/test_build_success_optional_dependencies_.txt index 01c931b..12b6382 100644 --- a/tests/test_foreman_/test_build_success_optional_dependencies_.txt +++ b/tests/test_foreman_/test_build_success_optional_dependencies_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Dist: matplotlib>=3.0.0; (platform_machine != "aarch64" or python_version > "3.6") and extra == 'test' diff --git a/tests/test_foreman_/test_build_success_requires_python_.txt b/tests/test_foreman_/test_build_success_requires_python_.txt index d118c6e..397c676 100644 --- a/tests/test_foreman_/test_build_success_requires_python_.txt +++ b/tests/test_foreman_/test_build_success_requires_python_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Python: >=3.8 diff --git a/tests/test_foreman_/test_build_success_requires_python_complex_.txt b/tests/test_foreman_/test_build_success_requires_python_complex_.txt index a984c67..a4fa23a 100644 --- a/tests/test_foreman_/test_build_success_requires_python_complex_.txt +++ b/tests/test_foreman_/test_build_success_requires_python_complex_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Requires-Python: !=3.0.*,!=3.2.*,>=2.7 diff --git a/tests/test_foreman_/test_build_success_unicode_.txt b/tests/test_foreman_/test_build_success_unicode_.txt index 1a1c81b..d65c44c 100644 --- a/tests/test_foreman_/test_build_success_unicode_.txt +++ b/tests/test_foreman_/test_build_success_unicode_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Summary: Factory ⸻ A code generator 🏭 diff --git a/tests/test_foreman_/test_build_success_urls_.txt b/tests/test_foreman_/test_build_success_urls_.txt index 02e8a40..8237627 100644 --- a/tests/test_foreman_/test_build_success_urls_.txt +++ b/tests/test_foreman_/test_build_success_urls_.txt @@ -1,4 +1,4 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: spam Version: 2020.0.0 Home-page: example.com diff --git a/tox.ini b/tox.ini index d6121b7..88602d2 100644 --- a/tox.ini +++ b/tox.ini @@ -251,3 +251,4 @@ filterwarnings = ignore:Module already imported so cannot be rewritten. coincidence:pytest.PytestAssertRewriteWarning always:module 'sre_constants' is deprecated:DeprecationWarning always:pkg_resources is deprecated as an API:DeprecationWarning + always::pyproject_parser.cli.PyProjectDeprecationWarning:whey[.*] diff --git a/whey/__init__.py b/whey/__init__.py index ed59026..ebe790f 100644 --- a/whey/__init__.py +++ b/whey/__init__.py @@ -54,6 +54,7 @@ def build_wheel(wheel_directory, config_settings=None, metadata_directory=None) # 3rd party from consolekit.tracebacks import handle_tracebacks from domdf_python_tools.paths import PathPlus, TemporaryPathPlus + from pyproject_parser.cli import prettify_deprecation_warning # this package from whey.foreman import Foreman @@ -62,6 +63,8 @@ def build_wheel(wheel_directory, config_settings=None, metadata_directory=None) show_traceback = bool(int(os.getenv("WHEY_TRACEBACK", 0))) verbose = bool(int(os.getenv("WHEY_VERBOSE", 1))) + prettify_deprecation_warning() + with TemporaryPathPlus() as tmpdir, handle_tracebacks(show_traceback, WheyBackendTBHandler): foreman = Foreman(project_dir=PathPlus.cwd()) return foreman.build_wheel(build_dir=tmpdir, out_dir=wheel_directory, verbose=verbose) @@ -82,6 +85,7 @@ def build_sdist(sdist_directory, config_settings=None) -> str: # noqa: MAN001 # 3rd party from consolekit.tracebacks import handle_tracebacks from domdf_python_tools.paths import PathPlus, TemporaryPathPlus + from pyproject_parser.cli import prettify_deprecation_warning # this package from whey.foreman import Foreman @@ -90,6 +94,8 @@ def build_sdist(sdist_directory, config_settings=None) -> str: # noqa: MAN001 show_traceback = bool(int(os.getenv("WHEY_TRACEBACK", 0))) verbose = bool(int(os.getenv("WHEY_VERBOSE", 1))) + prettify_deprecation_warning() + with TemporaryPathPlus() as tmpdir, handle_tracebacks(show_traceback, WheyBackendTBHandler): foreman = Foreman(project_dir=PathPlus.cwd()) return foreman.build_sdist(build_dir=tmpdir, out_dir=sdist_directory, verbose=verbose) @@ -120,6 +126,7 @@ def build_editable(wheel_directory, config_settings=None, metadata_directory=Non # 3rd party from consolekit.tracebacks import handle_tracebacks from domdf_python_tools.paths import PathPlus, TemporaryPathPlus + from pyproject_parser.cli import prettify_deprecation_warning # this package from whey.builder import WheelBuilder @@ -129,6 +136,8 @@ def build_editable(wheel_directory, config_settings=None, metadata_directory=Non show_traceback = bool(int(os.getenv("WHEY_TRACEBACK", 0))) verbose = bool(int(os.getenv("WHEY_VERBOSE", 1))) + prettify_deprecation_warning() + with TemporaryPathPlus() as tmpdir, handle_tracebacks(show_traceback, WheyBackendTBHandler): foreman = Foreman(project_dir=PathPlus.cwd()) builder_cls: Type[WheelBuilder] = cast(Type[WheelBuilder], foreman.get_builder("wheel")) diff --git a/whey/__main__.py b/whey/__main__.py index a2bca93..04b2c25 100644 --- a/whey/__main__.py +++ b/whey/__main__.py @@ -129,11 +129,15 @@ def main( # 3rd party from domdf_python_tools.paths import PathPlus + from pyproject_parser.cli import prettify_deprecation_warning # this package from whey.foreman import Foreman from whey.utils import WheyTracebackHandler, parse_custom_builders, print_builder_names + if not show_traceback: + prettify_deprecation_warning() + if not any((binary, sdist, wheel, builder)): wheel = True sdist = True diff --git a/whey/builder.py b/whey/builder.py index d94caaf..416840a 100644 --- a/whey/builder.py +++ b/whey/builder.py @@ -34,18 +34,21 @@ import shutil import sys import tarfile +import textwrap +import warnings import zipfile from abc import ABC, abstractmethod from email.headerregistry import Address from functools import partial from posixpath import join as posixpath_join -from typing import TYPE_CHECKING, Any, Dict, Iterator, Mapping, Optional +from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, Iterator, Mapping, Optional from warnings import warn as warnings_warn # 3rd party import click import dom_toml import handy_archives +import license_expression from consolekit.terminal_colours import ColourTrilean, Fore, resolve_color_default from dist_meta import entry_points, metadata, wheel from dist_meta.metadata_mapping import MetadataMapping @@ -53,6 +56,7 @@ from domdf_python_tools.typing import PathLike from domdf_python_tools.words import word_join from pyproject_parser import PyProjectTomlEncoder +from pyproject_parser.utils import PyProjectDeprecationWarning from shippinglabel.checksum import get_record_entry from shippinglabel.requirements import ComparableRequirement, combine_requirements @@ -223,9 +227,9 @@ def report_copied(self, source: pathlib.Path, target: pathlib.Path) -> None: :param target: The file in the build directory. """ - self._echo_if_v( - f"Copying {source.resolve().as_posix()} -> {target.relative_to(self.build_dir).as_posix()}" - ) + source_posix = source.resolve().as_posix() + target_posix = target.relative_to(self.build_dir).as_posix() + self._echo_if_v(f"Copying {source_posix} -> {target_posix}") def report_removed(self, removed_file: pathlib.Path) -> None: """ @@ -288,7 +292,7 @@ def parse_additional_files(self, *entries: additional_files.AdditionalFilesEntry exclude_file.unlink() self.report_removed(exclude_file) else: # pragma: no cover - warnings_warn(f"Unsupported command in 'additional-files': {entry}") + warnings.warn(f"'tool.whey.additional-files': Unsupported command {entry!r}") # # elif parts[0] == "global-include": @@ -391,7 +395,7 @@ def get_metadata_map(self) -> MetadataMapping: metadata_mapping = MetadataMapping() - metadata_mapping["Metadata-Version"] = "2.2" + metadata_mapping["Metadata-Version"] = "2.4" metadata_mapping["Name"] = self.config["name"] metadata_mapping["Version"] = str(self.config["version"]) @@ -407,7 +411,24 @@ def add_multiple(key: str, field: str) -> None: metadata_mapping.update(self.parse_authors()) add_not_none("description", "Summary") - add_not_none("license-key", "License") + + # if license-key is a valid SPDX Identifier (or PD or proprietary) + # add it as License-Expression. Otherwise add it as License + if self.config["license-key"] is None: + pass + elif self.config["license-key"] in {"LicenseRef-Public-Domain", "LicenseRef-Proprietary"}: + metadata_mapping["License-Expression"] = self.config["license-key"] + else: + licensing = license_expression.get_spdx_licensing() + validated_spdx = licensing.validate(self.config["license-key"]) + if validated_spdx.errors: + # validated_spdx.errors.append("Another Error") + warning_msg = "'project.license-key' is not a valid SPDX Expression: " + warning_msg += indent_join(validated_spdx.errors) + warnings.warn(warning_msg, PyProjectDeprecationWarning) + metadata_mapping["License"] = self.config["license-key"] + else: + metadata_mapping["License-Expression"] = self.config["license-key"] add_multiple("classifiers", "Classifier") add_multiple("dependencies", "Requires-Dist") @@ -640,7 +661,6 @@ class WheelBuilder(AbstractBuilder): :param verbose: Enable verbose output. .. autosummary-widths:: 11/32 - .. latex:vspace:: -10px """ @@ -904,3 +924,37 @@ def build_editable(self) -> str: self.call_additional_hooks() return self.create_wheel_archive() + + +def indent_join(iterable: Iterable[str]) -> str: + """ + Join an iterable of strings with newlines, + and indent each line with a tab if there is more then one element. + + :param iterable: + """ # noqa: D400 + + iterable = list(iterable) + if len(iterable) > 1: + if not iterable[0] == '': + iterable.insert(0, '') + + return indent_with_tab(textwrap.dedent('\n'.join(iterable))) + + +def indent_with_tab( + text: str, + depth: int = 1, + predicate: Optional[Callable[[str], bool]] = None, + ) -> str: + r""" + Adds ``'\t'`` to the beginning of selected lines in 'text'. + + :param text: The text to indent. + :param depth: The depth of the indentation. + :param predicate: If given, ``'\t'`` will only be added to the lines where ``predicate(line)`` + is :py:obj`True`. If ``predicate`` is not provided, it will default to adding ``'\t'`` + to all non-empty lines that do not consist solely of whitespace characters. + """ + + return textwrap.indent(text, '\t' * depth, predicate=predicate) diff --git a/whey/config/whey.py b/whey/config/whey.py index f104d86..639297a 100644 --- a/whey/config/whey.py +++ b/whey/config/whey.py @@ -27,10 +27,12 @@ # # stdlib -from typing import Dict, List, Set, Type, cast +from contextlib import suppress +from typing import Dict, List, Optional, Set, Type, cast # 3rd party import dist_meta.entry_points +import license_expression from dom_toml.parser import TOML_TYPES, AbstractConfigParser, BadConfigError from natsort import natsorted from shippinglabel.classifiers import validate_classifiers @@ -318,17 +320,22 @@ def backfill_classifiers(config: Dict[str, TOML_TYPES]) -> List[str]: # TODO: Typing :: Typed parsed_classifiers = set(config["base-classifiers"]) + licensing = license_expression.get_spdx_licensing() + + project_licenses: Optional = None + with suppress(license_expression.ExpressionParseError): + project_licenses = licensing.parse(config["license-key"]) platforms = config["platforms"] - license_key = config["license-key"] python_versions = config["python-versions"] python_implementations = config["python-implementations"] - if license_key in license_lookup: - parsed_classifiers.add(f"License :: OSI Approved :: {license_lookup[license_key]}") + if project_licenses is not None: + for license_key in project_licenses.objects: + if license_key in license_lookup: + parsed_classifiers.add(f"License :: OSI Approved :: {license_lookup[license_key]}") if platforms: - if set(platforms) == {"Windows", "macOS", "Linux"}: parsed_classifiers.add("Operating System :: OS Independent") else: