Skip to content

Commit c53cbd5

Browse files
committed
chore: update demo to the latest cookiecutter-robust-python
1 parent 12c62ac commit c53cbd5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def build_container(session: Session) -> None:
193193
session.log(f"Container image {project_image_name}:latest built locally.")
194194

195195

196-
@nox.session(python=None, name="setup-release", tags=[RELEASE])
196+
@nox.session(python=False, name="setup-release", tags=[RELEASE])
197197
def setup_release(session: Session) -> None:
198198
"""Prepares a release by creating a release branch and bumping the version.
199199
@@ -208,6 +208,8 @@ def setup_release(session: Session) -> None:
208208
def get_release_notes(session: Session) -> None:
209209
"""Gets the latest release notes if between bumping the version and tagging the release."""
210210
session.log("Getting release notes...")
211+
session.install("-e", ".", "--group", "dev")
212+
session.install("typing_extensions")
211213
session.run("python", SCRIPTS_FOLDER / "get-release-notes.py", external=True)
212214

213215

scripts/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
import argparse
44
import stat
55
import subprocess
6+
import sys
67
from pathlib import Path
78
from typing import Any
89
from typing import Callable
910
from typing import Literal
1011
from typing import Optional
12+
print(sys.version_info)
13+
print(sys.executable)
1114
from typing_extensions import TypeAlias
1215

1316

0 commit comments

Comments
 (0)