class documentation
class TestPresetField: (source)
Undocumented
Method | pyproject |
Undocumented |
Method | test |
Undocumented |
Method | test |
For the time being we just warn if the user pre-set values (e.g. via ``setup.py``) but do not include them in ``dynamic``. |
Method | test |
Internally setuptools converts dependencies with markers to "extras". If ``install_requires`` is given by ``setup.py``, we have to ensure that applying ``optional-dependencies`` does not overwrite the mandatory dependencies with markers (see #3204). |
Method | test |
Undocumented |
@pytest.mark.parametrize( 'attr, field, value', [ ( 'install_requires', 'dependencies', []), ( 'extras_require', 'optional-dependencies', {}), ( 'install_requires', 'dependencies', [ 'six']), ( 'classifiers', 'classifiers', [ 'Private :: Classifier'])])
def test_listed_in_dynamic(self, tmp_path, attr, field, value): (source) ¶
def test_listed_in_dynamic(self, tmp_path, attr, field, value): (source) ¶
Undocumented
@pytest.mark.parametrize( 'attr, field, value', [ ( 'install_requires', 'dependencies', [ 'six']), ( 'classifiers', 'classifiers', [ 'Private :: Classifier'])])
def test_not_listed_in_dynamic(self, tmp_path, attr, field, value): (source) ¶
def test_not_listed_in_dynamic(self, tmp_path, attr, field, value): (source) ¶
For the time being we just warn if the user pre-set values (e.g. via ``setup.py``) but do not include them in ``dynamic``.