#47 Use open() on Python >= 3.14 instead of codecs.open()
Merged by jhutar. Opened by dcantrell.
dcantrell/rpmfluff master  into  master

Download 47.patch

Starting with Python 3.14, codecs.open() is deprecated in favor of
open(). But add support for that while not breaking support for
previous Python versions.

Signed-off-by: Dave Cantrell dcantrell@redhat.com

Awesome, thank you! Do you need this to be release as a package for rawhide as well?

Pull-Request has been merged by jhutar

Sure thing. If you can do a release in rawhide, that's helpful but not urgent. I ran in to this problem with rpminspect CI jobs on GitHub. On those environments I pull in rpmfluff using pip, so getting it there would be more helpful for me.

I use pip because rpminspect CI jobs run on a wide variety of distributions, so I tried to use a common way to set up the test environment on all of them.

Thanks!

Cool.

So we should have rawhide release in progress now: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc40785502

And PyPI should be updated as well: https://pypi.org/project/rpmfluff/0.6.7/

Good luck!

Metadata