pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-MechanicalSoup



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jul  8 05:24:43 UTC 2023

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

Log Message:
py-MechanicalSoup: updated to 1.3.0

Version 1.3
===========

Breaking changes
----------------

* To prevent malicious web servers from reading arbitrary files from the
  client, files must now be opened explicitly by the user in order to
  upload their contents in form submission. For example, instead of:

    browser["upload"] = "/path/to/file"

  you would now use:

    browser["upload"] = open("/path/to/file", "rb")

  This remediates
  `CVE-2023-34457 <https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4>`__.

Main changes
------------

* Added support for Python 3.11.

* Allow submitting a form with no submit element. This can be achieved by
  passing ``submit=False`` to ``StatefulBrowser.submit_selected``.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/py-MechanicalSoup/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-MechanicalSoup/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-MechanicalSoup/Makefile
diff -u pkgsrc/www/py-MechanicalSoup/Makefile:1.13 pkgsrc/www/py-MechanicalSoup/Makefile:1.14
--- pkgsrc/www/py-MechanicalSoup/Makefile:1.13  Tue Jun  6 12:42:49 2023
+++ pkgsrc/www/py-MechanicalSoup/Makefile       Sat Jul  8 05:24:43 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2023/06/06 12:42:49 riastradh Exp $
+# $NetBSD: Makefile,v 1.14 2023/07/08 05:24:43 adam Exp $
 
-DISTNAME=      MechanicalSoup-1.2.0
+DISTNAME=      MechanicalSoup-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
@@ -10,20 +10,20 @@ HOMEPAGE=   https://github.com/hickford/Me
 COMMENT=       Library for automating interaction with websites
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 DEPENDS+=      ${PYPKGPREFIX}-beautifulsoup4>=4.7:../../www/py-beautifulsoup4
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock>=1.3.0:../../devel/py-requests-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-werkzeug-[0-9]*:../../www/py-werkzeug
 
 USE_LANGUAGES= # none
 
-# Since 1.1.0 only for Python 3
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/egg.mk"

Index: pkgsrc/www/py-MechanicalSoup/distinfo
diff -u pkgsrc/www/py-MechanicalSoup/distinfo:1.10 pkgsrc/www/py-MechanicalSoup/distinfo:1.11
--- pkgsrc/www/py-MechanicalSoup/distinfo:1.10  Fri May 26 20:00:17 2023
+++ pkgsrc/www/py-MechanicalSoup/distinfo       Sat Jul  8 05:24:43 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2023/05/26 20:00:17 adam Exp $
+$NetBSD: distinfo,v 1.11 2023/07/08 05:24:43 adam Exp $
 
-BLAKE2s (MechanicalSoup-1.2.0.tar.gz) = 78160e1beca2772ebe57bab2d8917cb3c938afa2057ed4eaa5f70a2a0f467396
-SHA512 (MechanicalSoup-1.2.0.tar.gz) = 5857274e07c678dc0e19ad4fef828ccf41bb846edad566c2da9914144ced8802efd546265efac792acbb885b29cab5cde4ac3cd2002826a8bb31f91004eb2caa
-Size (MechanicalSoup-1.2.0.tar.gz) = 49669 bytes
+BLAKE2s (MechanicalSoup-1.3.0.tar.gz) = 9859f791b06787132af7d3cc9ac0e8bd89ba5b185c6336976d1d738af1c55431
+SHA512 (MechanicalSoup-1.3.0.tar.gz) = a205c9b36b540be8b3eb15803c34e67029cb5b33aaf36d235947cc46c588f2d63e68acd97a9872b20ad3f1c87dcdb6133b4860dc7d90752ac477aaaa9a7c3e82
+Size (MechanicalSoup-1.3.0.tar.gz) = 50826 bytes



Home | Main Index | Thread Index | Old Index