Package Details: python-iniparse 0.5-1

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: None
Last Packager: larchunix
Votes: 11
Popularity: 0.000000
First Submitted: 2015-05-21 00:57 (UTC)
Last Updated: 2020-10-31 11:05 (UTC)

Latest Comments

1 2 Next › Last »

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)

azmeuk commented on 2020-01-14 11:06 (UTC) (edited on 2020-01-14 11:17 (UTC) by azmeuk)

Without the package python-tests I have an error when I try to install this package. Maybe this should be added to the dependency list?

==> Starting check()...
Traceback (most recent call last):
  File "runtests.py", line 4, in <module>
    import tests
  File "/home/eloi/.cache/yay/python-iniparse/src/iniparse-0.4/tests/__init__.py", line 6, in <module>
    from . import test_compat
  File "/home/eloi/.cache/yay/python-iniparse/src/iniparse-0.4/tests/test_compat.py", line 13, in <module>
    from test import support as test_support
ModuleNotFoundError: No module named 'test'
==> ERROR: A failure occurred in check().
    Aborting...
Error making: python-iniparse

muhviehstarr commented on 2017-08-05 00:41 (UTC)

download url for the patch has changed: http://pkgs.fedoraproject.org/rpms/python-iniparse/raw/master/f/python-iniparse-python3-compat.patch

Alad commented on 2016-09-06 20:25 (UTC)

Thanks, works fine now.

larchunix commented on 2016-09-06 20:24 (UTC)

URLs updated.