# python-six noarch rpm

**URL:** <https://forums.suse.com/t/python-six-noarch-rpm/35595>\
**Category:** SLES Configure-Administer\
**Created:** [May 6, 2021, 3:15pm UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595 "2021-05-06T15:15:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgarvey](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@dgarvey](https://forums.suse.com/u/dgarvey)\
**Post date:** [May 6, 2021, 3:15pm UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595/1 "2021-05-06T15:15:47Z")

</div>

I have built noarch rpm’s in the past and have never included binaries.  
:~\> rpm -qil python-six-1.11.0-9.21.2.noarch  
Name : python-six  
Version : 1.11.0  
Release : 9.21.2  
Architecture: noarch  
Install Date: Wed 21 Apr 2021 03:23:46 PM EDT  
Group : Development/Libraries/Python  
Size : 104378  
License : MIT  
Signature : RSA/SHA256, Mon 22 Jul 2019 05:02:34 AM EDT, Key ID 70af9e8139db7c82  
Source RPM : python-six-1.11.0-9.21.2.src.rpm  
Build Date : Mon 22 Jul 2019 05:01:48 AM EDT  
Build Host : sheep22  
Relocations : (not relocatable)  
Packager : [https://www.suse.com/](https://www.suse.com/)  
Vendor : SUSE LLC [https://www.suse.com/](https://www.suse.com/)  
URL : [http://pypi.python.org/pypi/six/](http://pypi.python.org/pypi/six/)  
Summary : Python 2 and 3 compatibility utilities  
Description :  
Six is a Python 2 and 3 compatibility library. It provides utility  
functions for smoothing over the differences between the Python  
versions with the goal of writing Python code that is compatible on  
both Python versions. See the documentation for more information on  
what is provided.  
Distribution: SUSE Linux Enterprise 12  
/usr/lib/python2.7/site-packages/six-1.11.0-py2.7.egg-info  
/usr/lib/python2.7/site-packages/six.py  
/usr/lib/python2.7/site-packages/six.pyc \<-----\<\<\<\<  
/usr/lib/python2.7/site-packages/six.pyo  
/usr/share/doc/packages/python-six  
/usr/share/doc/packages/python-six/CHANGES  
/usr/share/doc/packages/python-six/LICENSE  
/usr/share/doc/packages/python-six/README.rst  
:~\>

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 6, 2021, 9:21pm UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595/2 "2021-05-06T21:21:31Z")

</div>

@dgarvey Hi and welcome to the Forum 🙂  
I see the byte compiled file on the OBS version;  
[https://build.opensuse.org/build/devel:languages:python/SLE\_15\_SP2/x86\_64/python-six/\_log](https://build.opensuse.org/build/devel:languages:python/SLE_15_SP2/x86_64/python-six/_log)

---

<div class="post-metadata">

**Author:** ![dgarvey](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@dgarvey](https://forums.suse.com/u/dgarvey)\
**Post date:** [May 7, 2021, 4:10pm UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595/3 "2021-05-07T16:10:54Z")

</div>

Hi Malcolm,  
if this is a binary should it be removed for the noarch rpm?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 7, 2021, 6:20pm UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595/4 "2021-05-07T18:20:04Z")

</div>

@dgarvey Hi, as far as I know (since no errors or warnings are emitted from the build log) it’s acceptable to have them present, since they get executed in the python virtual environment.

---

<div class="post-metadata">

**Author:** ![dgarvey](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@dgarvey](https://forums.suse.com/u/dgarvey)\
**Post date:** [May 8, 2021, 12:37am UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595/5 "2021-05-08T00:37:17Z")

</div>

Doesn’t the module six deal with python 2 and 3 compatibility? I would think this would be an issue considering it would need to be compiled at runtime? Not to mention noarch rpm’s should be just files only.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 8, 2021, 2:42am UTC](https://forums.suse.com/t/python-six-noarch-rpm/35595/6 "2021-05-08T02:42:27Z")

</div>

@dgarvey Hi, no, the python packages are now build per python version 3.6,3.8,3.9 etc, likewise python 2 is considered legacy…
