diff --git a/.github/workflows/nox-session.yml b/.github/workflows/nox-session.yml index bff14e5..d56c9b3 100644 --- a/.github/workflows/nox-session.yml +++ b/.github/workflows/nox-session.yml @@ -92,12 +92,12 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=dev-tool-requirements.txt poetry + pipx install --pip-args=--constraint=${{ github.workspace }}/dev-tool-requirements.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=dev-tool-requirements.txt nox + pipx install --pip-args=--constraint=${{ github.workspace }}/dev-tool-requirements.txt nox nox --version - name: Compute pre-commit cache key diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4d5e7f..0b1a41c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,12 +51,12 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=dev-tool-requirements.txt poetry + pipx install --pip-args=--constraint=${{ github.workspace }}/dev-tool-requirements.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=dev-tool-requirements.txt nox + pipx install --pip-args=--constraint=${{ github.workspace }}/dev-tool-requirements.txt nox nox --version - name: Build wheel diff --git a/docs/build-docs b/docs/build-docs index 786d462..772e12a 100755 --- a/docs/build-docs +++ b/docs/build-docs @@ -1,6 +1,6 @@ #!/usr/bin/env python import argparse -import datetime +from datetime import date import shutil import subprocess import sys @@ -67,6 +67,8 @@ def build_module_docs() -> None: "-D", f"project=pytket-{MODULE}", "-D", + f"copyright={date.today().year} Cambridge Quantum Computing", + "-D", f"version={'.'.join(v[:2])}", "-D", f"release={'.'.join(v)}",