Skip to content

Commit

Permalink
Pin kedro-datasets 1.0.0 in requirements (#111)
Browse files Browse the repository at this point in the history
* Pin  to requirements

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* remove extra __init__.py

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* add --user flag

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Remove unnecessary init files

Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>

* Change flag

Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>

* Update features/environment.py

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
Signed-off-by: Ahdra Merali <ahdra.merali@quantumblack.com>
Co-authored-by: Ahdra Merali <ahdra.merali@quantumblack.com>
  • Loading branch information
ankatiyar and Ahdra Merali authored Dec 7, 2022
1 parent 4441ecc commit 75f8b72
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ isort~=5.0
jupyter~=1.0
jupyterlab~=3.0
kedro~={{ cookiecutter.kedro_version }}
kedro-datasets[pandas.CSVDataSet]
kedro-datasets[pandas.CSVDataSet]~=1.0.0
kedro-airflow~=0.5
kedro-telemetry~=0.2.0
nbstripout~=0.4
Expand Down
2 changes: 1 addition & 1 deletion features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def before_scenario(context, scenario):
starter: str(starters_root / starter) for starter in starter_names
}
context.starters_paths = starters_paths
subprocess.run([context.pip, "install", "-r", "test_requirements.txt"])
subprocess.run([context.python, "-m", "pip", "install", "-r", "test_requirements.txt"])
context.temp_dir = Path(tempfile.mkdtemp()).resolve()
_PATHS_TO_REMOVE.add(context.temp_dir)

Expand Down
2 changes: 1 addition & 1 deletion features/steps/run_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_project_from_config_file(context, starter_name):
def install_project_dependencies(context):
reqs_path = "src/requirements.txt"
res = subprocess.run(
[context.pip, "install", "-r", reqs_path], cwd=context.root_project_dir
[context.pip, "install", "-r", reqs_path, "-U"], cwd=context.root_project_dir
)
assert res.returncode == OK_EXIT_CODE

Expand Down
Empty file removed pandas-iris/__init__.py
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jupyter~=1.0
jupyterlab~=3.0
kedro~={{ cookiecutter.kedro_version }}
kedro-viz
kedro-datasets[pandas.CSVDataSet]
kedro-datasets[pandas.CSVDataSet]~=1.0.0
kedro-telemetry~=0.2.0
nbstripout~=0.4
pytest-cov~=3.0
Expand Down
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ isort~=5.0
jupyter~=1.0
jupyterlab~=3.0
kedro~={{ cookiecutter.kedro_version }}
kedro-datasets[spark.SparkDataSet, pandas.ParquetDataSet]
kedro-datasets[spark.SparkDataSet, pandas.ParquetDataSet]~=1.0.0
kedro-telemetry~=0.2.0
nbstripout~=0.4
numpy~=1.21
Expand Down
2 changes: 1 addition & 1 deletion pyspark/{{ cookiecutter.repo_name }}/src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ isort~=5.0
jupyter~=1.0
jupyterlab~=3.0
kedro~={{ cookiecutter.kedro_version }}
kedro-datasets[spark.SparkDataSet]
kedro-datasets[spark.SparkDataSet]~=1.0.0
kedro-telemetry~=0.2.0
nbstripout~=0.4
pytest-cov~=3.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jupyter~=1.0
jupyterlab_server>=2.11.1, <2.16.0
jupyterlab~=3.0
kedro~={{ cookiecutter.kedro_version }}
kedro-datasets[pandas.CSVDataSet, pandas.ExcelDataSet, pandas.ParquetDataSet]
kedro-datasets[pandas.CSVDataSet, pandas.ExcelDataSet, pandas.ParquetDataSet]~=1.0.0
kedro-telemetry~=0.2.0
kedro-viz~=5.0
nbstripout~=0.4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jupyter~=1.0
kedro~={{ cookiecutter.kedro_version }}
kedro-datasets[pandas.CSVDataSet]
kedro-datasets[pandas.CSVDataSet]~=1.0.0
kedro-telemetry~=0.2.0

0 comments on commit 75f8b72

Please sign in to comment.