Skip to content

Commit 71b486e

Browse files
mjohanse-emrMichael Johansen
andauthored
Upgrade to poetry 2.1.4 (#190)
* Upgrade poetry version in RTD yaml file Signed-off-by: Michael Johansen <[email protected]> * Upgrade to poetry 2.1.4 Signed-off-by: Michael Johansen <[email protected]> * Fix docs/conf.py for the new pyproject.toml format Signed-off-by: Michael Johansen <[email protected]> * Fix numpy/hightime dependencies. Review feedback. Signed-off-by: Michael Johansen <[email protected]> --------- Signed-off-by: Michael Johansen <[email protected]> Co-authored-by: Michael Johansen <[email protected]>
1 parent 56c96db commit 71b486e

File tree

4 files changed

+516
-260
lines changed

4 files changed

+516
-260
lines changed

.github/workflows/run_unit_tests_oldest_deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
3939
run: |
4040
poetry run python scripts/pin_oldest_deps.py pyproject.toml
41-
poetry lock --no-update
41+
poetry lock
4242
- name: Install nitypes (oldest deps)
4343
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
4444
run: poetry install -v

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
proj_config = toml.loads(pyproj_file.read_text())
2424

2525

26-
project = proj_config["tool"]["poetry"]["name"]
26+
project = proj_config["project"]["name"]
2727
company = "National Instruments"
2828
copyright = f"2025-%Y, {company}"
2929
if datetime.datetime.now().year == 2025:
@@ -34,9 +34,9 @@
3434
# |version| and |release|, also used in various other places throughout the
3535
# built documents.
3636
#
37-
version = proj_config["tool"]["poetry"]["version"]
37+
version = proj_config["project"]["version"]
3838
release = ".".join(version.split(".")[:2])
39-
description = proj_config["tool"]["poetry"]["description"]
39+
description = proj_config["project"]["description"]
4040

4141

4242
htmlhelp_basename = f"{project}doc"

0 commit comments

Comments
 (0)