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

Change the pyp2spec invocation #3473

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

befeleme
Copy link
Contributor

pyp2spec 0.10.0 changed the API around the specfile generation. For fully-automated environments as copr is, the automode newly includes convenient defaults to make the specfiles as close to buildability as possible.

FYI: pyp2spec 0.10.0 is currently in bodhi, so during the next 7 days it'll get to all active Fedoras.

@praiskup
Copy link
Member

Let's wait till this is in fedora and merge. Thank you very much for the update!

@praiskup
Copy link
Member

one missing thing, @befeleme can you add a minimal pyp2spec version in Requires: in the corresponding spec file?

pyp2spec 0.10.0 changed the API around the specfile generation.
For fully-automated environments as copr is, the automode newly
includes convenient defaults to make the specfiles as close to
buildability as possible.
@nikromen nikromen merged commit 4ec0f9a into fedora-copr:main Oct 29, 2024
7 checks passed
@befeleme befeleme deleted the pyp2spec branch October 29, 2024 10:38
@befeleme
Copy link
Contributor Author

JFYI: In Fedora 41 pyp2spec will be shipped tomorrow, it was stopped during the freeze.

@@ -56,7 +56,7 @@ def _produce_srpm_pyp2spec(self):
"pyp2spec",
self.pypi_package_name,
"--fedora-compliant",
"--top-level",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we need --top-level?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's included/hidden as implementation detail in the automode now.

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.

3 participants