LibreCS/plcd

Error on build test: could not package, setuptools within Tox

Closed this issue · 1 comments

Recurring issue on commit build testing, previous errors can be seen in the GitHub actions tab. All configuration for testing is in setup.py for tox.ini and in the test directory /tests/test_simple.py

Preliminary investigation hints to a problem installing setuptools in the build environment or it could be a Tox configuration error.

.package create: /home/runner/work/plcd/plcd/.tox/.package
.package installdeps: setuptools>=43.0.0, wheel
error: package directory 'plcd' does not exist
ERROR: invocation failed (exit code 1), logfile: /home/runner/work/plcd/plcd/.tox/.package/log/.package-2.log
================================== log start ===================================
running egg_info
creating plcd.egg-info
writing plcd.egg-info/PKG-INFO
writing dependency_links to plcd.egg-info/dependency_links.txt
writing top-level names to plcd.egg-info/top_level.txt
writing manifest file 'plcd.egg-info/SOURCES.txt'

=================================== log end ====================================
ERROR: FAIL could not package project - v = InvocationError("/home/runner/work/plcd/plcd/.tox/.package/bin/python /opt/hostedtoolcache/Python/3.7.[13](https://github.com/LibreCS/plcd/runs/7527885437?check_suite_focus=true#step:5:14)/x64/lib/python3.7/site-packages/tox/helper/build_requires.py setuptools.build_meta '' ''", 1)
Error: Process completed with exit code 2.

Switched from setuptools to hatchling and temporarily disabled pytest