Skip to content

Commit

Permalink
Merge pull request #378 from neutrinoceros/rel/6.0.0
Browse files Browse the repository at this point in the history
REL: prepare release 6.0.0
  • Loading branch information
neutrinoceros authored Feb 4, 2025
2 parents 906c0dd + 42ecdb8 commit 6ee5f27
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/check-pre-commit-hooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- 3.10.0
- '3.13'
pre-commit-version:
- 2.21.0
- 3.8.0 # minimal requirement for pre-commit-uv
- latest
downstream:
- idefix-code/idefix
Expand All @@ -54,7 +54,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Run pre-commit hooks
# we use pre-commit-uv to ensure that the workspace configuration is read from
# the root pyproject.toml, so that we run against the dev branch of inifix
# rather than a tagged version from PyPI
run: |
cd downstream
uvx pre-commit@${{ matrix.pre-commit-version }} try-repo ../main \
--all-files --show-diff-on-failure
uvx --with pre-commit-uv \
pre-commit@${{ matrix.pre-commit-version }} try-repo ../main \
--all-files --show-diff-on-failure
3 changes: 2 additions & 1 deletion lib/inifix/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [6.0.0] - 2025-02-04

- API: ``inifix``'s command line interfaces (`inifix-validate`
and `inifix-format`) were removed from the `inifix` package and now exist
Expand All @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
namespace is `inifix`.
- TST: test against oldest versions of dependencies
- TYP: add basedpyright to type checking test matrix
- TST: check pre-commit hooks' stability continuously

## [5.1.3] - 2024-12-17

Expand Down
6 changes: 3 additions & 3 deletions lib/inifix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,14 @@ which can be configured by adding the following snippets to

```yaml
- repo: https://github.com/neutrinoceros/inifix.git
rev: v5.1.3
rev: v6.0.0
hooks:
- id: inifix-validate
```
or
```yaml
- repo: https://github.com/neutrinoceros/inifix.git
rev: v5.1.3
rev: v6.0.0
hooks:
- id: inifix-format
```
Expand All @@ -359,7 +359,7 @@ enable both hooks with no further configuration. Validation and formatting may
nonetheless be decoupled as
```patch
- repo: https://github.com/neutrinoceros/inifix.git
rev: v5.1.3
rev: v6.0.0
hooks:
- id: inifix-validate
- id: inifix-format
Expand Down
2 changes: 1 addition & 1 deletion lib/inifix/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "inifix"
version = "5.1.3"
version = "6.0.0"
description = "An I/O library for Pluto-style ini files."
authors = [
{ name = "C.M.T. Robert" },
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = [
]
requires-python = ">=3.10"
dependencies = [
"inifix==5.1.3",
"inifix==6.0.0",
"typer-slim>=0.15.1",
]

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ee5f27

Please sign in to comment.