Skip to content

Commit

Permalink
Merge pull request #260 from neutrinoceros/rel/5.0.2
Browse files Browse the repository at this point in the history
REL: prepare release 5.0.2
  • Loading branch information
neutrinoceros authored Sep 14, 2024
2 parents b8908b5 + f236a14 commit 4b49159
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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).

## [5.0.2] - 2024-09-14

BUG: fix CPU counting on Linux + Python <=3.12
- this address an edge case where the main process isn't allowed to utilize all CPUs
- the bug cannot be fixed for platforms other than Linux and on Python <3.13
- it is *completely* fixed on Python >=3.13

## [5.0.1] - 2024-08-12

BUG: fix a crash in inifix-format on single-core machines
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,14 @@ following configuration (add to `.pre-commit-config.yaml`)

```yaml
- repo: https://github.com/neutrinoceros/inifix.git
rev: v5.0.1
rev: v5.0.2
hooks:
- id: inifix-validate
```
or
```yaml
- repo: https://github.com/neutrinoceros/inifix.git
rev: v5.0.1
rev: v5.0.2
hooks:
- id: inifix-format
```
Expand All @@ -355,7 +355,7 @@ Note that `inifix-format` also validates data by default, so it is redundant to
utilize both hooks. Validation and formatting may nonetheless be decoupled as
```patch
- repo: https://github.com/neutrinoceros/inifix.git
rev: v5.0.1
rev: v5.0.2
hooks:
- id: inifix-validate
- id: inifix-format
Expand Down
2 changes: 1 addition & 1 deletion 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.0.1"
version = "5.0.2"
description = "An I/O library for Pluto-style ini files."
authors = [
{ name = "C.M.T. Robert" },
Expand Down

0 comments on commit 4b49159

Please sign in to comment.