Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

72 changes: 42 additions & 30 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,53 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:recommended"
],
"azure-pipelines": {
"description": "Disable azure pipelines manager",
"enabled": false
},
"labels": [
"dependencies"
],
"pip_requirements": {
"fileMatch": [
"^requirements.*\\.txt$"
],
"groupName": "all dependencies",
"groupSlug": "all",
"packageRules": [
{
"groupName": "all dependencies",
"groupSlug": "all",
"matchPackagePatterns": [
"*"
]
}
]
},
"timezone": "Europe/London",
"schedule": [
"* 7-15 * * 1"
],
"minimumReleaseAge": "7 days",
"prCreation": "not-pending",
"prHourlyLimit": 2,
"pre-commit": {
"lockFileMaintenance": {
"enabled": true,
"schedule": [
"after 10am and before 4pm every 3 months on the first day of the month"
],
"stabilityDays": 10
"* 7-15 1 * *"
]
},
"schedule": [
"after 7am and before 4pm every monday"
],
"stabilityDays": 2,
"timezone": "Europe/London"
"packageRules": [
{
"description": "Group all GitHub Actions updates into one PR",
"matchManagers": [
"github-actions"
],
"groupName": "GitHub Actions"
},
{
"description": "sphinx-rtd-theme constrains the sphinx version, so these must move together",
"matchPackageNames": [
"sphinx",
"sphinx-rtd-theme"
],
"groupName": "docs"
},
{
"description": "Group non-major development dependency updates",
"matchManagers": [
"pep621"
],
"matchDepTypes": [
"dependency-groups"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "dev dependencies"
}
]
}
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ jobs:
name: artifact
path: dist

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Set up uv with Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install dist/*.whl -r requirements_dev.txt pytest-md pytest-emoji
uv sync --locked --no-install-project
uv pip install dist/*.whl pytest-md pytest-emoji
- name: Run pytest
uses: pavelzw/pytest-action@510c5e90c360a185039bea56ce8b3e7e51a16507 # v2.2.0
with:
Expand Down
5 changes: 1 addition & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ci:
autoupdate_schedule: quarterly
skip: [uv-lock, uv-export]
skip: [uv-lock]

repos:
# Syntax validation and some basic sanity checks
Expand Down Expand Up @@ -36,6 +36,3 @@ repos:
rev: 0.11.18
hooks:
- id: uv-lock
- id: uv-export
args: [--all-groups, -q, -o, requirements_dev.txt, --no-hashes, --no-emit-project]
files: uv.lock|pyproject.toml|.pre-commit-config.yaml
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ storage = "zocalo.configuration.plugin_storage:Storage"

[tool.uv]
default-groups = ["dev", "docs"]
exclude-newer = "7 days"

[tool.pytest.ini_options]
required_plugins = "pytest-mock requests-mock"
Expand Down
147 changes: 0 additions & 147 deletions requirements_dev.txt

This file was deleted.

Loading
Loading