Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop setup.{cfg,py} support, only support PEP-517 builds #153

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

martinpitt
Copy link
Owner

Draft for now, I want to keep this open to track the packaging/distro bugs which prevent this.

With a simple packit srpm and rpmbuild -rb python-dbusmock-0.28*.src.rpm in current Fedora 36 I get a broken rpm which only contains

 /usr/lib/python3.10/site-packages/UNKNOWN-0.0.post1+gac9a8ba.dist-info

and no actual modules. It seems it does not read the metadata from pyproject.toml properly.

@martinpitt
Copy link
Owner Author

At least in a local rpm mock build, the version is still broken. The included dbusmock/_version.py seems correct, though.

Only support pyproject.toml and PEP-517 build tools (PyPA build).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant