Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(python-deps): update dependency tomli to v2.0.1 for the create_unique_testpypi_version group(s) #39

Merged
merged 9 commits into from
Sep 3, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
Use an empty string, e.g. "", for dependencies located in the default group'
required: false
type: string
default: ''
default: '{}'
update-pre-commit:
description: A boolean indicating if the pre-commit hooks should be updated.
required: false
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/update-python-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ on:
branches: [main]
jobs:
determine-dependency-groups:
if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }}
# if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }} # TODO: revert
nfelt14 marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
outputs:
export-groups: ${{ steps.set-output.outputs.export-groups }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Get commit message
id: get-commit-message
run: |
commit_message="$(git log -2 --pretty=%B | sed -n '2p')"
commit_message="$(git log --grep='chore(python-deps):' -1 --pretty=%B)"
echo "commit-message=$commit_message" >> "$GITHUB_OUTPUT"
- name: Determine the groups that will need to be exported
id: set-output
Expand All @@ -39,7 +41,7 @@ jobs:
fi
echo "export-groups=$export_groups" >> "$GITHUB_OUTPUT"
update-python-and-pre-commit-deps:
if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }}
# if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }} # TODO: revert
nfelt14 marked this conversation as resolved.
Show resolved Hide resolved
needs: determine-dependency-groups
uses: ./.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion actions/create_unique_testpypi_version/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
annotated-types==0.7.0 ; python_version >= "3.12" and python_version < "3.13"
attrs==24.2.0 ; python_version >= "3.12" and python_version < "3.13"
beautifulsoup4==4.12.3 ; python_version >= "3.12" and python_version < "3.13"
certifi==2024.7.4 ; python_version >= "3.12" and python_version < "3.13"
certifi==2024.8.30 ; python_version >= "3.12" and python_version < "3.13"
charset-normalizer==3.3.2 ; python_version >= "3.12" and python_version < "3.13"
idna==3.8 ; python_version >= "3.12" and python_version < "3.13"
mailbits==0.2.1 ; python_version >= "3.12" and python_version < "3.13"
Expand Down
2 changes: 1 addition & 1 deletion actions/update_development_dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
to update within that group, e.g. {"dev": ["pylint", "ruff"], "tests": ["ruff"]}.
Use an empty string, e.g. "", for dependencies located in the default group'
required: false
default: ''
default: '{}'
update-pre-commit:
description: A boolean indicating if the pre-commit hooks should be updated.
required: false
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ python = "~3.12" # This needs to stay in sync with all CI workflows
[tool.poetry.group.create_unique_testpypi_version.dependencies]
poetry-core = "1.9.0"
pypi-simple = "1.5.0"
tomli = "2.0.0"
tomli = "2.0.1"
tomli-w = "1.0.0"

[tool.poetry.group.dev.dependencies]
Expand Down
Loading