Package Details: python-orderedset 2.0.3-4

Git Clone URL: https://aur.archlinux.org/python-orderedset.git (read-only, click to copy)
Package Base: python-orderedset
Description: An ordered set implementation in cython
Upstream URL: https://github.com/simonpercivall/orderedset
Licenses: BSD-3-Clause
Submitter: renek
Maintainer: alerque (renek)
Last Packager: alerque
Votes: 3
Popularity: 0.000000
First Submitted: 2015-11-29 10:34 (UTC)
Last Updated: 2024-04-28 21:07 (UTC)

Latest Comments

alerque commented on 2024-05-01 07:10 (UTC)

@MarsSeed Please stop it. You are abusing the OOD flag, this is not OOD. Checks are failing due to upstream not supporting Python 3.12, see my previous comments here.

MarsSeed commented on 2024-04-30 12:05 (UTC)

2.0.3-4 is still broken in check():

==> Starting check()...
......E......E...............E.E
======================================================================
ERROR: test_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_difference_with_iterable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-orderedset/src/orderedset-2.0.3/tests/test_orderedset.py", line 276, in test_difference_with_iterable
    self.assertEqual([3, 2, 4, 1] - OrderedSet([2, 4]), OrderedSet([3, 1]))
                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'list' and 'OrderedSet'

======================================================================
ERROR: test_intersection_with_iterable (tests.test_orderedset.TestOrderedset.test_intersection_with_iterable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-orderedset/src/orderedset-2.0.3/tests/test_orderedset.py", line 271, in test_intersection_with_iterable
    self.assertEqual([1, 2, 3] & OrderedSet([3, 2]), OrderedSet([2, 3]))
                     ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for &: 'list' and 'OrderedSet'

======================================================================
ERROR: test_symmetric_difference_with_iterable (tests.test_orderedset.TestOrderedset.test_symmetric_difference_with_iterable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-orderedset/src/orderedset-2.0.3/tests/test_orderedset.py", line 261, in test_symmetric_difference_with_iterable
    self.assertEqual(oset1 ^ [1], OrderedSet([]))
                     ~~~~~~^~~~~
  File "lib/orderedset/_orderedset.pyx", line 323, in orderedset._orderedset._OrderedSet.__xor__
    return (self - other) | (other - self)
TypeError: unsupported operand type(s) for -: 'list' and 'OrderedSet'

======================================================================
ERROR: test_union_with_iterable (tests.test_orderedset.TestOrderedset.test_union_with_iterable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/python-orderedset/src/orderedset-2.0.3/tests/test_orderedset.py", line 251, in test_union_with_iterable
    self.assertEqual([2] | oset1, OrderedSet([2, 1]))
                     ~~~~^~~~~~~
TypeError: unsupported operand type(s) for |: 'list' and 'OrderedSet'

----------------------------------------------------------------------
Ran 32 tests in 0.006s

FAILED (errors=4)
==> ERROR: A failure occurred in check().

alerque commented on 2024-04-30 10:15 (UTC)

This package does not pass checks any more because the upstream project no longer fully supports current Python. It can be built with --nocheck but some things will not function correctly. See this comment for more details, but consider whether you should be using [extra]/python-ordered-set instead.

alerque commented on 2021-08-14 07:54 (UTC)

PSA: Like most of the PKGBUILDs that I (co-)maintain, I host prebuilt packages for this in my user repository and all its dependencies for those who wish to install it using pacman without messing around with building from the AUR. Issue reports or contributions are welcome either in comments below or via this GitHub repository.