mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
community/py3-pytest-factoryboy: upgrade to 2.8.1
* Python 3.13 support * Python 3.12 support with latest factoryboy
This commit is contained in:
parent
2c4834e995
commit
43314a1f16
1 changed files with 6 additions and 21 deletions
|
@ -1,9 +1,9 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=py3-pytest-factoryboy
|
||||
pkgver=2.7.0
|
||||
pkgrel=1
|
||||
_gittag=8c1809a71eb9537a2a4882a6831d0b05df0ecd87
|
||||
pkgver=2.8.1
|
||||
pkgrel=0
|
||||
_gittag=$pkgver
|
||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||
_pkgreal=pytest-factoryboy
|
||||
pkgdesc="Factory Boy support for pytest."
|
||||
|
@ -26,23 +26,8 @@ build() {
|
|||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer "$builddir"/.dist/*.whl
|
||||
# FAILED tests/test_model_name.py::test_generic_model_with_custom_name_no_warning - TypeError: RunResult.assert_outcomes() got an unexpected keyword argument 'error'
|
||||
# FAILED tests/test_model_name.py::test_generic_model_name_raises_warning - TypeError: RunRes[ult.assert_outcomes() got an unexpected keyword argument 'error'
|
||||
# FAILED tests/test_model_name.py::test_generic_model_with_register_override_no_warning - TypeError: RunResult.assert_outcomes() got an unexpected keyword argument 'error'
|
||||
# FAILED tests/test_model_name.py::test_using_generic_model_name_for_subfactory_raises_warning - TypeError: RunResult.assert_outcomes() got an unexpected keyword argument 'error'
|
||||
# FAILED tests/test_postgen_dependencies.py::test_getfixturevalue - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_circular.py::test_circular - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_factory_fixtures.py::test_model - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_factory_fixtures.py::test_parametrized[2000-Bill Gates-1.0-PyTest for Dummies] - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_factory_fixtures.py::TestLazyFixture::test_lazy_fixture_name[book__author0] - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_factory_fixtures.py::TestLazyFixture::test_lazy_fixture_callable[book__author0] - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_factory_fixtures.py::TestLazyFixture::test_override_subfactory_with_lazy_fixture - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_postgen_dependencies.py::test_postgen_invoked - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_postgen_dependencies.py::test_depends_on[1-3] - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_postgen_dependencies.py::test_after_postgeneration - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_postgen_dependencies.py::test_postgeneration_fixture[123] - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
# ERROR tests/test_postgen_dependencies.py::test_postgenerationmethodcall_fixture[test secret-456] - AttributeError: 'str' object has no attribute 'iter_parents'
|
||||
.testenv/bin/python3 -m pytest -v -k 'not test_generic_model and not test_using_generic_model_name_for_subfactory_raises_warning and not test_getfixturevalue and not test_model and not test_parametrized and not test_lazy_fixture_name and not test_lazy_fixture_callable and not test_override_subfactory_with_lazy_fixture and not test_postgen_invoked and not test_depends_on and not test_after_postgeneration and not test_postgeneration_fixture and not test_postgenerationmethodcall_fixture and not test_circular'
|
||||
.testenv/bin/python3 -m pytest -v
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -51,5 +36,5 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
94f88b707325e1b5b1d042785d54456d2d7a8b5f2805ba1d949e3f73157640d7cc39d5b678f245516fcf7b4619a2c6d4f7c0ffd0b79051fdc70a17e73446b62b py3-pytest-factoryboy-2.7.0.tar.gz
|
||||
504b4d4d907d2dc59cfa78d21d6c358c12aa26d66fb6c6909bb0e79e96051b403ff57bc8d10e9a73b578f503cb7d05dc88f8f34f19853fe416c54cc241eda13c py3-pytest-factoryboy-2.8.1.tar.gz
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue