Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
python-pytest-virtualenv
remove_virtualenv.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove_virtualenv.patch of Package python-pytest-virtualenv
Index: pytest-virtualenv-1.8.0/pytest_virtualenv.py =================================================================== --- pytest-virtualenv-1.8.0.orig/pytest_virtualenv.py +++ pytest-virtualenv-1.8.0/pytest_virtualenv.py @@ -25,7 +25,7 @@ class FixtureConfig(Config): # Default values for system resource locations - patch this to change defaults # Can be a string or list of them -DEFAULT_VIRTUALENV_FIXTURE_EXECUTABLE = [sys.executable, '-m', 'virtualenv'] +DEFAULT_VIRTUALENV_FIXTURE_EXECUTABLE = [sys.executable, '-m', 'venv'] CONFIG = FixtureConfig( virtualenv_executable=os.getenv('VIRTUALENV_FIXTURE_EXECUTABLE', DEFAULT_VIRTUALENV_FIXTURE_EXECUTABLE), @@ -82,7 +82,7 @@ class PackageEntry(object): def match(self, package_type): if package_type is self.ANY: - return True + return True elif package_type is self.REL: if self.isrel: return True @@ -146,7 +146,6 @@ class VirtualEnv(Workspace): cmd = [self.virtualenv_cmd] else: cmd = list(self.virtualenv_cmd) - cmd.extend(['-p', python or cmdline.get_real_python_executable()]) cmd.extend(self.args) cmd.append(str(self.virtualenv)) self.run(cmd) Index: pytest-virtualenv-1.8.0/setup.py =================================================================== --- pytest-virtualenv-1.8.0.orig/setup.py +++ pytest-virtualenv-1.8.0/setup.py @@ -21,7 +21,6 @@ classifiers = [ install_requires = ['pytest-fixture-config', 'pytest-shutil', 'pytest', - 'virtualenv', 'importlib-metadata', ]
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