pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-beautifulsoup4



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jun 11 11:08:43 UTC 2026

Modified Files:
        pkgsrc/www/py-beautifulsoup4: Makefile distinfo

Log Message:
py-beautifulsoup4: updated to 4.15.0

4.15.0 (20260607)

* This is the last Beautiful Soup release to officially support Python
  3.7.

* This is also the last release to support the obsolete methods,
  attributes and classes that were deprecated in 4.13.0. In a
  subsequent point release, the DeprecationWarning issued when you use
  these obsolete features will be replaced by NotImplementedError,
  giving you a final chance to change your code before the
  implementations are removed entirely. Once the features are removed,
  code that tries to use them will start behaving strangely, since
  Beautiful Soup will generally interpret the method and attribute
  names as tag names.

* It is now possible to call new_tag() or new_string() directly on an
  existing Tag or NavigableString object, rather than the associated
  BeautifulSoup object. Note that this only works if the object is
  currently inside a parse tree. This means you can't call new_tag()
  or new_string() on an object that (to take the most obvious example)
  was itself created with new_tag() or new_string(). [bug=2102119]

* The type hints for the overloaded find* methods have been redone to
  eliminate type checker overrides. [bug=2122019]

* Explicitly specify the type hint for the PageElement.text property
  [bug=2153390]

* Change the html.parser tree builder's code for handling numeric
  character references, to avoid a crash when using Python versions
  that include the fix to Python issue https://bugs.python.org/issue13633
  (e.g. Python 3.11.13). [bug=2134393]

* Skip the lxml tree builder's test_surrogate_in_character_reference test
  if the libxml2 version is less than 2.13.0. Prior versions of libxml2
  don't issue the REPLACEMENT CHARACTER we're expecting. [bug=2134346]

* When passed a BeautifulSoup object, Tag.append will return a list of
  all elements that were appended, not just the first one. Note that
  this changes the return value type hint for the method, from
  PageElement to PageElement|List[PageElement].

* Fix an unhandled exception in Tag.append when passed an empty
  BeautifulSoup object. [bug=2140924]

* Fix a bug in the html.parser tree builder that triggers if a single
  document includes both the "<br>" version of a void element and
  the "<br/>" version. [bug=2154141]

* No bug was ever filed for this, but it's possible that you could get a
  bizarre return value by passing BeautifulSoup objects into
  Tag.extend(). The return value is now consistently the list of
  elements that were added to the Tag.

* Removed the internal _stacklevel argument to the find* methods, in favor of
  calculating the appropriate stack level in the rare cases where a
  find* method needs to issue a Python warning. Removing an argument makes
  the huge number of overrides more manageable.

* The HTML-related regular expressions and data structures in
  EntitySubstitution are now instantiated lazily when one of them is
  first accessed. This makes initial import a bit faster. [bug=2154394]


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/www/py-beautifulsoup4/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/py-beautifulsoup4/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-beautifulsoup4/Makefile
diff -u pkgsrc/www/py-beautifulsoup4/Makefile:1.41 pkgsrc/www/py-beautifulsoup4/Makefile:1.42
--- pkgsrc/www/py-beautifulsoup4/Makefile:1.41  Mon Dec  1 19:48:53 2025
+++ pkgsrc/www/py-beautifulsoup4/Makefile       Thu Jun 11 11:08:43 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2025/12/01 19:48:53 adam Exp $
+# $NetBSD: Makefile,v 1.42 2026/06/11 11:08:43 adam Exp $
 
-DISTNAME=      beautifulsoup4-4.14.3
+DISTNAME=      beautifulsoup4-4.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/}
@@ -13,9 +13,10 @@ LICENSE=     mit
 EXTRACT_USING= bsdtar
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
-DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
-DEPENDS+=      ${PYPKGPREFIX}-soupsieve>=1.2:../../www/py-soupsieve
+DEPENDS+=      ${PYPKGPREFIX}-soupsieve>=1.6.1:../../www/py-soupsieve
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0.0:../../devel/py-typing-extensions
+# lxml
+DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/www/py-beautifulsoup4/distinfo
diff -u pkgsrc/www/py-beautifulsoup4/distinfo:1.33 pkgsrc/www/py-beautifulsoup4/distinfo:1.34
--- pkgsrc/www/py-beautifulsoup4/distinfo:1.33  Mon Dec  1 19:48:53 2025
+++ pkgsrc/www/py-beautifulsoup4/distinfo       Thu Jun 11 11:08:43 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.33 2025/12/01 19:48:53 adam Exp $
+$NetBSD: distinfo,v 1.34 2026/06/11 11:08:43 adam Exp $
 
-BLAKE2s (beautifulsoup4-4.14.3.tar.gz) = 88dfa351e53d29b4d7bd18d531a9c2389ce2a58fb405e99b5af914149dca5d33
-SHA512 (beautifulsoup4-4.14.3.tar.gz) = 5c535534045cac033112b7c060539d6b5a748620df9d15fb4c719708cde263ac506f3734a39156681633942543dc555af51c619dae430311a8889204d8ee325e
-Size (beautifulsoup4-4.14.3.tar.gz) = 627737 bytes
+BLAKE2s (beautifulsoup4-4.15.0.tar.gz) = e16277db05e97acb6dbe905e763caffe5b8cc66754f367d6aae892a9e3ea784c
+SHA512 (beautifulsoup4-4.15.0.tar.gz) = ccf07cac23ca52f50802b3d6271b42c1367022e2bc409b1be2924bbbd274cebce3b5afde1c1c4f253802b7a58f907cb60a29d347ae2765c33ce85bec9dcc473c
+Size (beautifulsoup4-4.15.0.tar.gz) = 632571 bytes



Home | Main Index | Thread Index | Old Index