Skip to content

Commit 208cbbb

Browse files
committed
CLI: fix warning about missing requirements.txt
1 parent f08d07b commit 208cbbb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pretext/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
VERSION = get_version("pretext", Path(__file__).parent.parent)
2020

2121

22-
CORE_COMMIT = "1c97959297d51749717f9b34ce5da131c960b92d"
22+
CORE_COMMIT = "8712386b55dc0350a20218a430acfc7f5ee1aada"
2323

2424

2525
def activate() -> None:

pretext/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def main(ctx: click.Context, targets: bool) -> None:
147147
log.warning(
148148
"Project's CLI version could not be detected from `requirements.txt`."
149149
)
150-
log.warning("Try `pretext init --refresh` to produce a compatible file.")
150+
log.warning("Try `pretext update` to produce a compatible file.")
151151
elif utils.requirements_version() != VERSION:
152152
log.warning(f"Using CLI version {VERSION} but project's `requirements.txt`")
153153
log.warning(
@@ -381,7 +381,7 @@ def new(template: str, directory: Path, url_template: str) -> None:
381381
"-r",
382382
"--refresh",
383383
is_flag=True,
384-
help=" Refresh initialization of project even if project.ptx exists. [This will be deprecated in the future; use `pretext update -f` instead.] ",
384+
help="Refresh initialization of project even if project.ptx exists. [This will be deprecated in the future; use `pretext update -f` instead.] ",
385385
)
386386
@click.option(
387387
"-f",

0 commit comments

Comments
 (0)