FreeBSD Bugzilla – Attachment 232958 Details for
Bug 256624
devel/py-pytest: Update to 6.2.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pytest+pytest-asyncio patch
pytest-all.patch (text/plain), 6.24 KB, created by
Dmitry Marakasov
on 2022-04-05 11:42:05 UTC
(
hide
)
Description:
pytest+pytest-asyncio patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2022-04-05 11:42:05 UTC
Size:
6.24 KB
patch
obsolete
>diff --git devel/py-pytest-asyncio/Makefile devel/py-pytest-asyncio/Makefile >index dd1bac84768e..ff9fe7c528c4 100644 >--- devel/py-pytest-asyncio/Makefile >+++ devel/py-pytest-asyncio/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= pytest-asyncio >-PORTVERSION= 0.10.0 >+PORTVERSION= 0.18.2 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -11,10 +11,22 @@ LICENSE= APACHE20 > > CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4-asyncio > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.6:devel/py-pytest@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR} >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.1.0:devel/py-pytest@${PY_FLAVOR} >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}flaky>=3.7.0:devel/py-flaky@${PY_FLAVOR} > > NO_ARCH= yes >-USES= python:3.5+ >+USES= python:3.7+ > USE_PYTHON= autoplist distutils > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} < 30800 >+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} >+.endif >+ >+do-test: >+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) >+ >+.include <bsd.port.post.mk> >diff --git devel/py-pytest-asyncio/distinfo devel/py-pytest-asyncio/distinfo >index 1378944ef27e..4f7492e8ad5c 100644 >--- devel/py-pytest-asyncio/distinfo >+++ devel/py-pytest-asyncio/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1546907123 >-SHA256 (pytest-asyncio-0.10.0.tar.gz) = 9fac5100fd716cbecf6ef89233e8590a4ad61d729d1732e0a96b84182df1daaf >-SIZE (pytest-asyncio-0.10.0.tar.gz) = 11765 >+TIMESTAMP = 1648048464 >+SHA256 (pytest-asyncio-0.18.2.tar.gz) = fc8e4190f33fee7797cc7f1829f46a82c213f088af5d1bb5d4e454fe87e6cdc2 >+SIZE (pytest-asyncio-0.18.2.tar.gz) = 32091 >diff --git devel/py-pytest/Makefile devel/py-pytest/Makefile >index e5bd19934673..5d51c521d333 100644 >--- devel/py-pytest/Makefile >+++ devel/py-pytest/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= pytest >-PORTVERSION= 4.6.11 >+PORTVERSION= 7.1.1 > PORTEPOCH= 1 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP >@@ -14,14 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE > CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4 > > BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pluggy>=0.12<1.0:devel/py-pluggy@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR} >+ ${PYTHON_PKGNAMEPREFIX}py>=1.8.2:devel/py-py@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}iniconfig>=0:devel/py-iniconfig@${PY_FLAVOR} > TEST_DEPENDS= bash:shells/bash \ > lsof:sysutils/lsof \ > ${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \ >@@ -32,29 +30,28 @@ TEST_DEPENDS= bash:shells/bash \ > ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:devel/py-pytest-xdist@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}xmlschema>=0:textproc/py-xmlschema@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR} >+ ${PYTHON_PKGNAMEPREFIX}asynctest>=0:devel/py-asynctest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.7.2:textproc/py-pygments@${PY_FLAVOR} > >-USES= python:3.6+ >+USES= python:3.7+ > USE_PYTHON= autoplist concurrent distutils > > NO_ARCH= yes > >+TEST_ENV= PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}" >+ > .include <bsd.port.pre.mk> > > .if ${PYTHON_REL} < 30800 > RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR} > .endif > >-post-patch: >- @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/testing/test_parseopt.py >- >-# test_cache_failure_warns fails >-# https://github.com/pytest-dev/pytest/issues/1845 >+# XXX: test_pdb_custom_cls_with_set_trace fails > do-test: >- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -k 'not test_cache_failure_warns' >+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs > > .include <bsd.port.post.mk> >diff --git devel/py-pytest/distinfo devel/py-pytest/distinfo >index db173fdad5c5..a9e43a42a4a4 100644 >--- devel/py-pytest/distinfo >+++ devel/py-pytest/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1620405525 >-SHA256 (pytest-4.6.11.tar.gz) = 50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353 >-SIZE (pytest-4.6.11.tar.gz) = 952305 >+TIMESTAMP = 1648037418 >+SHA256 (pytest-7.1.1.tar.gz) = 841132caef6b1ad17a9afde46dc4f6cfa59a05f9555aae5151f73bdf2820ca63 >+SIZE (pytest-7.1.1.tar.gz) = 1255528 >diff --git devel/py-pytest/files/patch-testing-test_parseopt.py devel/py-pytest/files/patch-testing-test_parseopt.py >deleted file mode 100644 >index 22683ffee3af..000000000000 >--- devel/py-pytest/files/patch-testing-test_parseopt.py >+++ /dev/null >@@ -1,11 +0,0 @@ >---- testing/test_parseopt.py.orig 2020-06-05 12:09:03 UTC >-+++ testing/test_parseopt.py >-@@ -305,7 +305,7 @@ def test_argcomplete(testdir, monkeypatch): >- # redirect output from argcomplete to stdin and stderr is not trivial >- # http://stackoverflow.com/q/12589419/1307905 >- # so we use bash >-- fp.write('COMP_WORDBREAKS="$COMP_WORDBREAKS" python -m pytest 8>&1 9>&2') >-+ fp.write('COMP_WORDBREAKS="$COMP_WORDBREAKS" %%PYTHON_CMD%% -m pytest 8>&1 9>&2') >- # alternative would be exteneded Testdir.{run(),_run(),popen()} to be able >- # to handle a keyword argument env that replaces os.environ in popen or >- # extends the copy, advantage: could not forget to restore
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256624
:
225833
|
226076
|
226168
|
226194
|
226195
|
226196
|
226197
|
226639
|
226640
|
226643
|
226644
|
232778
|
232944
| 232958