Skip to content

Commit

Permalink
Update for 1st release
Browse files Browse the repository at this point in the history
- Remove copier pre-release instructions.
- Update dependencies.
- Fix tests now that Tecnativa/doodba-scaffolding#69 is merged.

@Tecnativa TT20357
  • Loading branch information
Jairo Llopis authored and github-actions[bot] committed Mar 25, 2020
1 parent 1181c74 commit 2f8bfcb
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 39 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This project lets you maintain [Odoo][] deployments based on [Doodba][] using

This project itself is just the template, but you need to install these tools to use it:

- [copier][] v3.0.0a6 or newer
- [copier][] v3.0.0 or newer
- [git](https://git-scm.com/)
- [invoke](https://www.pyinvoke.org/) installed in Python 3.6+ (and the binary must be
called `invoke` — beware if your distro installs it as `invoke3` or similar).
Expand All @@ -42,7 +42,7 @@ way to install Python CLI apps is [pipx](https://pipxproject.github.io/pipx/):

```bash
python3 -m pip install --user pipx
pipx install copier --pip-args=--pre
pipx install copier
pipx install invoke
pipx install pre-commit
pipx ensurepath
Expand Down
70 changes: 35 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "0.1.0"
[tool.poetry.dependencies]
# TODO Use versioned copier after v3.0.0 is released
# HACK https://github.com/pykong/copier/issues/112
copier = {version = "^3.0.0-beta.1", allow-prereleases = true}
copier = "^3.0.1"
plumbum = "^1.6.8"
python = "^3.6"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_transition_to_copier.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_transtion_to_copier(tmpdir, odoo_version):
tag = "v999999.99.99"
clone_self_dirty(tpl, tag=tag)
# Emulate user cloning scaffolding using the old workflow
git("clone", "-bcopier", "https://github.com/Tecnativa/doodba-scaffolding", old)
git("clone", "https://github.com/Tecnativa/doodba-scaffolding", old)
with local.cwd(old):
# Emulate user modifying some basic variables and committing
env_file = old / ".env"
Expand Down

0 comments on commit 2f8bfcb

Please sign in to comment.