Skip to content

Commit

Permalink
Prepare release 23.9.1 (#3878)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Sep 11, 2023
1 parent 62dca32 commit e877371
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
23 changes: 18 additions & 5 deletions CHANGES.md
Expand Up @@ -22,8 +22,6 @@

<!-- Changes to how Black is packaged, such as dependency requirements -->

- Upgrade to mypy 1.5.1 (#3864)

### Parser

<!-- Changes to the parser or to version autodetection -->
Expand All @@ -32,9 +30,6 @@

<!-- Changes that improve Black's performance. -->

- Store raw tuples instead of NamedTuples in Black's cache, improving performance and
decreasing the size of the cache (#3877)

### Output

<!-- Changes to Black's terminal output and error messages -->
Expand All @@ -52,6 +47,24 @@
<!-- Major changes to documentation and policies. Small docs changes
don't need a changelog entry. -->

## 23.9.1

Due to various issues, the previous release (23.9.0) did not include compiled mypyc
wheels, which make Black significantly faster. These issues have now been fixed, and
this release should come with compiled wheels once again.

There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12
wheels in a future release as soon as the mypyc bug is fixed.

### Packaging

- Upgrade to mypy 1.5.1 (#3864)

### Performance

- Store raw tuples instead of NamedTuples in Black's cache, improving performance and
decreasing the size of the cache (#3877)

## 23.9.0

### Preview style
Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/source_version_control.md
Expand Up @@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.0
rev: 23.9.1
hooks:
- id: black
# It is recommended to specify the latest version of Python
Expand All @@ -35,7 +35,7 @@ include Jupyter Notebooks. To use this hook, simply replace the hook's `id: blac
repos:
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.0
rev: 23.9.1
hooks:
- id: black-jupyter
# It is recommended to specify the latest version of Python
Expand Down
6 changes: 3 additions & 3 deletions docs/usage_and_configuration/the_basics.md
Expand Up @@ -193,8 +193,8 @@ configuration file for consistent results across environments.

```console
$ black --version
black, 23.9.0 (compiled: yes)
$ black --required-version 23.9.0 -c "format = 'this'"
black, 23.9.1 (compiled: yes)
$ black --required-version 23.9.1 -c "format = 'this'"
format = "this"
$ black --required-version 31.5b2 -c "still = 'beta?!'"
Oh no! 💥 💔 💥 The required version does not match the running version!
Expand Down Expand Up @@ -285,7 +285,7 @@ You can check the version of _Black_ you have installed using the `--version` fl

```console
$ black --version
black, 23.9.0
black, 23.9.1
```

#### `--config`
Expand Down

0 comments on commit e877371

Please sign in to comment.