Skip to content

Commit

Permalink
Fix ci - Use --resolver=backtracking with kedro build-reqs in e2e…
Browse files Browse the repository at this point in the history
… tests (#3010)

* Bump build version

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

* Remove telemetry from test default starter

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

* Add package_name back

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

* Pin build only for 3.7

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

* Try upgrade pip

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

* Add constraint

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

* Update for windows

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

* Run build-reqs with backtracking resolver

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

* Run build-reqs with backtracking resolver

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

---------

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
  • Loading branch information
ankatiyar committed Sep 6, 2023
1 parent 17f404f commit ad002bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
uses: microsoft/setup-msbuild@v1
- name: Install dependencies
run: |
pip install --upgrade pip
make install-test-requirements
make install-pre-commit
- name: pip freeze
Expand Down
4 changes: 2 additions & 2 deletions features/build_reqs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Feature: build-reqs target in new project
Given I have prepared a config file
And I have run a non-interactive kedro new with starter "default"
And I have updated kedro requirements
And I have executed the kedro command "build-reqs"
And I have executed the kedro command "build-reqs --resolver=backtracking"
When I add scrapy>=1.7.3 to the requirements
And I execute the kedro command "build-reqs"
And I execute the kedro command "build-reqs --resolver=backtracking"
Then I should get a successful exit code
And requirements should be generated
And scrapy should be in the requirements
2 changes: 1 addition & 1 deletion features/package.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: Package target in new project
@fresh_venv
Scenario: Install package after running kedro build-reqs
Given I have updated kedro requirements
When I execute the kedro command "build-reqs"
When I execute the kedro command "build-reqs --resolver=backtracking"
Then I should get a successful exit code
When I execute the kedro command "package"
Then I should get a successful exit code
Expand Down

0 comments on commit ad002bd

Please sign in to comment.