37 Commits

Author SHA256 Message Date
107d83a719 Accepting request 1084864 from devel:languages:python
- update to 2.4.1:
  * Attribute syntax for case insensitive flag
    optionally allows a space, it does not require one.
  * Update to support changes related to `:lang()` in
    the official CSS spec. `:lang("")` should match unspecified
  * languages, e.g. `lang=""`, but not `lang=und`.
  * Only `:is()` and `:where()` should allow forgiving
    selector lists according to latest CSS (as far as Soup
  * Sieve supports "forgiving" which is limited to empty
    selectors).
  * Formally drop Python 3.6.
  * Formally declare support for Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1084864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=18
2023-05-09 11:06:04 +00:00
5d2201b20b - update to 2.4.1:
* Attribute syntax for case insensitive flag
    optionally allows a space, it does not require one.
  * Update to support changes related to `:lang()` in
    the official CSS spec. `:lang("")` should match unspecified
  * languages, e.g. `lang=""`, but not `lang=und`.
  * Only `:is()` and `:where()` should allow forgiving
    selector lists according to latest CSS (as far as Soup
  * Sieve supports "forgiving" which is limited to empty
    selectors).
  * Formally drop Python 3.6.
  * Formally declare support for Python 3.11.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=34
2023-05-04 20:08:02 +00:00
6b750f291b Accepting request 1081758 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=17
2023-04-22 19:58:38 +00:00
cf1f6d84c1 Accepting request 1081631 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=32
2023-04-21 13:33:52 +00:00
c283fd80d3 Accepting request 1007461 from devel:languages:python
- update to 2.3.2.post1:
  Fix Documentation for installation from source is outdated.
  Fix some typos in error messages.

OBS-URL: https://build.opensuse.org/request/show/1007461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=16
2022-10-03 11:44:35 +00:00
125c482a98 - update to 2.3.2.post1:
Fix Documentation for installation from source is outdated.
  Fix some typos in error messages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=30
2022-10-01 14:35:50 +00:00
0ffa0b3dda Accepting request 931293 from devel:languages:python
- update to 2.3.1:
  * Ensure attribute selectors match tags that have new lines characters in
    attributes

OBS-URL: https://build.opensuse.org/request/show/931293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=15
2021-11-15 14:26:24 +00:00
5f063acd90 - update to 2.3.1:
* Ensure attribute selectors match tags that have new lines characters in
    attributes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=29
2021-11-13 20:46:42 +00:00
f5dc4196e8 Accepting request 929908 from devel:languages:python
- update to 2.3:
  * Officially support Python 3.10.
  * Add static typing.
  * `:has()`, `:is()`, and `:where()` now use use a forgiving selector list.
  * Add support to output a pretty print format of a compiled `SelectorList` for debug purposes.
  * Some small corner cases discovered with static typing.

OBS-URL: https://build.opensuse.org/request/show/929908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=14
2021-11-09 22:54:06 +00:00
152132d985 - update to 2.3:
* Officially support Python 3.10.
  * Add static typing.
  * `:has()`, `:is()`, and `:where()` now use use a forgiving selector list.
  * Add support to output a pretty print format of a compiled `SelectorList` for debug purposes.
  * Some small corner cases discovered with static typing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=28
2021-11-06 18:02:47 +00:00
a456b249a2 Accepting request 891894 from devel:languages:python
- udpate to 2.2.1:
  - **FIX**: Fix an issue with namespaces when one of the keys is `self`.

OBS-URL: https://build.opensuse.org/request/show/891894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=13
2021-05-12 17:31:20 +00:00
f20f015c2d - udpate to 2.2.1:
- **FIX**: Fix an issue with namespaces when one of the keys is `self`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=26
2021-05-09 17:07:39 +00:00
a207259865 Accepting request 877642 from devel:languages:python
- update to 2.2.0:
  - **NEW**: `:link` and `:any-link` no longer include `#!html <link>` due to a
    change in the level 4 selector specification. This actually yields more
    sane results.
  - **FIX**: BeautifulSoup, when using `find`, is quite forgiving of odd types
    that a user may place in an element's attribute value. Soup Sieve will also
    now be more forgiving and attempt to match these unexpected values in a sane
    manner by normalizing them before compare. (#212)

OBS-URL: https://build.opensuse.org/request/show/877642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=12
2021-03-12 12:31:03 +00:00
62f88065bf - update to 2.2.0:
- **NEW**: `:link` and `:any-link` no longer include `#!html <link>` due to a
    change in the level 4 selector specification. This actually yields more
    sane results.
  - **FIX**: BeautifulSoup, when using `find`, is quite forgiving of odd types
    that a user may place in an element's attribute value. Soup Sieve will also
    now be more forgiving and attempt to match these unexpected values in a sane
    manner by normalizing them before compare. (#212)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=24
2021-03-02 00:27:21 +00:00
be4aee455b Accepting request 867598 from devel:languages:python
- update to 2.1.0:
  - **NEW**: Officially support Python 3.9.
  - **NEW**: Drop official support for Python 3.5.
  - **NEW**: In order to avoid conflicts with future CSS specification changes,
    non-standard pseudo classes will now start with the `:-soup-` prefix. As a
    consequence, `:contains()` will now be known as `:-soup-contains()`, though
    for a time the deprecated form of `:contains()` will still be allowed with
    a warning that users should migrate over to
    `:-soup-contains()`.
   - **NEW**: Added new non-standard pseudo class `:-soup-contains-own()` which
     operates similar to `:-soup-contains()` except that it only looks at text
     nodes directly associated with the currently scoped element and not its
     descendants.
   - **FIX**: Import `bs4` globally instead of in local functions as it appears
     there are no adverse affects due to circular imports as `bs4` does not
     immediately reference `soupsieve` functions and `soupsieve` does not
     immediately reference `bs4` functions. This should give a performance
     boost to functions that had previously included `bs4` locally.

OBS-URL: https://build.opensuse.org/request/show/867598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=11
2021-02-01 12:27:01 +00:00
8ea04db79b - update to 2.1.0:
- **NEW**: Officially support Python 3.9.
  - **NEW**: Drop official support for Python 3.5.
  - **NEW**: In order to avoid conflicts with future CSS specification changes,
    non-standard pseudo classes will now start with the `:-soup-` prefix. As a
    consequence, `:contains()` will now be known as `:-soup-contains()`, though
    for a time the deprecated form of `:contains()` will still be allowed with
    a warning that users should migrate over to
    `:-soup-contains()`.
   - **NEW**: Added new non-standard pseudo class `:-soup-contains-own()` which
     operates similar to `:-soup-contains()` except that it only looks at text
     nodes directly associated with the currently scoped element and not its
     descendants.
   - **FIX**: Import `bs4` globally instead of in local functions as it appears
     there are no adverse affects due to circular imports as `bs4` does not
     immediately reference `soupsieve` functions and `soupsieve` does not
     immediately reference `bs4` functions. This should give a performance
     boost to functions that had previously included `bs4` locally.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=22
2021-01-28 23:18:44 +00:00
6464168434 Accepting request 814548 from devel:languages:python
- update to 2.0.1:
  - **FIX**: Remove unused code.

OBS-URL: https://build.opensuse.org/request/show/814548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=10
2020-06-21 16:50:57 +00:00
44bf5cb366 - update to 2.0.1:
- **FIX**: Remove unused code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=20
2020-06-14 09:13:25 +00:00
30cf84de46 Accepting request 792824 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/792824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=9
2020-04-19 19:49:06 +00:00
58b0269506 Accepting request 786320 from devel:languages:python
The 2.0 breaks beautifulsoup itself...

- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/786320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=8
2020-03-26 23:27:02 +00:00
Tomáš Chvátal
403c53722d Accepting request 785948 from home:pgajdos:python
- version update to 2.0
  - **NEW**: `SelectorSyntaxError` is derived from `Exception` not `SyntaxError`.
  - **NEW**: Remove deprecated `comments` and `icomments` from the API.
  - **NEW**: Drop support for EOL Python versions (Python 2 and Python < 3.5).
  - **FIX**: Corner case with splitting namespace and tag name that that have an escaped `|`.
  - **FIX**: `:placeholder-shown` should not match if the element has content that overrides the placeholder.

OBS-URL: https://build.opensuse.org/request/show/785948
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=17
2020-03-17 14:29:58 +00:00
Tomáš Chvátal
756b3e9b66 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=16
2020-03-13 13:03:13 +00:00
a5f79c7154 Accepting request 758624 from devel:languages:python
- update to 1.9.5:
  * **FIX**: `:placeholder-shown` should not match if the element has content
  that overrides the pl aceholder.
  * **FIX**: `:checked` rule was too strict with `option` elements. The
  specification for `:checked ` does not require an `option` element to be under
  a `select` element.
  * **FIX**: Fix level 4 `:lang()` wildcard match handling with singletons.
  Implicit wildcard match ing should not match any singleton. Explicit wildcard
  matching (`*` in the language range: `*-US`) is allowed to match singletons.

OBS-URL: https://build.opensuse.org/request/show/758624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=7
2020-01-01 13:57:43 +00:00
b0379f14bd - update to 1.9.5:
* **FIX**: `:placeholder-shown` should not match if the element has content
  that overrides the pl aceholder.
  * **FIX**: `:checked` rule was too strict with `option` elements. The
  specification for `:checked ` does not require an `option` element to be under
  a `select` element.
  * **FIX**: Fix level 4 `:lang()` wildcard match handling with singletons.
  Implicit wildcard match ing should not match any singleton. Explicit wildcard
  matching (`*` in the language range: `*-US`) is allowed to match singletons.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=14
2019-12-20 19:03:52 +00:00
f5025a1378 Accepting request 729764 from devel:languages:python
- Update to 1.9.2:
  * FIX: [attr!=value] pattern was mistakenly using :not([attr|=value]) logic instead of :not([attr=value]).
  * FIX: Remove undocumented _QUIRKS mode flag

OBS-URL: https://build.opensuse.org/request/show/729764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=6
2019-09-23 10:04:04 +00:00
Tomáš Chvátal
7ccf80a465 - Update to 1.9.2:
* FIX: [attr!=value] pattern was mistakenly using :not([attr|=value]) logic instead of :not([attr=value]).
  * FIX: Remove undocumented _QUIRKS mode flag

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=12
2019-09-10 10:13:13 +00:00
bdb7d0b273 Accepting request 717581 from devel:languages:python
- Update to 1.9.2:
  * FIX: Shortcut last descendant calculation if possible for performance.
  * FIX: Fix issue where Doctype strings can be mistaken for a normal text node in some cases.
  * FIX: A top level tag is not a :root tag if it has sibling text nodes or tag nodes. This is an issue that mostly manifests when using html.parser as the parser will allow multiple root nodes.

OBS-URL: https://build.opensuse.org/request/show/717581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=5
2019-07-30 11:04:54 +00:00
Tomáš Chvátal
4c615e2879 - Update to 1.9.2:
* FIX: Shortcut last descendant calculation if possible for performance.
  * FIX: Fix issue where Doctype strings can be mistaken for a normal text node in some cases.
  * FIX: A top level tag is not a :root tag if it has sibling text nodes or tag nodes. This is an issue that mostly manifests when using html.parser as the parser will allow multiple root nodes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=10
2019-07-22 12:56:27 +00:00
8a285e85b2 Accepting request 704177 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=4
2019-05-22 08:54:34 +00:00
Tomáš Chvátal
5d01e687ae Accepting request 704174 from home:pgajdos
- version update to 1.9.1
  - FIX: `:root`, `:contains()`, `:default`, `:indeterminate`, 
    `:lang()`, and `:dir()` will properly account for HTML
    `iframe` elements in their logic when selecting or matching
     an element. Their logic will be restricted to the document
     for which the element under consideration applies.
  - FIX: HTML pseudo-classes will check that all key elements
    checked are in the XHTML namespace (HTML parsers that do
    not provide namespaces will assume the XHTML namespace).
  - FIX: Ensure that all pseudo-class names are case
    insensitive and allow CSS escapes.

OBS-URL: https://build.opensuse.org/request/show/704174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=8
2019-05-20 09:10:18 +00:00
d9776b5bf8 Accepting request 691735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/691735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=3
2019-04-09 18:17:01 +00:00
Tomáš Chvátal
82547940f0 Accepting request 691731 from home:pgajdos
- version update to 1.9
  * NEW: Allow :contains() to accept a list of text to search 
    for. (#115)
  * NEW: Add new escape function for escaping CSS identifiers. (#125)
  * NEW: Deprecate comments and icomments functions in the API to ensure
    Soup Sieve focuses only in CSS selectors. comments and icomments
    will most likely be removed in 2.0. (#130)
  * NEW: Add Python 3.8 support. (#133)
  * FIX: Don't install test files when installing the soupsieve
    package. (#111)
  * FIX: Improve efficiency of :contains() comparison.
  * FIX: Null characters should translate to the Unicode REPLACEMENT
    CHARACTER (U+FFFD) according to the specification. This applies
    to CSS escaped NULL characters as well. (#124)
  * FIX: Escaped EOF should translate to U+FFFD outside of CSS strings.
    In a string, they should just be ignored, but as there is no case
    where we could resolve such a string and still have a valid selector,
    string handling remains the same. (#128)

OBS-URL: https://build.opensuse.org/request/show/691731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=6
2019-04-05 08:37:20 +00:00
e9ee854383 Accepting request 682424 from devel:languages:python
- Fix test macro expansion

OBS-URL: https://build.opensuse.org/request/show/682424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=2
2019-03-12 08:44:29 +00:00
Tomáš Chvátal
3380460517 - Fix test macro expansion
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=4
2019-03-07 11:20:56 +00:00
Stephan Kulow
de475dbdcf Accepting request 680468 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/680468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=1
2019-03-01 19:32:25 +00:00
Tomáš Chvátal
8329177182 - Fetch package from pypi
- Update to 1.8:
  * no obvious changelog
- Run tests
- Add missing dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=2
2019-03-01 11:41:30 +00:00
Tomáš Chvátal
a5d550f2f4 osc copypac from project:system:homeautomation:home-assistant package:python-soupsieve revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=1
2019-03-01 11:31:48 +00:00