Package Base Details: python-pykickstart

Git Clone URL: (read-only, click to copy)
Submitter: eworm
Maintainer: eworm
Last Packager: eworm
Votes: 3
Popularity: 0.000000
First Submitted: 2015-09-04 13:10
Last Updated: 2016-07-04 20:59

Latest Comments

dncrash commented on 2018-12-18 15:21

I had the same problems as gojun077 and his fix worked (I installed python-orderedset and fixed the import).

I also had a problem with urlgrabber not being installed even though it's listed as a dependency. Shouldn't it install automatically?

==> Missing dependencies: -> urlgrabber ==> ERROR: Could not resolve all dependencies. Error making: python-pykickstart (python-pykickstart pykickstart-tools)

gojun077 commented on 2017-04-13 06:07

Note that the source on github is intended to be built for RHEL and Fedora. The Python3 module orderedset is renamed to 'ordered_set' on Fedora. But on non-RHEL Linux distro's this will cause the following error in

Traceback (most recent call last):
File "/usr/bin/ksvalidator", line 33, in <module>
from pykickstart.parser import KickstartParser, preprocessKickstart
File "/usr/lib/python3.6/site-packages/pykickstart/", line 40, in <module>
from ordered_set import OrderedSet # type: ignore
ModuleNotFoundError: No module named 'ordered_set'

To fix this error, first make sure you have installed the AUR package 'python-orderedset' (python3) or installed orderedset from pip (python3). Next edit /usr/lib/python3.6/site-packages/pykickstart/ line 40 and replace 'ordered_set' with 'orderedset'

You should then be good to go!

Maintainer: please add AUR python-orderedset to list of deps and use sed in the PKGBUILD to rename the python module in line 40 of ''

gojun077 commented on 2016-10-15 10:53

The "Download snapshot" link points to

instead of

Also the sha1sum needs to be updated for which gets downloaded before building the .xz package.

Salamandar commented on 2016-09-08 16:59

Got an error while starting blivet :

Traceback (most recent call last):
File "/usr/bin/blivet-gui-daemon", line 38, in <module>
from blivetgui.communication.server import BlivetUtilsServer
File "/usr/lib/python3.5/site-packages/blivetgui/communication/", line 35, in <module>
from ..blivet_utils import BlivetUtils
File "/usr/lib/python3.5/site-packages/blivetgui/", line 44, in <module>
import pykickstart.parser
File "/usr/lib/python3.5/site-packages/pykickstart/", line 40, in <module>
from ordered_set import OrderedSet # type: ignore
ImportError: No module named 'ordered_set'

simonsd commented on 2016-07-04 07:53

Installation fails because this package builds both python-pykickstart and python2-pykickstart. Pacman notices the 2 packages install the same files and errors out.

Removing one of the packages from the pkgname array, removing the corresponding package_ function (though not really required as it will most likely not be called) and renaming the remaining package_ function to simply "package()" works for me.