Package Details: python-pykickstart 3.54-1

Git Clone URL: https://aur.archlinux.org/python-pykickstart.git (read-only, click to copy)
Package Base: python-pykickstart
Description: Python module for manipulating kickstart files
Upstream URL: http://fedoraproject.org/wiki/Pykickstart
Licenses: GPL-2.0-only
Submitter: eworm
Maintainer: None
Last Packager: cqzw555
Votes: 4
Popularity: 0.000006
First Submitted: 2015-09-04 13:10 (UTC)
Last Updated: 2024-05-14 05:50 (UTC)

Latest Comments

alwyn commented on 2023-05-02 15:49 (UTC)

Any update or should we request to orphan this package?

antdking commented on 2022-05-14 19:18 (UTC) (edited on 2022-05-14 19:19 (UTC) by antdking)

Could the Maintainer update this Package:

  • Remove urlgrabber, this was removed from pykickstart in v2.0
  • Updated to a recent version of pykickstart: this version (3.3) was released in May 2015.
  • Source from a repo (pypi, github)

Add missing dependencies:

  • python-setuptools (build dep)
  • python-six (removed in v3.33)
  • python-orderedset (removed in v3.28)

ref: https://github.com/pykickstart/pykickstart/blob/r3.3-1/pykickstart.spec#L15-L32

dncrash commented on 2018-12-18 15:21 (UTC)

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 (UTC)

Note that the source on github is intended to be built for RHEL and Fedora. The Python3 module orderedset https://pypi.python.org/pypi/orderedset/ is renamed to 'ordered_set' on Fedora. But on non-RHEL Linux distro's this will cause the following error in parser.py: 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/parser.py", 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/parser.py 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 'parser.py'

gojun077 commented on 2016-10-15 10:53 (UTC)

The "Download snapshot" link points to https://aur.archlinux.org/cgit/aur.git/snapshot/python-pykickstart.tar.gz instead of https://aur.archlinux.org/cgit/aur.git/snapshot/python2-pykickstart.tar.gz Also the sha1sum needs to be updated for pykickstart-1.99.66.zip which gets downloaded before building the .xz package.

Salamandar commented on 2016-09-08 16:59 (UTC)

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/server.py", line 35, in <module> from ..blivet_utils import BlivetUtils File "/usr/lib/python3.5/site-packages/blivetgui/blivet_utils.py", line 44, in <module> import pykickstart.parser File "/usr/lib/python3.5/site-packages/pykickstart/parser.py", 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 (UTC)

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.