python/pytest-enabler: update to 3.0.0
1 files deleted
1 files added
6 files modified
| | |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME = pytest-enabler |
| | | HUMAN_VERSION = 2.3.1 |
| | | HUMAN_VERSION = 3.0.0 |
| | | COMPONENT_SUMMARY = pytest-enabler - Enable installed pytest plugins |
| | | COMPONENT_PROJECT_URL = https://github.com/jaraco/pytest-enabler |
| | | COMPONENT_ARCHIVE_URL = \ |
| | | https://files.pythonhosted.org/packages/bd/08/3a9516eeb3f8c8bd393347ad82688150d2a1e753edf1bc1565101ed0cd38/pytest-enabler-2.3.1.tar.gz |
| | | https://files.pythonhosted.org/packages/93/d8/f0032af0f705b9141c2baceb09275262a2b145de8be969a5374ffa15bcdc/pytest-enabler-3.0.0.tar.gz |
| | | COMPONENT_ARCHIVE_HASH = \ |
| | | sha256:0b1afe2adcbc89f2425049ded0e6cb38c2952a88b14fed5d2cb1afd8a397b6f9 |
| | | sha256:62376d2fdae65ee967849fa3586f8ce68506988e94c64030c8ff2b038d6422c5 |
| | | COMPONENT_LICENSE = MIT |
| | | COMPONENT_LICENSE_FILE = LICENSE |
| | | |
| | | # |
| | | # Following dependency loops were detected (where 'A --> B' means 'A needs B to |
| | | # run tests', and 'A ==> B' means 'A needs B for build and/or run'): |
| | | # |
| | | # pytest-enabler --> pytest-enabler |
| | | # |
| | | # To break loops we need to allow this project to integrate without testing in |
| | | # a case the required projects are not available yet (bootstrap). |
| | | # |
| | | PYTHON_TEST_BOOTSTRAP = yes |
| | | |
| | | include $(WS_MAKE_RULES)/common.mk |
| | | |
| | |
| | | PYTHON_REQUIRED_PACKAGES += library/python/wheel |
| | | PYTHON_REQUIRED_PACKAGES += runtime/python |
| | | TEST_REQUIRED_PACKAGES.python += library/python/pytest |
| | | TEST_REQUIRED_PACKAGES.python += library/python/pytest-black |
| | | TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs |
| | | TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov |
| | | TEST_REQUIRED_PACKAGES.python += library/python/pytest-enabler |
| | | TEST_REQUIRED_PACKAGES.python += library/python/pytest-mypy |
| | | TEST_REQUIRED_PACKAGES.python += library/python/types-toml |
| | |
| | | library/python/pytest-enabler-37@2.2.0,5.11-2023.0.0.1 noincorporate |
| | | library/python/pytest-enabler-37@2.2.0,5.11-2023.0.0.2 |
| | |
| | | We have no pytest-ruff support yet. |
| | | see https://github.com/tikv/jemallocator/issues/58 |
| | | |
| | | --- pytest-enabler-2.3.1/setup.cfg.orig |
| | | +++ pytest-enabler-2.3.1/setup.cfg |
| | | @@ -40,7 +40,6 @@ |
| | | pytest-mypy >= 0.9.1; \ |
| | | --- pytest-enabler-3.0.0/setup.cfg.orig |
| | | +++ pytest-enabler-3.0.0/setup.cfg |
| | | @@ -38,7 +38,6 @@ |
| | | pytest-mypy; \ |
| | | python_implementation != "PyPy" |
| | | pytest-enabler >= 2.2 |
| | | - pytest-ruff |
| | | - pytest-ruff >= 0.2.1 |
| | | |
| | | types-toml |
| | | docs = |
New file |
| | |
| | | https://github.com/jaraco/pytest-enabler/issues/14 |
| | | |
| | | --- pytest-enabler-3.0.0/setup.cfg.orig |
| | | +++ pytest-enabler-3.0.0/setup.cfg |
| | | @@ -37,7 +37,6 @@ |
| | | pytest-cov |
| | | pytest-mypy; \ |
| | | python_implementation != "PyPy" |
| | | - pytest-enabler >= 2.2 |
| | | |
| | | types-toml |
| | | docs = |
| | |
| | | # |
| | | |
| | | %patch% 01-no-ruff.patch |
| | | %patch% 02-no-xdist.patch |
| | | |
| | | %include-2% |
| | | # |
| | | # Following dependency loops were detected (where 'A --> B' means 'A needs B to |
| | | # run tests', and 'A ==> B' means 'A needs B for build and/or run'): |
| | | # |
| | | # pytest-enabler --> pytest-enabler |
| | | # |
| | | # To break loops we need to allow this project to integrate without testing in |
| | | # a case the required projects are not available yet (bootstrap). |
| | | # |
| | | PYTHON_TEST_BOOTSTRAP = yes |
| | | %patch% 02-no-pytest-enabler.patch |
| | |
| | | ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions |
| | | py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) |
| | | py$(PYV): commands[0]> python -m pytest |
| | | ============================= test session starts ============================== |
| | | platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python |
| | | cachedir: .tox/py$(PYV)/.pytest_cache |
| | | hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') |
| | | rootdir: $(@D) |
| | | configfile: pytest.ini |
| | | asyncio: mode=strict |
| | | collecting ... collected 15 items |
| | | collecting ... collected 12 items |
| | | |
| | | ::project PASSED |
| | | docs/conf.py::BLACK PASSED |
| | | docs/conf.py::mypy PASSED |
| | | docs/conf.py::mypy-status PASSED |
| | | pytest_enabler/__init__.py::BLACK PASSED |
| | | pytest_enabler/__init__.py::mypy PASSED |
| | | pytest_enabler/__init__.py::pytest_enabler.none_as_empty PASSED |
| | | tests/test_enabler.py::BLACK PASSED |
| | | tests/test_enabler.py::mypy PASSED |
| | | tests/test_enabler.py::test_coverage_explicit PASSED |
| | | tests/test_enabler.py::test_pytest_addoption_default PASSED |
| | |
| | | ===================================== mypy ===================================== |
| | | |
| | | Success: no issues found in 3 source files |
| | | ======== 14 passed ======== |
| | | ======== 11 passed ======== |
| | | py$(PYV): OK |
| | | congratulations :) |
| | |
| | | $(eval $(call disable-pytest-plugin,console-scripts,pytest-console-scripts)) |
| | | $(eval $(call disable-pytest-plugin,cov,pytest-cov)) |
| | | $(eval $(call disable-pytest-plugin,custom_exit_code,pytest-custom-exit-code)) |
| | | $(eval $(call disable-pytest-plugin,enabler,pytest-enabler)) |
| | | $(eval $(call disable-pytest-plugin,env,pytest-env)) |
| | | $(eval $(call disable-pytest-plugin,faker,faker)) |
| | | $(eval $(call disable-pytest-plugin,flake8,pytest-flake8)) |
| | |
| | | $(eval $(call disable-pytest-plugin,metadata,pytest-metadata)) # adds line to test report header |
| | | $(eval $(call disable-pytest-plugin,mypy,pytest-mypy)) # runs extra test(s) |
| | | $(eval $(call disable-pytest-plugin,perf,pytest-perf)) # https://github.com/jaraco/pytest-perf/issues/9 |
| | | $(eval $(call disable-pytest-plugin,plugin-enabled options,pytest-enabler)) |
| | | $(eval $(call disable-pytest-plugin,pytest-datadir,pytest-datadir)) |
| | | $(eval $(call disable-pytest-plugin,pytest-mypy-plugins,pytest-mypy-plugins)) # could cause tests to fail |
| | | $(eval $(call disable-pytest-plugin,pytest-teamcity,teamcity-messages)) |