Upstream, this software supports Python 3. Please provide a Python 3
package for Fedora.
According to the Python packaging guidelines , software must be
packaged for Python 3 if upstream supports it.
The guidelines give detailed information on how to do this, and even
provide an example spec file .
The current best practice is to provide subpackages for the two Python
versions (called "Common SRPM" in the guidelines). Alternatively, if
nothing depends on your Python2 package, you can just switch to Python 3
It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 24 as well.
If anything is unclear, or if you need any kind of assistance with the
porting, you can ask on IRC (#fedora-python on Freenode), or reply here.
We'll be happy to help!
Do you need any help adding Python 3 support to the RPM?
If you need more instructions, a [guide] for porting Python-based RPMs is available.
I am gonna provide the patch for ps_mem specfile with new release and Python3 as main interpreter.
Please, could somebody review it and if it will be ok, use it.
Created attachment 1165838 [details]
Patch for ps_mem package specfile
The patch looks good, just a tiny thing: Please add a note to the changelog that you switched to using Python 3. All changes of note should be contained in the changelog.
Have you tried building and installing the package ans using it (in mock or anywhere else)?
Created attachment 1165863 [details]
Patch for ps_mem package specfile (fixed changelog)
I am providing new patch with fixed changelog.
I tested it with rpmbuild, rmplint, build in mock and installation in virtual machine with Fedora 24 and everything looks ok.
Have a nice day.
Lumir: Looks good to me!
as this is a bit of a time sensitive issue, we would really appreciate if you could take a look at the patch as soon as possible.
If you are time constrained right now, I hope you won't mind if we do the review and push the changes ourselves in case you are unable.
We found a bug in provided specfile - missing BuildRequires of python3-devel.
I will provide new patch for specfile in a moment.
Sorry for my mistake.
Created attachment 1178391 [details]
Fixed bug in BR
I'm gonna look at the patch and commit/push.
Miro did it today.
Yup. Just noticed that.