#49 Use quote from shlex instead of deprecated pipes
Merged by frostyx. Opened by frostyx.
frostyx/rpkg-util deprecated-pipes  into  master

Download 49.patch

Fix https://bugzilla.redhat.com/show_bug.cgi?id=2276893

The pipes module is deprecated since Python 3.11 and is removed since
Python 3.13.

The CI failure for rawhide is unrelated. There is some error in a test:

        spec_path = self.dump_spec(INVALID_SPEC_TEMPLATE)
>       with pytest.raises(RpkgError):
E       Failed: DID NOT RAISE <class 'rpkglib.errors.RpkgError'>
tests/unit/test_rpm_package.py:414: Failed

1 new commit added

  • Make the INVALID_SPEC_TEMPLATE really invalid

I fixed the test issue as well.

Thank you very much for the review @clime.
I am going to merge and publish a new release.

Pull-Request has been merged by frostyx

This PR has been migrated to GitHub as a placeholder issue:
https://github.com/fedora-copr/rpkg-util/issues/49

Metadata