Package Details: python-iniparse 0.5.1-2

Git Clone URL: https://aur.archlinux.org/python-iniparse.git (read-only, click to copy)
Package Base: python-iniparse
Description: Better INI parser library for Python
Upstream URL: https://github.com/candlepin/python-iniparse
Licenses: custom:MIT
Submitter: larchunix
Maintainer: rprice
Last Packager: rprice
Votes: 12
Popularity: 0.000128
First Submitted: 2015-05-21 00:57 (UTC)
Last Updated: 2026-05-04 23:14 (UTC)

Latest Comments

1 2 Next › Last »

rprice commented on 2026-05-04 23:32 (UTC)

I have a patch for the problem and made a new release. Please tell me if this fixes the problem you were having.

rprice commented on 2026-05-04 22:05 (UTC)

Yeah, I just had that as well, there doesn't seem to be a newer version on GitHub either. I can see if I can fix the error in a little bit.

schnedan commented on 2026-05-03 18:44 (UTC)

failed to build:

======================================================================
ERROR: test_queue (test_multiprocessing.TestIni.test_queue)


Traceback (most recent call last):
File "/tmp/trizen-danny/python-iniparse/src/python-iniparse-0.5.1/tests/test_multiprocessing.py", line 27, in test_queue
p.start()
~^^
File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
~^^^^^^
File "/usr/lib/python3.14/multiprocessing/context.py", line 230, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
~^^^^^^^^^^^^^
File "/usr/lib/python3.14/multiprocessing/context.py", line 306, in _Popen
return Popen(process_obj)
File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in init
super().init(process_obj)
^^^^^^^^^^^^^
File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
^^^^^^^^^^^^^
File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch
reduction.dump(process_obj, buf)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
~^^^^^
_pickle.PicklingError: Can't pickle local object <function TestIni.test_queue.\<locals>.getxy at 0x7f2428bc61f0>
when serializing dict item '_target'
when serializing multiprocessing.context.Process state
when serializing multiprocessing.context.Process object


Ran 120 tests in 0.035s

FAILED (errors=1, skipped=25)

rprice commented on 2024-12-13 06:22 (UTC)

Just made a new version, should be on the mirrors shortly.

kode54 commented on 2024-05-06 05:59 (UTC)

Oh, that's why I had no trouble installing it. I always configure my system !check.

ccorn commented on 2024-05-01 09:11 (UTC)

@sseering: My workaround is to use python-iniparse-git instead.

sseering commented on 2024-04-14 12:58 (UTC)

This package does not build anymore despite not being changed. I have old machines where this package is installed successfully with the current version 0.5-1. But on my new machines it does not compile anymore with tests failing.

==> Starting check()...
........................................./home/volt/.cache/yay/python-iniparse/src/iniparse-0.5/tests/test_fuzz.py:105: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
  cc_py.readfp(StringIO(s))
s/home/volt/.cache/yay/python-iniparse/src/iniparse-0.5/tests/test_compat.py:99: DeprecationWarning: Please use assertFalse instead.
  self.failIf('__name__' in cf.options("Foo Bar"),
/home/volt/.cache/yay/python-iniparse/src/iniparse-0.5/tests/test_compat.py:104: DeprecationWarning: Please use assertTrue instead.
  self.failUnless(cf.remove_option('Foo Bar', 'foo'),
........F.............F...............F...............
======================================================================
FAIL: test_read_returns_file_list (tests.test_compat.RawConfigParserTestCase.test_read_returns_file_list)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/volt/.cache/yay/python-iniparse/src/iniparse-0.5/tests/test_compat.py", line 280, in test_read_returns_file_list
    self.assertEqual(parsed_files, [file1])
AssertionError: Lists differ: [] != ['cfgparser.1']

Second list contains 1 additional elements.
First extra element 0:
'cfgparser.1'

- []
+ ['cfgparser.1']

======================================================================
FAIL: test_read_returns_file_list (tests.test_compat.ConfigParserTestCase.test_read_returns_file_list)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/volt/.cache/yay/python-iniparse/src/iniparse-0.5/tests/test_compat.py", line 280, in test_read_returns_file_list
    self.assertEqual(parsed_files, [file1])
AssertionError: Lists differ: [] != ['cfgparser.1']

Second list contains 1 additional elements.
First extra element 0:
'cfgparser.1'

- []
+ ['cfgparser.1']

======================================================================
FAIL: test_read_returns_file_list (tests.test_compat.SafeConfigParserTestCase.test_read_returns_file_list)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/volt/.cache/yay/python-iniparse/src/iniparse-0.5/tests/test_compat.py", line 280, in test_read_returns_file_list
    self.assertEqual(parsed_files, [file1])
AssertionError: Lists differ: [] != ['cfgparser.1']

Second list contains 1 additional elements.
First extra element 0:
'cfgparser.1'

- []
+ ['cfgparser.1']

----------------------------------------------------------------------
Ran 96 tests in 0.035s

FAILED (failures=3, skipped=1)

Possible soultion: https://github.com/candlepin/python-iniparse/pull/29

pervezali commented on 2020-06-05 09:56 (UTC)

@ccorn: thanks for the solution.

larchunix commented on 2020-01-17 10:50 (UTC)

@azmeur, @ccorn: thanks, it should be fixed now.

ccorn commented on 2020-01-15 14:27 (UTC)

@azmeuk: Yes, this needs a makedepends=(python-tests)