module documentation
Make sure that applying the configuration from pyproject.toml is equivalent to applying a similar configuration from setup.cfg To run these tests offline, please have a look on ``./downloads/preload.py``
Class |
|
Undocumented |
Class |
|
No class docstring; 2/2 methods documented |
Class |
|
No class docstring; 2/5 methods documented |
Function | core |
Undocumented |
Function | makedist |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Make sure the example in PEP 621 works |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Constant | EXAMPLES |
Undocumented |
Constant | HERE |
Undocumented |
Constant | PEP621 |
Undocumented |
Constant | PEP621 |
Undocumented |
Constant | PEP621 |
Undocumented |
Function | _pep621 |
Undocumented |
@pytest.mark.parametrize( 'url', urls_from_file( HERE/EXAMPLES_FILE))
@pytest.mark.filterwarnings( 'ignore')
@pytest.mark.uses_network
def test_apply_pyproject_equivalent_to_setupcfg(url, monkeypatch, tmp_path): (source) ¶
@pytest.mark.filterwarnings(
@pytest.mark.uses_network
def test_apply_pyproject_equivalent_to_setupcfg(url, monkeypatch, tmp_path): (source) ¶
Undocumented
@pytest.mark.parametrize( 'readme, ctype', [ ( 'Readme.txt', 'text/plain'), ( 'readme.md', 'text/markdown'), ( 'text.rst', 'text/x-rst')])
def test_readme_content_type(tmp_path, readme, ctype): (source) ¶
def test_readme_content_type(tmp_path, readme, ctype): (source) ¶
Undocumented
@pytest.mark.parametrize( ( 'pyproject_text', 'expected_maintainers_meta_value'), ( pytest.param( PEP621_EXAMPLE, 'Brett Cannon <brett@python.org>, "John X. Ãørçeč" <john@utf8.org>, Γαμα קּ 東 <gama@utf8.org>', id='non-international-emails'), pytest.param( PEP621_INTERNATIONAL_EMAIL_EXAMPLE, 'Степан Бандера <криївка@оун-упа.укр>', marks=pytest.mark.xfail( reason='CPython\'s `email.headerregistry.Address` only supports RFC 5322, as of Nov 10, 2022 and latest Python 3.11.0', strict=True), id='international-email')))
def test_utf8_maintainer_in_metadata(expected_maintainers_meta_value, pyproject_text, tmp_path): (source) ¶
def test_utf8_maintainer_in_metadata(expected_maintainers_meta_value, pyproject_text, tmp_path): (source) ¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
def _pep621_example_project(tmp_path, readme='README.rst', pyproject_text=PEP621_EXAMPLE):
(source)
¶
Undocumented