pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-yarl



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 30 14:45:20 UTC 2024

Modified Files:
        pkgsrc/www/py-yarl: Makefile PLIST distinfo

Log Message:
py-yarl: update to 1.17.0.

1.17.0
======

*(2024-10-28)*

Features
--------

- Added :attr:`~yarl.URL.host_port_subcomponent` which returns the :rfc:`3986#section-3.2.2` host and :rfc:`3986#section-3.2.3` port subcomponent -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1375`.

----

1.16.0
======

*(2024-10-21)*

Bug fixes
---------

- Fixed blocking I/O to load Python code when creating a new :class:`~yarl.URL` with non-ascii characters in the network location part -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1342`.

Removals and backward incompatible breaking changes
---------------------------------------------------

- Migrated to using a single cache for encoding hosts -- by :user:`bdraco`.

  Passing ``ip_address_size`` and ``host_validate_size`` to :py:meth:`~yarl.cache_configure` is deprecated in favor of the new ``encode_host_size`` parameter and will be removed in a future release. 
For backwards compatibility, the old parameters affect the ``encode_host`` cache size.

  *Related issues and pull requests on GitHub:*
  :issue:`1348`, :issue:`1357`, :issue:`1363`.

Miscellaneous internal changes
------------------------------

- Improved performance of constructing :class:`~yarl.URL` -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1336`.

- Improved performance of calling :py:meth:`~yarl.URL.build` and constructing unencoded :class:`~yarl.URL` -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1345`.

- Reworked the internal encoding cache to improve performance on cache hit -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1369`.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/www/py-yarl/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-yarl/PLIST
cvs rdiff -u -r1.39 -r1.40 pkgsrc/www/py-yarl/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-yarl/Makefile
diff -u pkgsrc/www/py-yarl/Makefile:1.42 pkgsrc/www/py-yarl/Makefile:1.43
--- pkgsrc/www/py-yarl/Makefile:1.42    Sat Oct 19 16:19:41 2024
+++ pkgsrc/www/py-yarl/Makefile Wed Oct 30 14:45:20 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2024/10/19 16:19:41 adam Exp $
+# $NetBSD: Makefile,v 1.43 2024/10/30 14:45:20 wiz Exp $
 
-DISTNAME=      yarl-1.15.5
+DISTNAME=      yarl-1.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=y/yarl/}
@@ -21,6 +21,9 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.3.1:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
 
+# as of 1.17.0
+# 1348 passed, 4 xfailed, 2 errors
+
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 TOOL_DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli

Index: pkgsrc/www/py-yarl/PLIST
diff -u pkgsrc/www/py-yarl/PLIST:1.8 pkgsrc/www/py-yarl/PLIST:1.9
--- pkgsrc/www/py-yarl/PLIST:1.8        Wed Oct  9 08:23:20 2024
+++ pkgsrc/www/py-yarl/PLIST    Wed Oct 30 14:45:20 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2024/10/09 08:23:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2024/10/30 14:45:20 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/NOTICE
@@ -8,6 +8,18 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/yarl/__init__.py
 ${PYSITELIB}/yarl/__init__.pyc
 ${PYSITELIB}/yarl/__init__.pyo
+${PYSITELIB}/yarl/_parse.py
+${PYSITELIB}/yarl/_parse.pyc
+${PYSITELIB}/yarl/_parse.pyo
+${PYSITELIB}/yarl/_path.py
+${PYSITELIB}/yarl/_path.pyc
+${PYSITELIB}/yarl/_path.pyo
+${PYSITELIB}/yarl/_query.py
+${PYSITELIB}/yarl/_query.pyc
+${PYSITELIB}/yarl/_query.pyo
+${PYSITELIB}/yarl/_quoters.py
+${PYSITELIB}/yarl/_quoters.pyc
+${PYSITELIB}/yarl/_quoters.pyo
 ${PYSITELIB}/yarl/_quoting.py
 ${PYSITELIB}/yarl/_quoting.pyc
 ${PYSITELIB}/yarl/_quoting.pyo

Index: pkgsrc/www/py-yarl/distinfo
diff -u pkgsrc/www/py-yarl/distinfo:1.39 pkgsrc/www/py-yarl/distinfo:1.40
--- pkgsrc/www/py-yarl/distinfo:1.39    Sat Oct 19 16:19:41 2024
+++ pkgsrc/www/py-yarl/distinfo Wed Oct 30 14:45:20 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2024/10/19 16:19:41 adam Exp $
+$NetBSD: distinfo,v 1.40 2024/10/30 14:45:20 wiz Exp $
 
-BLAKE2s (yarl-1.15.5.tar.gz) = e63f363248b61967ae096251a649d8198c42b4b8bf359b5bf60921811fc5a929
-SHA512 (yarl-1.15.5.tar.gz) = d1219971f5bc90e1d1f4b256a8e90fd98433086cb326f658bd68bfaefd97c12c0ff8121ab16fdd047236f29ce6c3907ea6b0afbde3526fe8ec290dec379ca732
-Size (yarl-1.15.5.tar.gz) = 172410 bytes
+BLAKE2s (yarl-1.17.0.tar.gz) = f8ae3e34d47d3de565959b90fad8bbfa7b6ffcbbef668f1e86b9a9d6bb0e09bc
+SHA512 (yarl-1.17.0.tar.gz) = bae5ae31ddb072c9a1f6902cb87dbfbf194e8a67532da336658382a647961e1290166500ac358528681e406ba99b76825293eac6ec042a480c018c421a135610
+Size (yarl-1.17.0.tar.gz) = 177249 bytes



Home | Main Index | Thread Index | Old Index