Discussion:
[PATCH] Python 3 compatibility for python-linux-procfs
Lumir Balhar
2017-11-06 12:42:23 UTC
Permalink
Hello.

My name is Lumír and I am a member of Python maintenance team in Red Hat.

I am working on Python 3 related tasks in Red Hat and now I have task
related to Tuned which has python-linux-procfs as a dependency.

So I've made python-linux-procfs Python 3 compatible. Besides other
changes, I had to change setup.py to use setup() function from
setuptools because procfs now depends on six library and it needs to be
specified in setup.py file.

I tested procfs module manually with Python 2.6, 2.7 and 3.6.

When a new version with Python 3 compatibility will be released, I can
also prepare new specfile with python2/python3 subpackages.

Have a nice day.

Lumír
Lumir Balhar
2017-11-06 12:49:36 UTC
Permalink
Here is my GitHub repository with python3 branch:
https://github.com/frenzymadness/python-linux-procfs/tree/python3
Post by Lumir Balhar
Hello.
My name is Lumír and I am a member of Python maintenance team in Red Hat.
I am working on Python 3 related tasks in Red Hat and now I have task
related to Tuned which has python-linux-procfs as a dependency.
So I've made python-linux-procfs Python 3 compatible. Besides other
changes, I had to change setup.py to use setup() function from
setuptools because procfs now depends on six library and it needs to
be specified in setup.py file.
I tested procfs module manually with Python 2.6, 2.7 and 3.6.
When a new version with Python 3 compatibility will be released, I can
also prepare new specfile with python2/python3 subpackages.
Have a nice day.
Lumír
_______________________________________________
Lumir Balhar
2017-11-07 13:33:11 UTC
Permalink
And here is successful build in @realtime copr repo with modernized
specfile and Python 3 compatibility patchset:
https://copr.fedorainfracloud.org/coprs/g/realtime/testing/build/658744/
Post by Lumir Balhar
https://github.com/frenzymadness/python-linux-procfs/tree/python3
Post by Lumir Balhar
Hello.
My name is Lumír and I am a member of Python maintenance team in Red Hat.
I am working on Python 3 related tasks in Red Hat and now I have task
related to Tuned which has python-linux-procfs as a dependency.
So I've made python-linux-procfs Python 3 compatible. Besides other
changes, I had to change setup.py to use setup() function from
setuptools because procfs now depends on six library and it needs to
be specified in setup.py file.
I tested procfs module manually with Python 2.6, 2.7 and 3.6.
When a new version with Python 3 compatibility will be released, I
can also prepare new specfile with python2/python3 subpackages.
Have a nice day.
Lumír
_______________________________________________
_______________________________________________
Lumir Balhar
2017-11-10 13:01:37 UTC
Permalink
Here is updated copr build compatible with epel 6 and epel 7:
https://copr.fedorainfracloud.org/coprs/g/realtime/testing/build/660464/
Post by Lumir Balhar
https://copr.fedorainfracloud.org/coprs/g/realtime/testing/build/658744/
Post by Lumir Balhar
https://github.com/frenzymadness/python-linux-procfs/tree/python3
Post by Lumir Balhar
Hello.
My name is Lumír and I am a member of Python maintenance team in Red Hat.
I am working on Python 3 related tasks in Red Hat and now I have
task related to Tuned which has python-linux-procfs as a dependency.
So I've made python-linux-procfs Python 3 compatible. Besides other
changes, I had to change setup.py to use setup() function from
setuptools because procfs now depends on six library and it needs to
be specified in setup.py file.
I tested procfs module manually with Python 2.6, 2.7 and 3.6.
When a new version with Python 3 compatibility will be released, I
can also prepare new specfile with python2/python3 subpackages.
Have a nice day.
Lumír
_______________________________________________
_______________________________________________
Loading...