You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that building or installing the package will install a third party package only for use by setup.py.
As I understand it, setup.py is not included in in the final .deb and so the third party package is also not needed. But because py2dsc runs setup.py it then errors out with:
dpkg-source: error: aborting due to unexpected upstream changes, see ...
And it lists .eggs/setuptools_scm and friends as the unexpected changes.
There's a workaround by:
pip install setuptools_scm
Prior to calling py2dsc but it would be nice if .eggs there was an inline solution.
The text was updated successfully, but these errors were encountered:
couling
changed the title
PEP 517
PEP 517 requires causes: error: aborting due to unexpected upstream changes
Feb 8, 2022
I'm having problems with
py2dsc
not interacting well with PEP 517requires
see here.For example if using
setuptools_scm
to control version numbering the pyproject.toml might look like this:And for legacy setup.py might look like this:
This means that building or installing the package will install a third party package only for use by setup.py.
As I understand it, setup.py is not included in in the final
.deb
and so the third party package is also not needed. But becausepy2dsc
runssetup.py
it then errors out with:And it lists
.eggs/setuptools_scm
and friends as the unexpected changes.There's a workaround by:
Prior to calling
py2dsc
but it would be nice if.eggs
there was an inline solution.The text was updated successfully, but these errors were encountered: