py-MechanicalSoup: updated to 0.11.0
Version 0.11 This release focuses on fixing bugs related to uncommon HTTP/HTML scenarios and on improving the documentation. Bug fixes * Constructing a :class:~mechanicalsoup.Form instance from a bs4.element.Tag whose tag name is not form will now emit a warning, and may be deprecated in the future. * **Breaking Change:** :class:~mechanicalsoup.LinkNotFoundError now derives from Exception instead of BaseException. While this will bring the behavior in line with most people's expectations, it may affect the behavior of your code if you were heavily relying on this implementation detail in your exception handling. * Improve handling of button submit elements. Will now correctly ignore buttons of type button and reset during form submission, since they are not considered to be submit elements. * Do a better job of inferring the content type of a response if the Content-Type header is not provided. * Improve consistency of query string construction between MechanicalSoup and web browsers in edge cases where form elements have duplicate name attributes. This prevents errors in valid use cases, and also makes MechanicalSoup more tolerant of invalid HTML.
This commit is contained in:
parent
9023492b8c
commit
37375134da
2 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.4 2018/08/02 15:39:31 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2018/12/03 19:59:32 adam Exp $
|
||||
|
||||
DISTNAME= MechanicalSoup-0.10.0
|
||||
DISTNAME= MechanicalSoup-0.11.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=M/MechanicalSoup/}
|
||||
|
@ -19,6 +19,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock-[0-9]*:../../devel/py-requests-mock
|
|||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../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
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.3 2018/08/02 15:39:31 adam Exp $
|
||||
$NetBSD: distinfo,v 1.4 2018/12/03 19:59:32 adam Exp $
|
||||
|
||||
SHA1 (MechanicalSoup-0.10.0.tar.gz) = 610ba98c7bfd03a66145e490ee99f9807d0df635
|
||||
RMD160 (MechanicalSoup-0.10.0.tar.gz) = ffc3b969250f08e68ea68c05cc4afdeb277a9d92
|
||||
SHA512 (MechanicalSoup-0.10.0.tar.gz) = d1c04270bb65f9be07d5de4aa68691b8602d37d574a6675ea8fd22c2b91a8ca06a1eec479c1eae6d93ce7534571de2b5592aa03cc6646ca6988dbd82e4ae4c3f
|
||||
Size (MechanicalSoup-0.10.0.tar.gz) = 24165 bytes
|
||||
SHA1 (MechanicalSoup-0.11.0.tar.gz) = 909af99ddb5f42170880eb2d9e835c5042384a6c
|
||||
RMD160 (MechanicalSoup-0.11.0.tar.gz) = c16ddaaaa25b8a8196db71afaf3f71a598116018
|
||||
SHA512 (MechanicalSoup-0.11.0.tar.gz) = 3fab6ae1aace2581f6d0a031ba3b144a78404f5deebc0fc1b8eede606f72a912ac9a9506da78e0f5ca30483676b170570d72bcbf0712a7e193587ec264bdbff7
|
||||
Size (MechanicalSoup-0.11.0.tar.gz) = 43088 bytes
|
||||
|
|
Loading…
Reference in a new issue