Skip to content

Commit 8013d1d

Browse files
Bump astroid to 2.11.0, update changelog
Make small changes to release process
1 parent daf4540 commit 8013d1d

File tree

7 files changed

+31
-20
lines changed

7 files changed

+31
-20
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request: ~
99

1010
env:
11-
CACHE_VERSION: 4
11+
CACHE_VERSION: 5
1212
DEFAULT_PYTHON: 3.8
1313
PRE_COMMIT_CACHE: ~/.cache/pre-commit
1414

CONTRIBUTORS.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Maintainers
77
- Claudiu Popa <[email protected]>
88
- Sylvain Thénault <[email protected]>
99
- Pierre Sassoulas <[email protected]>
10-
- hippo91 <[email protected]>
10+
- Hippo91 <[email protected]>
1111
- Marc Mueller <[email protected]>
1212
- Daniël van Noord <[email protected]>
1313
- Bryce Guinta <[email protected]>
@@ -140,6 +140,7 @@ Contributors
140140
- Dmitry Shachnev <[email protected]>
141141
- Denis Laxalde <[email protected]>
142142
- David Poirier <[email protected]>
143+
- Dave Hirschfeld <[email protected]>
143144
- Dave Baum <[email protected]>
144145
- Daniel Martin <[email protected]>
145146
- Daniel Colascione <[email protected]>

ChangeLog

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@
22
astroid's ChangeLog
33
===================
44

5-
What's New in astroid 2.11.0?
5+
What's New in astroid 2.12.0?
6+
=============================
7+
Release date: TBA
8+
9+
10+
11+
What's New in astroid 2.11.1?
612
=============================
713
Release date: TBA
814

15+
16+
17+
What's New in astroid 2.11.0?
18+
=============================
19+
Release date: 2022-03-12
20+
921
* Add new (optional) ``doc_node`` attribute to ``nodes.Module``, ``nodes.ClassDef``,
1022
and ``nodes.FunctionDef``.
1123

@@ -35,11 +47,6 @@ Release date: TBA
3547
* Only pin ``wrapt`` on the major version.
3648

3749

38-
What's New in astroid 2.10.1?
39-
=============================
40-
Release date: TBA
41-
42-
4350
What's New in astroid 2.10.0?
4451
=============================
4552
Release date: 2022-02-27

astroid/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# For details: https://github.com/PyCQA/astroid/blob/main/LICENSE
33
# Copyright (c) https://github.com/PyCQA/astroid/blob/main/CONTRIBUTORS.txt
44

5-
__version__ = "2.10.1-dev0"
5+
__version__ = "2.11.0"
66
version = __version__

doc/release.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,9 @@ the maintenance branch. If so, release a last patch release first. See
1313
- Check the result of `git diff vX.Y-1.Z' ChangeLog`. (For example:
1414
`git diff v2.3.4 ChangeLog`)
1515
- Install the release dependencies: `pip3 install -r requirements_test.txt`
16-
- Bump the version and release by using `tbump X.Y.0 --no-push`. (For example:
17-
`tbump 2.4.0 --no-push`)
18-
- Check the result visually and then by triggering the "release tests" workflow in
19-
GitHub Actions first.
20-
- Push the tag.
21-
- Release the version on GitHub with the same name as the tag and copy and paste the
22-
appropriate changelog in the description. This triggers the PyPI release.
16+
- Bump the version and release by using `tbump X.Y.0 --no-push --no-tag`. (For example:
17+
`tbump 2.4.0 --no-push --no-tag`)
18+
- Check the commit created with `git show` amend the commit if required.
2319
- Move the `main` branch up to a dev version with `tbump`:
2420

2521
```bash
@@ -34,8 +30,15 @@ tbump 2.5.0-dev0 --no-tag --no-push
3430
git commit -am "Upgrade the version to 2.5.0-dev0 following 2.4.0 release"
3531
```
3632

37-
Check the result and then upgrade the main branch
33+
Check the commit and then push to a release branch
3834

35+
- Open a merge request with the two commits (no one can push directly on `main`)
36+
- Trigger the "release tests" workflow in GitHub Actions.
37+
- After the merge, recover the merged commits on `main` and tag the first one (the
38+
version should be `X.Y.Z`) as `vX.Y.Z` (For example: `v2.4.0`)
39+
- Push the tag.
40+
- Release the version on GitHub with the same name as the tag and copy and paste the
41+
appropriate changelog in the description. This triggers the PyPI release.
3942
- Delete the `maintenance/X.Y-1.x` branch. (For example: `maintenance/2.3.x`)
4043
- Create a `maintenance/X.Y.x` (For example: `maintenance/2.4.x` from the `v2.4.0` tag.)
4144

requirements_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ coverage~=5.5
55
pre-commit~=2.17
66
pytest-cov~=3.0
77
tbump~=6.3.2
8-
contributors-txt~=0.5.1
8+
contributors-txt~=0.5.2
99
types-typed-ast; implementation_name=="cpython" and python_version<"3.8"
1010
types-pkg_resources==0.1.3

tbump.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/PyCQA/astroid"
22

33
[version]
4-
current = "2.10.1-dev0"
4+
current = "2.11.0"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.
@@ -30,7 +30,7 @@ cmd = "python3 script/bump_changelog.py {new_version}"
3030

3131
[[before_commit]]
3232
name = "Normalize the contributors-txt configuration"
33-
cmd = "contributors-txt-normalize-confinguration -a script/.contributors_aliases.json -o script/.contributors_aliases.json"
33+
cmd = "contributors-txt-normalize-configuration -a script/.contributors_aliases.json -o script/.contributors_aliases.json"
3434

3535
[[before_commit]]
3636
name = "Upgrade the contributors list"

0 commit comments

Comments
 (0)