Learn more about these different git repos.
Other Git URLs
As a maintainer or user of the Koji build system,
I want that rpmautospec Koji plugins work regardless of the Python version installed,
rpmautospec
so that upgrading Python doesn't break the functionality of rpmautospec.
What needs to be done:
fedpkg
python -B
.pyc
rpm
ctypes
@churchyard raised good points on the devel ML thread regarding robustness of the pieces that actually have to run in the build root.
Status quo:
rpmautospec.cli.main()
koji
We should also see at reducing our dependency tree to distinguish better what is needed for the koji plugin and what is needed within the chroot/fedpkg.
To be a Good Citizen™ and not leave around untracked files upon deinstallation of the package, the script should be run with python -B to avoid writing out .pyc files. This doesn't hurt in the normal case either because we pre-generate these files in the normal Python hierarchy when building the package.
If it is a single script that lives e.g. in /usr/bin/ there will be no bytecode .pyc files. Only if you need to have multiple files that import each other.
/usr/bin/
Metadata Update from @nphilipp: - Issue tagged with: F35 Change
Metadata Update from @nphilipp: - Issue untagged with: F35 Change
I worked on the RPM bits on Friday (#127, #130) and thought a good deal about this over the weekend. It seems that with the simplified release bumping algorithm, we don't have to do things in the build root at all—counting commits can be done just as well in the context of the Koji builder plugin. This would relieve us from jumping through hoops to not break build roots if the Python runtime is upgraded.
Metadata Update from @nphilipp: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
Metadata Update from @nphilipp: - Issue set to the milestone: None (was: 0.2)
Login to comment on this ticket.