Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-hatch-jupyter-builder
hatch-test-nonisolated.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hatch-test-nonisolated.patch of Package python-hatch-jupyter-builder
Index: hatch_jupyter_builder-0.8.2/tests/test_plugin.py =================================================================== --- hatch_jupyter_builder-0.8.2.orig/tests/test_plugin.py +++ hatch_jupyter_builder-0.8.2/tests/test_plugin.py @@ -100,7 +100,8 @@ dependencies = ["hatch-jupyter-builder@f @pytest.mark.skipif(platform.python_implementation() == "PyPy", reason="Does not work on PyPy") def test_hatch_build(tmp_path): - venv.create(tmp_path, with_pip=True) + # openSUSE tests: use the system build dependencies + venv.create(tmp_path, with_pip=True, system_site_packages=True) if os.name == "nt": python = Path(tmp_path) / "Scripts/python.exe" else: @@ -113,6 +114,7 @@ def test_hatch_build(tmp_path): # Handle running min version test. if "PIP_CONSTRAINT" in env: del env["PIP_CONSTRAINT"] - subprocess.check_call([python, "-m", "pip", "install", "build"], cwd=tmp_path, env=env) - - subprocess.check_call([python, "-m", "build", "--sdist", "."], cwd=tmp_path, env=env) + subprocess.check_call([python, "-m", "build", + "--no-isolation", # openSUSE tests: use the system build dependencies + "--sdist", "."], + cwd=tmp_path, env=env)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor