comparison tests/test-check-sdist.t @ 6857:36d7bc8d2e8b stable

tests: drop the warning about missing README{,.txt} in sdist I don't think there's any modern packaging solution that is still unaware that our README.rst is a valid README file. According to my 5-minute annotate dive, both setuptools and distutils have added .rst as a valid extension for README files at least 7 years ago.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 09 Sep 2024 17:55:17 +0400
parents 374f1c5995dd
children 37844623df8c
comparison
equal deleted inserted replaced
6856:436dddbb3af5 6857:36d7bc8d2e8b
18 #endif 18 #endif
19 19
20 $ "$PYTHON" setup.py sdist --dist-dir "$TESTTMP"/dist > /dev/null 20 $ "$PYTHON" setup.py sdist --dist-dir "$TESTTMP"/dist > /dev/null
21 */dist.py:*: UserWarning: Unknown distribution option: 'python_requires' (glob) 21 */dist.py:*: UserWarning: Unknown distribution option: 'python_requires' (glob)
22 warnings.warn(msg) 22 warnings.warn(msg)
23 warning: sdist: standard file not found: should have one of README, README.txt (?)
24 (?)
25 warning: no previously-included files found matching 'docs/tutorial/.netlify' 23 warning: no previously-included files found matching 'docs/tutorial/.netlify'
26 warning: no previously-included files found matching '.gitlab-ci.yml' 24 warning: no previously-included files found matching '.gitlab-ci.yml'
27 warning: no previously-included files found matching '.hg-format-source' 25 warning: no previously-included files found matching '.hg-format-source'
28 warning: no previously-included files found matching 'Makefile' 26 warning: no previously-included files found matching 'Makefile'
29 no previously-included directories found matching 'contrib' 27 no previously-included directories found matching 'contrib'