SHA256
1
0
forked from pool/python-tox
python-tox/mark-network-tests.patch
Matej Cepl 5fbce3fe15 Accepting request 1109638 from home:mschreiner:branches:devel:languages:python
- Refresh mark-network-tests.patch for 4.11.1.
- Rewrite optional_devpi_process.patch for 4.11.1.
- Add explicit numpy built-time dependency, as the one pulled by
  pytest-randomly was broken.
- Fix rpmlint warning: package was obsoleting itself.
- Update to 4.11.1.
- Please check the .changes file for a more complete changelog.

OBS-URL: https://build.opensuse.org/request/show/1109638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=109
2023-09-08 17:15:07 +00:00

32 lines
1.2 KiB
Diff

---
pyproject.toml | 3 +++
tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py | 1 +
2 files changed, 4 insertions(+)
Index: tox-4.11.1/pyproject.toml
===================================================================
--- tox-4.11.1.orig/pyproject.toml
+++ tox-4.11.1/pyproject.toml
@@ -133,6 +133,9 @@ ignore = [
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--tb=auto -ra --showlocals --no-success-flaky-report"
+markers = [
+ "network: tests requiring network connection",
+]
[tool.coverage]
html.show_contexts = true
Index: tox-4.11.1/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
===================================================================
--- tox-4.11.1.orig/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
+++ tox-4.11.1/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
@@ -78,6 +78,7 @@ def test_install_pkg_via(tox_project: To
@pytest.mark.usefixtures("enable_pip_pypi_access")
+@pytest.mark.network
def test_build_wheel_external(tox_project: ToxProjectCreator, demo_pkg_inline: Path) -> None:
ini = """
[testenv]