Skip to content

Commit

Permalink
Merge pull request #196 from tpvasconcelos/dependabot/github_actions/…
Browse files Browse the repository at this point in the history
…dot-github/workflows/actions/download-artifact-4.1.7

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
  • Loading branch information
tpvasconcelos authored Sep 4, 2024
2 parents 9dcbc60 + ca03195 commit e2bf34e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
requirements: tox
- name: Build source (sdist) and binary (wheel) distributions
run: tox -e build-dists
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -44,7 +44,7 @@ jobs:
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -69,7 +69,7 @@ jobs:
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

# Sign the package distributions with Sigstore
# https://github.com/marketplace/actions/gh-action-sigstore-python
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ init: clean-all install ## initialise development environment
.PHONY: install
install: .venv ## install all local development dependencies
@echo "==> Installing local development requirements..."
@$(VENV_BIN)/uv pip install -r requirements/local-dev.txt
@$(VENV_BIN)/uv pip install --upgrade -r requirements/local-dev.txt
@echo "==> Installing pre-commit hooks..."
@$(VENV_BIN)/pre-commit install --install-hooks

Expand Down
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@
html_sourcelink_suffix = ""
html_last_updated_fmt = "%B %d, %Y"

project_urls = dict(url.split(", ") for url in metadata.get_all("project-url")) # type: ignore[union-attr]
meta_project_urls = metadata.get_all("project-url")
if meta_project_urls is None:
raise ValueError("No 'project_urls' metadata found in 'pyproject.toml'")
project_urls = dict(url.split(", ") for url in meta_project_urls)
repo_url = project_urls["Source code"]
docs_url = project_urls["Documentation"]

Expand Down

0 comments on commit e2bf34e

Please sign in to comment.