Closed pllim closed 11 months ago
When I change it to master
, it did run, but failed. @tepickering , is it ever expected to pass or is it just a non-working example?Example log at https://github.com/kali-maa/package-template/actions/runs/485894689 .
Processing ./.tox/.tmp/package/1/packagename-3.1.dev30+g952967f.tar.gz
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/runner/work/package-template/package-template/.tox/py37-test/bin/python /home/runner/work/package-template/package-template/.tox/py37-test/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp2mr9z3az
cwd: /tmp/pip-req-build-gb5w4xt4
Complete output (23 lines):
running dist_info
creating /tmp/pip-modern-metadata-_mlknos4/packagename.egg-info
writing /tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/dependency_links.txt
writing entry points to /tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/entry_points.txt
writing requirements to /tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/requires.txt
writing top-level names to /tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/SOURCES.txt'
warning: Failed to find the configured license file 'licenses/LICENSE.rst'
reading manifest file '/tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'CHANGES.rst'
warning: no files found matching 'LICENSE.rst'
warning: no files found matching '*.pxd' under directory 'packagename'
warning: no files found matching '*' under directory 'scripts'
no previously-included directories found matching 'build'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/api'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
writing manifest file '/tmp/pip-modern-metadata-_mlknos4/packagename.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-_mlknos4/packagename.dist-info'
error: [Errno 2] No such file or directory: 'licenses/LICENSE.rst'
https://github.com/astropy/package-template/blob/589d8745ec9e8598b8c3017547bb6d6ae681b5f5/%7B%7B%20cookiecutter.package_name%20%7D%7D/.github/workflows/ci_tests.yml#L10
CI expecting
main
but we pushing tomaster
. As a result, themaster
branch here will not kick off any CI. Is this a problem?