Needs python-more-itertools in deps
Search Criteria
Package Details: python-cssutils 2.11.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-cssutils.git (read-only, click to copy) |
---|---|
Package Base: | python-cssutils |
Description: | CSS Cascading Style Sheets library for Python |
Upstream URL: | https://github.com/jaraco/cssutils |
Licenses: | GPL3, LGPL3 |
Submitter: | eschwartz |
Maintainer: | thrasibule |
Last Packager: | thrasibule |
Votes: | 5 |
Popularity: | 0.98 |
First Submitted: | 2020-08-20 01:53 (UTC) |
Last Updated: | 2024-09-05 20:55 (UTC) |
Dependencies (10)
- python (python37AUR)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-setuptools-scm (make)
- python-toml (make)
- python-wheel (make)
- python-jaraco.test (check)
- python-mockAUR (check)
- python-pytest (check)
Required by (5)
Sources (1)
micwoj92 commented on 2025-07-10 03:55 (UTC)
clsty commented on 2024-02-03 02:27 (UTC) (edited on 2024-02-03 02:30 (UTC) by clsty)
I've met two users link1 link2 claiming that installation of this package failed, even by using makepkg
.
And they both claimed that after manually installing python-setuptools-scm
and python-wheel
, the problem fixed.
It's kinda weird since python-setuptools-scm
and python-wheel
are already listed here as make dependencies.
Thaodan commented on 2022-11-09 12:36 (UTC)
This was dropped from the official repos because it is dead upstream and all officially packaged software has switched to the maintained fork "python-css-parser". Please encourage remaining software that still uses python-cssutils, to make the same switch.
@eschwartz: How true is that now that the original upstream is active again?
lmartinez-mirror commented on 2022-04-20 16:30 (UTC) (edited on 2022-04-20 18:30 (UTC) by lmartinez-mirror)
This package requires python-setuptools-scm
and python-wheel
as makedepends to build and package properly.
eschwartz commented on 2020-08-23 03:39 (UTC)
Since cssutils is end of life, I did not make any effort to fix testsuite errors when dropping it. The one you refer to was fixed in css-parser via https://github.com/ebook-utils/css-parser/commit/1829247f4a58c60d008570b816ea83cbf0d5cbd5
P.S. The tests do not fail if you build in a clean chroot, this is because they only fail if python-chardet is installed.
P.P.S. You did not post the error message, which was
======================================================================
FAIL: test_tryEncodings (cssutils.tests.test_encutils.AutoEncodingTestCase)
encutils.tryEncodings
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/python-cssutils/src/cssutils-1.0.2/src/cssutils/tests/test_encutils/__init__.py", line 206, in test_tryEncodings
self.assertEqual(exp, encutils.tryEncodings(test))
AssertionError: 'windows-1252' != 'Windows-1252'
- windows-1252
? ^
+ Windows-1252
? ^
----------------------------------------------------------------------
The "FAILED" and "a failure occurred in check()" part is not actually an error message, it simply states that an error previously occurred. Please post full errors in future. Fortunately I knew why this happened, because the css-parser fork needed to clean up a number of problems in the code.
eschwartz commented on 2020-08-23 03:37 (UTC)
This was dropped from the official repos because it is dead upstream and all officially packaged software has switched to the maintained fork "python-css-parser". Please encourage remaining software that still uses python-cssutils, to make the same switch.
Pinned Comments
eschwartz commented on 2020-08-23 03:37 (UTC)
This was dropped from the official repos because it is dead upstream and all officially packaged software has switched to the maintained fork "python-css-parser". Please encourage remaining software that still uses python-cssutils, to make the same switch.