Open chaosAD opened 3 years ago
I just got the same error when building my own package, and it was caused by this line in setup.cfg:
version = attr: package.__version__
The luma.oled
-package uses the same configuration, so I imagine that's what triggers this bug.
I just got the same error when building my own package, and it was caused by this line in setup.cfg:
version = attr: package.__version__
The
luma.oled
-package uses the same configuration, so I imagine that's what triggers this bug.
Hey @bblommers how did you replace it to solve the problem? thanks heaps!
Hey @bblommers how did you replace it to solve the problem? thanks heaps!
We didn't, @ortegauriol - we worked around it by duplicating the version-number in __init__.py
and setup.cfg
:slightly_frowning_face:
setuptools version
54.1.1
Python version
3.7.9
OS
Windows 10
Additional environment information
This is happening on Windows 10 that I have tried so far. If executing the same steps under Raspbian GNU/Linux 10 (buster) with the same version of Python and setuptools, no such error encountered.
Description
I received two exceptions triggered by
config.py
when installingluma.oled
:Expected behavior
I don't expect such exceptions to happen.
How to Reproduce
The exceptions would be triggered in step (2). Note that the installation MUST be in the order specified, otherwise no error would be generated.
Output
Code of Conduct