Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #477

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
python3-soupsieve: Upgrade 2.2.1 -> 2.3
Upgrade to release 2.3:

- Officially support Python 3.10.
- Add static typing.
- :has(), :is(), and :where() now use use a forgiving selector
  list. While not as forgiving as CSS might be, it will forgive
  such things as empty sets and empty slots due to multiple
  consecutive commas, leading commas, or trailing commas.
  Essentially, these pseudo-classes will match all non-empty
  selectors and ignore empty ones. As the scraping environment
  is different than a browser environment, it was chosen not to
  aggressively forgive bad syntax and invalid features to ensure
  the user is alerted that their program may not perform as
  expected.
- Add support to output a pretty print format of a compiled
  SelectorList for debug purposes.
- Some small corner cases discovered with static typing.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
  • Loading branch information
leon-anavi authored and Trevor Gamblin committed Nov 9, 2021
commit 8801bbe00d350de5861d61817549b9a676737b3a
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ HOMEPAGE = "https://github.com/facelessuser/soupsieve"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=33c3a77def9b3ad83e01c65bdcc1af67"

SRC_URI[sha256sum] = "052774848f448cf19c7e959adf5566904d525f33a3f8b6ba6f6f8f26ec7de0cc"
SRC_URI[sha256sum] = "e4860f889dfa88774c07da0b276b70c073b6470fa1a4a8350800bb7bce3dcc76"

inherit pypi setuptools3 ptest

SRC_URI += " \
file://run-ptest \
"

RDEPENDS:${PN} += "\
${PYTHON_PN}-beautifulsoup4 \
"

RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
${PYTHON_PN}-beautifulsoup4 \
Expand Down