Skip to content

Commit

Permalink
fixes: #510 deleted the var completely
Browse files Browse the repository at this point in the history
Signed-off-by: Shobhit Kumar <[email protected]>
  • Loading branch information
shobhit9957 committed Aug 30, 2023
1 parent 51644de commit 4bb1dc8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 53 deletions.
24 changes: 0 additions & 24 deletions ecosystem/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,6 @@ def _run_python_tests(
repo_url: str,
tier: str,
python_version: str,
<<<<<<< HEAD
=======
qiskit: str,
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
test_type: str,
ecosystem_deps: Optional[List[str]] = None,
ecosystem_additional_commands: Optional[List[str]] = None,
Expand All @@ -342,10 +338,6 @@ def _run_python_tests(
repo_url: repository url
tier: tier of project
python_version: ex: py36, py37 etc
<<<<<<< HEAD
=======
qiskit: qiskit
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
test_type: [dev, stable]
ecosystem_deps: extra dependencies to install for tests
ecosystem_additional_commands: extra commands to run before tests
Expand All @@ -370,10 +362,6 @@ def _run_python_tests(
ecosystem_deps=ecosystem_deps,
ecosystem_additional_commands=ecosystem_additional_commands,
python_version=python_version,
<<<<<<< HEAD
=======
qiskit=qiskit,
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
repo_config=repo_configuration,
)
qiskit_version, results = runner.run()
Expand Down Expand Up @@ -556,10 +544,6 @@ def python_dev_tests(
repo_url=repo_url,
tier=tier,
python_version=python_version,
<<<<<<< HEAD
=======
qiskit=package,
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
test_type=TestType.DEV_COMPATIBLE,
ecosystem_deps=[],
ecosystem_additional_commands=additional_commands,
Expand Down Expand Up @@ -595,10 +579,6 @@ def python_stable_tests(
repo_url=repo_url,
tier=tier,
python_version=python_version,
<<<<<<< HEAD
=======
qiskit="qiskit",
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
test_type=TestType.STABLE_COMPATIBLE,
ecosystem_deps=qiskit_latest_deps,
ecosystem_additional_commands=additional_commands,
Expand Down Expand Up @@ -629,10 +609,6 @@ def python_standard_tests(
repo_url=repo_url,
tier=tier,
python_version=python_version,
<<<<<<< HEAD
=======
qiskit="qiskit",
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
test_type=TestType.STANDARD,
logs_link=logs_link,
)
Expand Down
8 changes: 0 additions & 8 deletions ecosystem/models/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ def default(cls) -> "PythonRepositoryConfiguration":
def render_tox_file(
self,
ecosystem_deps: list[str] = None,
<<<<<<< HEAD
=======
qiskit: str = "qiskit",
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
ecosystem_additional_commands: list[str] = None,
):
"""Renders tox template from configuration."""
Expand All @@ -191,10 +187,6 @@ def render_tox_file(
**self.to_dict(),
**{
"ecosystem_deps": ecosystem_deps,
<<<<<<< HEAD
=======
"qiskit": qiskit,
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
"ecosystem_additional_commands": ecosystem_additional_commands,
},
}
Expand Down
8 changes: 0 additions & 8 deletions ecosystem/runners/python_tests_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,12 @@ def __init__(
ecosystem_deps: Optional[List[str]] = None,
ecosystem_additional_commands: Optional[List[str]] = None,
python_version: str = "py39",
<<<<<<< HEAD
=======
qiskit: str = "qiskit",
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
repo_config: Optional[RepositoryConfiguration] = None,
):
super().__init__(
repo=repo, working_directory=working_directory, repo_config=repo_config
)
self.python_version = python_version
<<<<<<< HEAD
=======
self.qiskit = qiskit
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
self.ecosystem_deps = (
ecosystem_deps if ecosystem_deps is not None else ["qiskit"]
)
Expand Down
13 changes: 0 additions & 13 deletions ecosystem/runners/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ def configure_repo(
files_fault: List[str],
ecosystem_deps: Optional[List[str]] = None,
ecosystem_additional_commands: Optional[List[str]] = None,
<<<<<<< HEAD
=======
qiskit: str = "qiskit",
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
):
"""Configuring the different templates:
- tox.ini
Expand All @@ -71,11 +67,6 @@ def configure_repo(
files_fault: list of default name replacement
ecosystem_deps: list of dependencies
ecosystem_additional_commands: additional commands to run before tests
<<<<<<< HEAD
=======
qiskit: package to check the version of qiskit
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546

No return
"""
if len(files) != len(files_fault):
Expand Down Expand Up @@ -124,10 +115,6 @@ def configure_repo(
repo_config.render_tox_file(
ecosystem_deps=ecosystem_deps,
ecosystem_additional_commands=ecosystem_additional_commands,
<<<<<<< HEAD
=======
qiskit=qiskit,
>>>>>>> 2b284cffea465cb413ac35b655efce9f5be03546
)
)
elif destination_file_name == FilesTemplates.LINT_FILE_NAME:
Expand Down

0 comments on commit 4bb1dc8

Please sign in to comment.