Skip to content

Commit

Permalink
fix(flask): correct dependencies, as they are in another part (#609)
Browse files Browse the repository at this point in the history
* Correct dependencies, as they are in another part

* Use flask-framework/dependencies

---------

Co-authored-by: Tiago Nobrega <[email protected]>
  • Loading branch information
javierdelapuente and tigarmo authored Jun 24, 2024
1 parent dcac146 commit 880c07e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 8 additions & 6 deletions rockcraft/commands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,14 @@ class InitCommand(AppCommand):
# - flask/app/webapp
# - flask/app/templates
# - flask/app/static
# # you may need packages to build a python package. Add them here if necessary.
# build-packages:
# # for example, if you need pkg-config and libxmlsec1-dev to build one
# # of your packages:
# - pkg-config
# - libxmlsec1-dev
# you may need packages to build a python package. Add them here if necessary.
# flask-framework/dependencies:
# build-packages:
# # for example, if you need pkg-config and libxmlsec1-dev to build one
# # of your packages:
# - pkg-config
# - libxmlsec1-dev
# you can add package slices or Debian packages to the image.
# package slices are subsets of Debian packages, which result
Expand Down
14 changes: 8 additions & 6 deletions tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,14 @@ def test_run_init_flask(mocker, emitter, monkeypatch, new_dir, tmp_path):
# - flask/app/webapp
# - flask/app/templates
# - flask/app/static
# # you may need packages to build a python package. Add them here if necessary.
# build-packages:
# # for example, if you need pkg-config and libxmlsec1-dev to build one
# # of your packages:
# - pkg-config
# - libxmlsec1-dev
# you may need packages to build a python package. Add them here if necessary.
# flask-framework/dependencies:
# build-packages:
# # for example, if you need pkg-config and libxmlsec1-dev to build one
# # of your packages:
# - pkg-config
# - libxmlsec1-dev
# you can add package slices or Debian packages to the image.
# package slices are subsets of Debian packages, which result
Expand Down

0 comments on commit 880c07e

Please sign in to comment.